How do I modify released spam emails

Questions and answers about how to do stuff
Post Reply
datako
Posts: 7
Joined: 14 Nov 2019 19:56

How do I modify released spam emails

Post 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!
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: How do I modify released spam emails

Post 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);
datako
Posts: 7
Joined: 14 Nov 2019 19:56

Re: How do I modify released spam emails

Post 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...!
Post Reply