Page 1 of 1

How do I modify released spam emails

Posted: 14 Nov 2019 19:59
by datako
My users get a "Message released from quarantine" from a "no-reply@<domain>" when I release them emails... This started happening on EFA 4. It attaches the original email as well and users often just delete it fearing it's spam (and I'm glad they do!)

Is there a way to modify this message or disable this feature? Users are assuming it's spam and just deleting it.

I tried searching the forum for answers and failing miserably.

Thank you very much in advance!

Re: How do I modify released spam emails

Posted: 15 Nov 2019 05:50
by shawniverson
Yes, you can. This behavior changed in eFa4 because many environments (Exchange) don't accept duplicate messages with the same id. A duplicate violates RFC5322 as the msg-id is not globally unique for the released message.

To override this behavior:

/var/www/html/mailscanner/conf.php

Code: Select all

define('QUARANTINE_USE_SENDMAIL', true);

Re: How do I modify released spam emails

Posted: 15 Nov 2019 05:52
by shawniverson

Re: How do I modify released spam emails

Posted: 15 Nov 2019 14:29
by datako
shawniverson wrote: 15 Nov 2019 05:50 Yes, you can. This behavior changed in eFa4 because many environments (Exchange) don't accept duplicate messages with the same id. A duplicate violates RFC5322 as the msg-id is not globally unique for the released message.

To override this behavior:

/var/www/html/mailscanner/conf.php

Code: Select all

define('QUARANTINE_USE_SENDMAIL', true);
Awesome. Thanks very much Shawn!

In that case... I would prefer to stick with the right way of doing it.

Is there any possible way for me to change the email though? The regards, postmaster at the end definitely had my users suspicious

----------------

Nvm found it! Same file in the same place...!