David Somers wrote:
> On Wednesday 18 January 2006 09:19, Grzegorz Janoszka wrote:
> > Wouldn't it be better for you to use spamassassin not directly but
> > through amavisd? I have courier with amavis which filters mail with
> > clamav and spamassassin and it runs fine.
> 
> As the saying goes TMTOOTDI :-) (Which is both a blessing and a
> curse!) 
> 
> Potentially stupid question: Is there any advantge in putting mail
> through amavid (which then puts it through clamav and spamassassing)
> than that just invoking both directly from maildroprc?

Advantages:
    Amavis can reject messages during the SMTP session for virus or spam
    content.

Disadvantages:
    Courier filters cannot modify the message, so you can not add spam
    headers to the message.
    Amavis cannot do per-user Bayes, AWL, etc.  Everything is site-wide.

What I do is use Amavis to call ClamAV so I can reject viruses at the
front door.  Then I call spamc from maildrop to add spam headers to the
messages.  Another approach is to let amavis do spam scanning as well.
This way you can reject high-scoring spam on the first pass (via amavis)
and then add markup to the rest on the second SA pass (via
maildrop/spamc).  Of course, this takes more CPU and RAM as each message
passes through SA twice.

-- 
Bowie


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to