Blacklist by subject

Julian Field MailScanner at
Wed May 7 18:33:38 IST 2008

King, Blaze wrote:
> I think this ability was added in a recent release, but now I can't find
> it in the changelogs...  I need to blacklist by subject.  I'm running
> MailScanner 4.67.3.  Is that function added in one of the newer
> versions?
You can do this with a SpamAssassin rule to detect the subject keywords 
you're looking for, and then use the "SpamAssassin Rule Actions" setting 
in MailScanner.conf to make those rules cause the "delete" or 
"not-deliver" action.

Hopefully that's enough to get you started!


Julian Field MEng CITP CEng
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key:

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list