procmail
[Top] [All Lists]

Re: Running user procmailrc

2004-03-23 04:18:55
Hi Alex,

* Alex S Moore <asmoore(_at_)edge(_dot_)net> [23-03-04 07:02]:

If code in the global procmailrc file delivers the mail, in this case to
$DEFAULT, is there any way to get the user's .procmailrc file to run
also.  I need to run the user's procmailrc file for additional
processing.

I'll stand corrected by the more knowledgeable members of this list, but
could you not do something like this in /etc/procmailrc:


# Drop to user .procmailrc if user criteria matched
:0
* <some user unique criteria>
{
       DROPPRIVS=yes
       SWITCHRC=$HOME/.procmailrc
}

i.e don't make the delivery to the user, but bail from the /etc/procmailrc
to the users ~/.procmailrc to allow further processing?

Again, I have only started to play with this myself in the past few days
so I may have missed something (procmail newbie!).

-- 
Regards,

Roland Hill                                  Registered Linux User #330226
http://pl.net/~rnrhill/rhweb.htm                   @ http://counter.li.org

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