How to release block emails.

Questions and answers about how to do stuff
Post Reply
musabr187
Posts: 20
Joined: 24 Sep 2018 06:02

How to release block emails.

Post by musabr187 »

Hi,

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

Regards,
Musabr
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: How to release block emails.

Post 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?
musabr187
Posts: 20
Joined: 24 Sep 2018 06:02

Re: How to release block emails.

Post 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?
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: How to release block emails.

Post 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.
musabr187
Posts: 20
Joined: 24 Sep 2018 06:02

Re: How to release block emails.

Post by musabr187 »

Message body is not shown on web interface.
Sophos AV blocked the mails like virus infected.
freyuh
Posts: 62
Joined: 04 Oct 2018 11:21

Re: How to release block emails.

Post 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.
musabr187
Posts: 20
Joined: 24 Sep 2018 06:02

Re: How to release block emails.

Post by musabr187 »

define('QUARANTINE_DAYS_TO_KEEP', 45);
I have checked the quarantine dir but didn’t find these mails.
Attachments
Sophos AV Error.JPG
Sophos AV Error.JPG (57.71 KiB) Viewed 1046 times
Post Reply