Custom spam score

Julian Field mailscanner at ecs.soton.ac.uk
Thu Mar 27 20:08:37 GMT 2003


At 19:38 27/03/2003, you wrote:
>Hi,
>
>In the /etc/MailScanner/spam.assassin.prefs.conf what do I put to get a
>custom spam score for email
>coming into my server *to* a particular email address, what I want is that
>any email coming to this
>address is deleted.

Read "man Mail::SpamAssassin::Conf". From the start of that:

header FROM_HAS_MIXED_NUMS      From =~ /\d+[a-z]+\d+\S*@/i
describe FROM_HAS_MIXED_NUMS    From: contains numbers mixed in with letters
score A_HREF_TO_REMOVE          2.0

so you could have something like
header TO_DELETE        To =~ /email at address\.com/i
describe TO_DELETE      To: contains dead email address
score TO_DELETE 100.0

then make the "High Scoring Spam Actions" delete for this address.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list