procmail
[Top] [All Lists]

Re: reading varibles from file

2005-05-12 13:20:35
At 19:59 2005-05-11 +0200, Gerardo Herzig wrote:
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:"

in /etc/procmailrc :

INCLUDERC=/etc/sysconfig/procmail.config

This would cause the file to be loaded for all users, except those manually invoking procmail as a filter (rather than as an LDA). You could still perform the INCLUDERC= within a regular rcfile if you wanted.


You might consider just putting the procmail.config in the /etc/procmailrcs/ dir, since that's a directory already associated with procmail - no, it won't auto-load from there, but it'll keep your procmail related stuff in a procmail related place.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


____________________________________________________________
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>