1

Topic: Amavisd zip/rar scanning

Hello!

I have installed and got working the following:

iRM 0.9.8
Centos 7
MariaDb
Nginx

How to configure amavisd to scan attachments, especially archives for viruses, or executables like scripts etc.
I've configured postfix to do so, in log i see that it connect to amavis process, but it passes virus attachment anyway to mailbox.

2

Re: Amavisd zip/rar scanning

Ok, found out the issue.

Amavis delivers banned mail to user, even if i set them to be rejected.
Sender gets notification about banned mail, but it is still delivered to mailbox.

# Virus
$final_virus_destiny = D_BOUNCE;
$virus_quarantine_method = 'sql:';
$virus_quarantine_to = 'virus-quarantine';

# Banned
$final_banned_destiny = D_BOUNCE;
$banned_files_quarantine_method = undef;
$banned_quarantine_to = undef;


Virus message is not delivered, banned IS delivered . Why ?:)

3

Re: Amavisd zip/rar scanning

Default spam policy is stored in SQL table "amavisd.policy". Try to tune it there.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

4

Re: Amavisd zip/rar scanning

I have only one record in db:

Policy name is @.