procmail
[Top] [All Lists]

Re: Procmail isn't matching when it should (Redhat 8.0)

2002-12-11 16:24:26
On Thu, 12 Dec 2002, Ruud H.G. van Tol wrote:

Graham Freeman skribis:

 :0:
 * ^TO_openldap-software(_at_)OpenLDAP\(_dot_)org
 mail/openldap-software

[...]

procmail: No match on

"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):
(.*[^-a-zA-Z0-9_.])?)openldap-software(_at_)OpenLDAP\(_dot_)org"


AFAIK you did not show any headers that would match. Please show a relevant
portion of the headers, like From:, To:, Cc:

Ruud,

Thanks for your response.

I think there was a matching header.  The following line (quoted verbatim)  
was in the headers of the message in question:


[...begin quote...]
Cc: "'openLDAP'"  <openldap-software(_at_)OpenLDAP(_dot_)org>
[...end quote...]


Here's another example.  I sent myself a message which was sure to 
trigger SpamAssassin, and indeed it did.  When SpamAssassin decides that 
a message is spam, it (by default) adds the "X-Spam-Flag: YES" header to 
the message, as it did in this case.  Here's a sampling of the headers 
from my artificial spam:


[...begin partial quote...]
Date: Wed, 11 Dec 2002 15:09:37 -0800 (PST)
Subject: [LIKELY SPAM] MAKE MONEY FAST!!!!!!!!!!             3984394
From: "Graham Freeman" <graham(_at_)farwestern(_dot_)com>
To: <graham(_at_)farwestern(_dot_)com>
X-Spam-Flag: YES
[...end partial quote...]


And here's a partial quote from the corresponding procmail log:


[...begin partial quote...]
From graham(_at_)farwestern(_dot_)com  Wed Dec 11 15:09:40 2002
 Subject: MAKE MONEY FAST!!!!!!!!!!             3984394
procmail: Executing "/usr/bin/spamassassin"
procmail: [28734] Wed Dec 11 15:09:41 2002
procmail: No match on "^X-Spam-Flag.*YES"
  Folder: /var/spool/mail/graham
[...end partial quote...]


-- 
Graham Freeman
Manager of Information Technology
Far Western Anthropological Research Group, Inc.
+1 530 756 3941 ext 111
graham(_at_)farwestern(_dot_)com


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