Page 1 of 1

How to release block emails.

Posted: 09 Apr 2022 10:44
by musabr187
Hi,

Some of my email is being blocked by antivirus. How could I release these emails.

Regards,
Musabr

Re: How to release block emails.

Posted: 11 Apr 2022 09:27
by pdwalker
try: turn off the av software, release the email, verify that it has been released and resent, and then turn the av software back on.

are you sure the email is good? what AV rule does it trigger?

Re: How to release block emails.

Posted: 12 Apr 2022 04:50
by musabr187
It’s happened because of Sophos AV which main body of virus data is out of date and suddenly starting to block legitimate mails, I know Sophos is discontinued but it was working fine along with clamav.
Now I disabled the Sophos AV and need to release the blocked mails. Do you know where Sophos store the blocked mails?

Re: How to release block emails.

Posted: 12 Apr 2022 09:40
by pdwalker
If you can still view the message in the MailScanner web interface, then the original message is still in the system and you should be able to release it.

Re: How to release block emails.

Posted: 12 Apr 2022 10:06
by musabr187
Message body is not shown on web interface.
Sophos AV blocked the mails like virus infected.

Re: How to release block emails.

Posted: 13 Apr 2022 11:38
by freyuh
Hello musabr187,

how many days does Mailscanner keep the quarantined files?
/var/www/html/mailscanner/conf.php: define('QUARANTINE_DAYS_TO_KEEP'

If it's long enough, than the files should be stored in the quarantine directory: /var/spool/MailScanner/quarantine/

Release them described in the following post: viewtopic.php?t=2816
sudo /usr/sbin/sendmail.postfix -t < /var/spool/MailScanner/quarantine/<somedate>/<somefolder>/<somemsgid>


Ulrich.

Re: How to release block emails.

Posted: 17 Apr 2022 05:54
by musabr187
define('QUARANTINE_DAYS_TO_KEEP', 45);
I have checked the quarantine dir but didn’t find these mails.