I am still having trouble detecting no "From:" header. I just got an
email with the following headers:
Return-path: <rodriquez(_at_)yahoo(_dot_)com>
Received: from localhost (host139-255.pool81113.interbusiness.it
[81.113.255.139]) by prospera.dns20.com (8.11.6/8.11.6) with SMTP id
j6QFkeK11862 for <lloyd(_at_)costa-rica-natural(_dot_)com>; Tue, 26 Jul 2005
10:46:41
-0500
Date: Tue, 26 Jul 2005 09:50:12 -0600
To: lloyd(_at_)costa-rica-natural(_dot_)com
Message-ID: <002b01c54b50$10e49590$de01a8c0(_at_)mmwedw>
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Content-Type: text/html
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on
prospera.dns20.com
X-Spam-Status: No, hits=7.5 required=99.0 tests=FORGED_OUTLOOK_TAGS,
FORGED_YAHOO_RCVD,HTML_40_50,HTML_MESSAGE,MIME_HTML_NO_CHARSET,
MIME_HTML_ONLY,MSGID_OUTLOOK_INVALID,NO_REAL_NAME autolearn=no
version=2.63
X-Spam-Level: *******
Subject: 2+ spams in 30 seconds: All love enhancers on one portal!
(I require level 8 from SpamAssassin to discard the message.) There is no
"From:" header to be seen. The recipe to detect no "From:" is:
WSP = ' ' # 2 characters: space & tab
OR = '9876543210^0'
:0
* ! WL ?? ^^yes^^
*$ $OR ! ^From:
*$ $OR ^From:[$WSP]*$
*$ $OR ^From:.*<>
{
WL = 'yes'
:0 fhw
| formail -I"Cc: (no from) ${CC_}"
}
Here is my procmail log regarding this message:
procmail: [11868] Tue Jul 26 10:46:41 2005
procmail: Assigning "WSP= "
procmail: Assigning "OR=9876543210^0"
procmail: Match on ! "^^yes^^"
procmail: Score: 0 0 ! "^From:"
procmail: Score: 0 0 "^From:[ ]*$"
procmail: Score: 0 0 "^From:.*<>"
The message should match on the first condition line! Instead the missing
from is not detected.
Does anyone have any idea why?
--
Regards,
Lloyd
(1st email to me should contain "Standish" in message subject or body.)
____________________________________________________________
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