1

Topic: Discard spam directly not working

EE v 1.4.0
Ubuntu
MariaDB

When I set a user to "Discard spam directly" they continue to receive the periodic email about their quarantine and it is still collecting spam.

In looking at the original schema when a user is created:
github.com/iredmail/iRedMail/blob/master/samples/amavisd/default_spam_policy.sql

I noticed that all the *_quarantine_to fields are initialized to an empty string. But when the UI alters the settings for "Enable spam checking" the *_quarantine_to field is set to NULL. Is it possible that amavisd is expecting the empty string and seeing the NULL is causing the problem?

I have set some test accounts to the empty string in amavisd.policy table directly but will need to wait a day to see if that works.

----

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

2

Re: Discard spam directly not working

I have confirmed that going into the avamisd.policy table and changing NULL to '' (empty string) causes the daily quarantine emails to stop as desired. Just need to fix the UI so it does not insert the NULLs.