Joe Jobbed, etc.

Kevin Miller Kevin_Miller at CI.JUNEAU.AK.US
Thu Dec 22 19:21:29 GMT 2005

Kevin Miller wrote:
> Question is, would the example I gave work, and if not, what would?

OK, a quick followup to my own message, hoping that it will be of
benefit to others down the line.

I implemented the following in spam.blacklist.rules:

  To:	spam_target[a-z][a-z][a-z][a-z]	yes

and it does indeed work.  Mail to spam_target at ... gets through, mail to
the altered, almost valid address is blacklisted and dumped in the
MailWatch quarantine directory.  Not elegant perhaps, but it'll tarpit
the spam between now and when I can get milter-ahead set up.

One thing I noticed however, is that a /etc/init.d/MailScanner reload
didn't reread the rules - apparently just the .conf file so I had to do
a restart.  No biggie really, but I'll throw it out as a feature request

Another feature that would be handy, at least in this case, would be a
high scoring blacklist where instead of tagging the mail as spam, it
tags it as high scoring spam.  Don't know how many others would make use
of that but it might be something others could use.  Perhaps rather than
a separate file, it would be possible to just add a fourth column in the
existing file:

To/From	target	'spam y/n'	'HS spam y/n'

Once again, thanks much Julian, for making MailScanner so incredibly

Kevin Miller                Registered Linux User No: 307357
CBJ MIS Dept.               Network Systems Admin., Mail Admin.
155 South Seward Street     ph: (907) 586-0242
Juneau, Alaska 99801        fax: (907 586-4500

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list