At 12:46 AM 3/9/2006, lartc wrote:
hi all,
a slightly off-track question:
my upstream smtp provider is already running an anti-spam
solution and i
therefore have messages coming in with a subject *** SPAM
*** preceding
the original subject, and the provider leaves me no
solution to stop it.
i'd like to re-write the subject, eliminating the "***
SPAM ****" before
amavis has a look at it and before it trains bayes --
bayes (i think)
would start to notice that spam mails have a subject that
is easy to
spot.
Yes, bayes would learn to trigger on the *** SPAM *** tag.
One workaround is to use
bayes_ignore_header Subject
in your spamassassin local.cf
Or you could use postfix header_checks REPLACE action with
something like:
/^Subject: \*\*\* SPAM \*\*\* (.*)/ REPLACE Subject: $1
--
Noel Jones
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/