Quarantine AND pass through?

Nikolaos Milas nmilas at noa.gr
Thu Dec 13 08:59:44 CET 2012

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.

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?

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" ;

Can I continue using the above, or I should switch to *_quarantine_to 


More information about the amavis-users mailing list