procmail
[Top] [All Lists]

Re: Using ^TO or ^TO_ in recipies

2003-09-09 11:20:30

4.  When it is better to use the /etc/procmailrcs/some-recipe.rc
    file location?

There I can't help you, so let's wait for someone else to step forward.

Believing /etc/procmailrcs/ to be an extension of /etc/procmailrc seems to
be a common misconception.

Files in /etc/procmailrcs/ are NOT read automatically.  They're meant to
be used as the rcfile argument to "procmail -m":

                                         ...  If the rcfile is an
            absolute path starting with /etc/procmailrcs/ without
            backward references (i.e. the parent directory cannot
            be mentioned) procmail will, only if no security vio-
            lations  are found, take on the identity of the owner
            of the rcfile (or symbolic link).

So "whit it is better" is, for example, when there is an explicit sendmail
rule to invoke "procmail -m /etc/procmailrcs/some-recipe.rc", which never
happens in an unmodified procmail-as-LDA sendmail configuration.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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