Per domain High Scoring Spam Score

Julian Field MailScanner at
Thu Aug 6 09:27:44 IST 2009

Read all about "rulesets" in /etc/MailScanner/rules/* and in the book, 
for starters.
It's very easy, you'll soon figure it out.

As an example for your case below, in MailScanner.conf set
Required SpamAssassin Score = %rules-dir%/

And then in /etc/MailScanner/rules/ set
To: *    6
To: *    7

Then just do a "service MailScanner reload" and you're away.

You can do a lot more than just "*" in the "address pattern". 
See the docs and examples in /etc/MailScanner/rules/*.


On 06/08/2009 08:41, Zaeem Arshad wrote:
> Hi,
> My inbound mail server relays for a couple of domains and I'd like to 
> have individual score settings for each domain. So, domain 
> <> may have a required score of 6 but 
> <> would have a required score of 7. Is that possible, 
> implemented or outright stupid?
> Regards
> --
> Zaeem


Julian Field MEng CITP CEng
Buy the MailScanner book at

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at and

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