You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jason Gauthier <jg...@lastar.com> on 2005/01/01 00:15:28 UTC

RE: Training SA with postfix

Yup, I'm well aware that amavisd-new doesn't allow SA to change the
header.  I am mostly looking to detect certain info in the header and
score from it. 

-----Original Message-----
From: Sam Nilsson [mailto:sam@servingpeace.com] 
Sent: Friday, December 31, 2004 5:47 PM
To: users@spamassassin.apache.org
Cc: Jason Gauthier
Subject: Re: Training SA with postfix

Jason Gauthier wrote:
> Thanks for the tip.  Due to my "newbie-ness" with these products I'm a

> little uncertain were to start.  Amavis seems to build many rules, and

> interface with SA where it actually has options in it.

Read the docs at the amavisd-new site here:
   -- http://www.ijs.si/software/amavisd/

Amavis runs SA, but does not allow SA to rewrite the message. Amavis
does the rewriting, quarantining, and ultimate scoring.

SA still looks to its own config file (typically named local.cf) to run
and score all of its tests, it just doesn't get to rewrite the original
message.

More info here:
   -- http://www.ijs.si/software/amavisd/


> Would I build this rule within amavis or SA?

All SA rules go in SA config (ok, this may be too absolute, I just can't
think of any at the moment ;-).

There are many ways to train this anti-spam software stack
(amavis/sa/razor/pyzor/bayes/etc.). Amavisd can soft-blacklist,
blacklist, and soft-whitelist based on *envelope senders*, while SA's
black and whitelists work on message headers. SA also has the trainable
bayes engine. It all depends on what kind of features, performance,
flexibility, accuracy, etc. etc. etc. that you need.

- Sam Nilsson