procmail
[Top] [All Lists]

reading varibles from file

2005-05-12 12:58:01
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

or something like that...in this scenario, i cant get the varibles from that file in /etc/sysconfig...That will help a lot because im setting much of my "default behaviuor" this way, im trying to let the users's .rc as little as i can, so if a going to change some value, i just have to change my /etc/sysconfig/procmail.config file!

Any help will be extremly appreciated :)

Thanks in advance

Gerardo

____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>