Hey Robert

I know, amavis is the best antispam machine for SA+Clamv, but I have a little 
box, 256MB or ram and no swap (dont ask why).  There for, because amavis is 
running under perl, it use alot of memory and then I'm having pipe errors.

I've found how to use SA+CLAM+Postfix without Amavis.  However, just for 
informative reasons I'll explain you why I wont use milters.

Because postfix arch. email flux is like this:
-> pre-queue filtering -> postfix filtering (queue) -> post-queue filtering ->

This suggest that all email is got first by pre -queue filtering.  This is not 
useful for heavy-load boxes because if you set this SA as a milter (postfix 
only supports milters in pre-queue) then SA will get 100% of load.

I rather prefer to set it in post-queue (i got using pipe at master.cf) 
because, postfilx filtering (such as helo restriction, fqdn restrictions, 
client restrictions, including rbl - but i'll use this in SA-) could be 
applied first and then SA only will get 60% of all mails.  In many 
installations I've set, I stop much spam using helo-fqdn restriction therefore 
SA and hole machine have a low load.  Postfix basic filtering it is much 
faster and cheaper than SA's.


:-D

On Tuesday 16 December 2008 18:26:09 Robert Schetterer wrote:
> Luis Daniel Lucio Quiroz schrieb:
> > Is there any direct way to make SA and clamav talk thour it clam.socke
> > file?
> >
> > I want to avoid amavis or mailscanner
> >
> > :)
>
> Hi,
> i use clamav-milter and spamass-milter with postfix
> 2.5.5 without any Problems
> this does the urgent jobs af spam and virus filtering
> but amavis has much more functions then this


Reply via email to