[PLUG] Procmail and Spam
Sandy Herring
sandy at herring.org
Thu Oct 16 15:22:01 UTC 2003
Here's what I do...
## Call SpamAssassin
:0fw: spamassassin.lock
* < 256000
| spamassassin -a
# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped. This will re-add it.
:0
* ^^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw
| sed -e '1s/^/F/'
}
## Flagged as SPAM by spamassassin?
:0:
* ^X-Spam-Status: Yes
spam
Alter to taste for system-wideness.
hth,
Sandy
--
Sandy Herring, RHCE o sandy at herring.org
Peck of Pickled Pisces __ o http://herring.org/
UNIX or Web authoring questions? |\/ o\ o http://herring.org/finger.html
->http://herring.org/techie.html |/\__/ http://herring.org/pub-key.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20031016/d650838a/attachment.asc>
More information about the PLUG
mailing list