1 (edited by maslokm 2019-10-13 03:23:20)

Topic: 'spam_quarantine_to' empty in policy table, quarantine not working

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? no
- 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? no
====

Hi. I'm trying to enable mysql quarantine without success. I followed instruction from https://docs.iredmail.org/quarantining.html. I set:
UPDATE policy set spam_lover='N', bypass_spam_checks='N' WHERE policy_name='@.';
But messages are not quarantined in database. I found that 'spam_quarantine_to' is empty. Should it also be set in database to enable quarantining? I have it enabled in amavisd.conf (spam_quarantine_to="spam-quarantine"), but as I know Amavis checks policy settings from mysql, not from file, so it should be set in database? If yes, please also update iredmail docs.

----

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

2

Re: 'spam_quarantine_to' empty in policy table, quarantine not working

I tested it. spam_quarantine_to should be set to "spam-quarantine" in mysql database. Without it quarantine does not work.