Multiple MailScanner instances (DEBIAN)

John Wilcock john at tradoc.fr
Mon Nov 2 09:29:37 GMT 2009


Le 02/11/2009 10:01, Markus Nilsson a écrit :
> If you say bayes is not an issue, the possibility to have different scoring
> in spamassassin for different domains is not possible, right?
> This might however be just a tiny issue that if needed could be solved with
> VM's.

Rather than multiple instances or VMs just for that, you could always 
get round the problem with meta-rules in spamassassin that simply adjust 
scores depending on the domain. Probably safest to do this by turning on 
"Add Envelope To Header = yes" then testing that header:

header __EXAMPLE_COM    X-orgname-MailScanner-To =~ /\@example\.com/i
meta   WANTS_DIET_DRUGS __EXAMPLE_COM && (DRUGS_DIET || DRUGS_DIET_OBFU)
score  WANTS_DIET_DRUGS -2.0

John.

-- 
-- Over 4000 webcams from ski resorts around the world - www.snoweye.com
-- Translate your technical documents and web pages    - www.tradoc.fr


More information about the MailScanner mailing list