Commits

Zhang Huangbin  committed d7fe2f1

Don't quarantine spam/banned mails on local file system in Amavisd since they're marked as D_PASS by default.

  • Participants
  • Parent commits 1cff1f4

Comments (0)

Files changed (1)

File iRedMail/functions/amavisd.sh

 #\$spam_quarantine_to = 'spam-quarantine';
 
 # Quarantine method. How to store mail body.
-#   - 'local:spam-%i-%m', store mail on local file system.
-#   - 'sql:', store mail body in MySQL. 
+#   - 'local:spam-%i-%m', quarantine mail on local file system.
+#   - 'sql:', quarantine mail in SQL server specified in @storage_sql_dsn. 
+#   - undef, do not quarantine mail.
 #\$spam_quarantine_method = 'sql:';
+\$spam_quarantine_method = undef;
 
 #########################
 # Quarantine VIRUS mails.
 #########################
 # Quarantine BANNED mails.
 #
+\$banned_files_quarantine_method = undef;
+# Or quarantine banned mail to SQL server.
 #\$banned_files_quarantine_method = 'sql:';
 #\$banned_quarantine_to = 'banned-quarantine';