procmail
[Top] [All Lists]

Re: Under zealous subject & to filter

2001-06-26 14:12:36
On Tue, Jun 26, 2001 at 12:27:27PM -0700, Cyndi Norman wrote:
:0:
* ^TO(CO-CURE(_at_)LISTSERV(_dot_)NODAK(_dot_)EDU)
$HOME/Mail/posts/medical

Why is the address in parens?

:0:
* ^SUBJECT(.*MedPulse|\
        .*CO-CURE|\
        .*CFS-Owners)
$HOME/Mail/posts/medical

That should probably be

* ^Subject:.*(MedPulse|CO-CURE|CFS-Owners)

"SUBJECT" is not a procmail macro; Only TO, TO_, FROM_DAEMON and FROM_MAILER.

Here's the header from the email it ignored (ended up in my default
mailbox):
<snipped>
Here's the header from an email the filter(s) worked perfectly on:

What does your log say?

I run Spambouncer but it did not add any headers to the failed message so
it was not a factor (it always adds a header when it comes into play with
an email).

Spambouncer, if properly configured, will add at least two headers to ALL
messages that get that far: "X-SpamBouncer: Version (Date)" and "X-SBClass:
String" where "String" will normally be "OK" for messages that passed the
bouncer. If you're not getting these headers, than something in your
.procmailrc is catching these messages before spambouncer is invoked.
A look at your procmail log file would probably be most informative.
_______________________________________________
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>