how do i get amavis to send virus mails to mailaccount?

Mark Martinec Mark.Martinec+amavis at ijs.si
Fri Apr 15 02:11:31 CEST 2011


Marko,

> i use amavisd-new on a linux server as content filter with postfix.
> at moment virusmails are discarded. with $virus_admin = mail at domain.net 
> a message goes to the admin that virus mail was not delivered and 
> discarded.
>
> how can i tell amavis to send this suspicious mail to an mailaccount?
> is that possbile?

On Friday April 8 2011 23:04:36 Steve wrote:
> $virus_quarantine_to = 'virus-quarantine at example.com';

Depends what you have in mind. Steve's suggestion sends
mail being quarantined to a dedicated mailbox.

If instead of a single central mailbox serving as a global quarantine
you'd prefer messages being delivered to each recipient or to a
per-subdomain main address, you'd choose some form of tagging
(like adding an address extension, of filtering on an X-Amavis-Alert
header field), and let infected mail be delivered:
  $final_virus_destiny = D_PASS;


Mark


More information about the amavis-users mailing list