procmail
[Top] [All Lists]

Re: help with receipe

2003-08-08 00:36:13
On Thursday, Aug 7, 2003, at 15:46 Canada/Mountain, Chris Barnes wrote:
LuKreme (List User Kreme) <kremels(_at_)kreme(_dot_)com> wrote:
Simple, get for X-Spam-Status BEFORE you pipe your message through SA
on your local box.

Not possible - it (SpamAssassin) is being called by the system
/etc/procmailrc using spamc/spamd for everyone on the system.  Meaning
it's already in there before the ~/.procmailrc file can handle it.

Bad form.  you should do something like this in /etc/procmailrc:

# Test if the user has a .procmailrc file, if they do
# assume they are handling their own spamc calls

:0fw
* ! ? test -f $HOME/.procmailrc
| /usr/local/bin/spamc

so the system only calls SA for users who want it called, and those with real .procmail rcs can do waht you are tyring to do.

--
"I don't care how much melanin you have in your skin nor who you sleep with, you can't have my cheese."


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