1

Topic: Amavis and not quarantine spam mails.

==== Required information ====
- iRedMail version (check /etc/iredmail-release):      v0.9.6
- Linux/BSD distribution name and version: Debian 8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Ngingx
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====

Hi,
i have problem with amavis and iredadmin-pro. I want to turn off quarantine (not moving spam to Junk) per domain, per user.

In amavis i have:
$final_virus_destiny      = D_DISCARD;
$final_banned_destiny     = D_PASS;
$final_spam_destiny       = D_PASS;
$final_bad_header_destiny = D_PASS;

In iredadmin-pro i have switch off quarantine spam for global policy but amavis still is tagging mail as spam and moving it to Junk folder? Howto to make it working through iredadmin panel? If i disable spam checking on iredadmin panel then it's not quarantine mail but i want to check spams and add [SPAM] tag to subject but not move to Junk.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Amavis and not quarantine spam mails.

OK, i've got it. Messages was moving to Junk folder because of dovecot sieve_before directive. So amavis was innocent. Now everything works fine.