Quarantine AND pass through?

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Thu Dec 13 09:04:52 CET 2012


* Nikolaos Milas <nmilas at noa.gr>:
> On 11/12/2012 1:56 μμ, Ralf Hildebrandt wrote:
> 
> >* Nikolaos Milas <nmilas at noa.gr>:
> >
> >>Being in the final test stage of a (border) gateway mail server using
> >>postfix/amavis/clamav/spamassassin on CentOS 6.3, I wonder whether we
> >>can configure Amavisd-new to quarantine suspected mail (based on
> >>defined rules) BUT to pass it through too.
> >Use:
> >$final_virus_destiny      = D_REJECT;
> >$final_banned_destiny     = D_REJECT;
> >$final_spam_destiny       = D_REJECT;
> >
> >and
> >
> >$virus_quarantine_to = 'quarantine at backup.invalid';
> >$spam_quarantine_to = 'quarantine at backup.invalid';
> >
> 
> Thanks Ralf,
> 
> I'll try it. Current setting is D_DISCARD.

That's also OK.
 
> So, changing to D_REJECT should allow us to quarantine spam/virus
> mail and at the same time deliver it (I would call it "non-blocking"
> filtering). Right?

No.
The virus_quarantine_to and spam_quarantine_to enable the quarantine,
no matter what  the final_*_destiny is

> I am using:
> $virus_quarantine_method = "local:virus/%n-%m" ;
> $spam_quarantine_method = "local:spam/%n-%m" ;
> $banned_files_quarantine_method = "local:banned/%n-%m" ;

That's ok.
 
> Can I continue using the above, or I should switch to *_quarantine_to
> settings?

I wonder if *_quarantine_to is also needed... 

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt at charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155


More information about the amavis-users mailing list