...
A few people convert "all-or-nothing" SpamAssassin rules (most people mark these by giving them a score of "1000100") to procmail rules, to help reduce CPU time.
...
In the example
http://spamassassin.org/dist/procmailrc.example
I don't understand the condition in the stanza starting with
No Format |
---|
# Work around procmail bug: any output on stderr will cause the "F" in "From" # to be dropped. This will re-add it. :0 * ^^rom[ ] |
. Shouldn't there be only a single The double-caret (^) there to find the beginning-of-line ?
– DavidCary No – check the man page for procmailrc.^^
) anchors the expression at the very start of the search area (it's a procmail extension to the egrep syntax). The very beginning of the envelope *should* start with "From" followed by a space (later in the email there's often another "From" followed by a colon).
Once everyone has installed the 3.23pre version of procmail (or an even more recent version), we should no longer need the work-around: http://q.queso.com/archives/000927
(Thanks Martin ! – DavidCary)