Per domain High Scoring Spam Score

Julian Field MailScanner at ecs.soton.ac.uk
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%/required.sa.score.rules

And then in /etc/MailScanner/rules/required.sa.score.rules set
To: *@xyz.com    6
To: *@abc.com    7

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

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

Jules.

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 xyz.com 
> <http://xyz.com> may have a required score of 6 but abc.com 
> <http://abc.com> would have a required score of 7. Is that possible, 
> implemented or outright stupid?
>
>
> Regards
>
> --
> Zaeem

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

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 twitter.com/JulesFM and twitter.com/MailScanner


-- 
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