Chris Barnes wrote:
This should be a simple thing, but the multi line header has me baffled.
My .procmailrc script already takes the messages that SpamAssassin
identifies as spam and dumps them into a folder.
However, I want to first figure out which messages scored high enough
such that SA ran it's autolearn routine. This appears in the header of
such messages:
X-Spam-Status: Yes, hits=17.5 required=5.0 tests=BAYES_99,BIZ_TLD,
DATE_IN_PAST_96_XX,HTML_70_80,HTML_MESSAGE,HTML_TITLE_UNTITLED,
MIME_BASE64_TEXT,MIME_HTML_NO_CHARSET,MIME_HTML_ONLY,ONLINE_PHARMACY,
RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DSBL,RCVD_IN_SORBS,RCVD_IN_SORBS_HTTP,
RCVD_IN_SORBS_MISC autolearn=spam version=2.60
Note the "autolearn=spam" in the last line. That's what I want to
identify. If it's there, I have no need to save the message and can let
procmail dump it straight to /dev/null.
* ^X-Spam-Status: Yes,.*autolearn=spam
should catch this
--
Klaus Johannes Rusch
KlausRusch(_at_)atmedia(_dot_)net
http://www.atmedia.net/KlausRusch/
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail