how to pass infected attachment

Noel Jones via amavis-users amavis-users at amavis.org
Thu Jan 23 22:22:01 CET 2014


On 1/23/2014 2:01 PM, Володя К. via amavis-users wrote:
> Hi,
> I have installed amavisd-new + clamd on centos6.
> I just want to scan emails for viruses but I don't want block any emails (even with viruses), so i changed config:
> 
> $final_virus_destiny = D_PASS;
> $final_banned_destiny = D_PASS;
> $final_spam_destiny = D_PASS;
> $final_bad_header_destiny = D_PASS;
> 
> I just want to mark infected letters in the subject field. Amavisd do it by default.
> 
> But i have a problem: when i send letter infected with attachments (eicar.com.txt test file) amavisd drop this attachment. Letter is delivered to the recipient with modified subject ( INFECTED ...) but without attachment. If attachment is not infected it's delivered fine.
> So, the question is, "How to configure amavisd that it would not block the infected messages and attachments" ?
> 


amavisd-new does not drop attachments (unless you've installed and
enabled/configured the optional altermime module).

Most likely something else is dropping the attachment after amavisd
sees it. Commonly desktop antivirus or a firewall is the culprit.



  -- Noel Jones


More information about the amavis-users mailing list