Gerardo Herzig:
Hi all. I want to read some "enviroment" variables via some config
file, so later i can use them in one .rc file. Im posting some
"pseudo .rc to make my point clear:"
--contents off /etc/sysconfig/procmail.config--
MSG_LIMIT=50000
MAILBOX_LIMIT=500000
--contents off limits.rc
SHELL=/bin/sh
:0
`. /etc/sysconfig/procmail.config`
* > $MSG_LIMIT
/dev/null
You are looking for INCLUDERC,
read about it in `man procmailrc`.
path/procmail.config.rc
-----------------------
MSG_LIMIT = '50000'
MAILBOX_LIMIT = '500000'
limits.rc
---------
SHELL = '/bin/sh'
INCLUDERC = 'path/procmail.config.rc'
:0
* $ > ${MSG_LIMIT}
{
LOG = "
!!!!!!!!!!!!!!!!!
max. ${MSG_LIMIT}
!!!!!!!!!!!!!!!!!
"
EXITCODE = '77' # permission denied
HOST
}
--
Grtz, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail