Topic: Spam policy, disabling virus check doesn't work
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.0
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
we are trying to disable virus checking for one specific email address, but it doesn't work.
Amavisd has the right configuration:
./amavisd.conf:925:@storage_sql_dsn = (['DBI:mysql:database=amavisd;host=127.0.0.1;port=3306', 'amavisd', 'pass']);
./amavisd.conf:928:@lookup_sql_dsn = @storage_sql_dsn;
I unchecked "Enable virus checking" and "Quarantine virus" in iRedAdmin-Pro for that specific email account.
The Global Spam Policy are:
Spam checking
Enable spam checking -> checked
Quarantine spam -> not checked
Virus checking
Enable virus checking -> checked
Quarantine virus -> checked
Bad-header checking
Enable bad-header checking -> checked
Quarantine bad-header email -> not checked
Banned file type checking
Enable banned file type checking -> checked
Quarantine email which contains banned file types -> checked
MySQL row in amavisd.policy for global and specific email address
1, @., N, Y, , N, Y, N, N, N, N, virus-quarantine, spam-quarantine, banned-quarantine, , , , , -100, 5, 5, 6.9, , , , , , , , , , , , , , , , [SPAM] , [SPAM] , , , , , ,
3, acc@domain.net, Y, N, , N, Y, Y, N, N, N, , , banned-quarantine, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Is this a bug or some sort of configuration issue?
Thank you very much for your help!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.