procmail
[Top] [All Lists]

Re: Spamassassin in .procmailrc

2009-07-01 17:04:46
At 17:33 2009-07-01 +0200, Fabrice DELENTE wrote:
I have this .procmailrc:
--------------------------------------------------------------------------
SENDMAIL=/usr/local/bin/msmtp
VERBOSE=yes

VERBOSE is generally pretty useless unless you have a LOGFILE set

Any chance that say, SA isn't being invoked because it isn't in your path? Or messages aren't being forwarded because the value you're setting SENDMAIL to might not be correct?


Besides the other reply pointing out that your Subject: recipe should have locking, and should have a beginning of line anchor, there's another bit that's probably wrong -- the bracketing of letters amounts to a character class - L or C or S. A lot of subject lines probably contain one of those characters (note also, procmail regexps are by defaullt case insensitive), and thus the inverted subject condition won't match.

For the condition line, try:

* ^Subject:.*\[LCS\]

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