How to release messages from quarantine marked with "Other Infection" YES

Questions and answers about how to do stuff
Post Reply
lev
Posts: 7
Joined: 06 Mar 2016 00:36

How to release messages from quarantine marked with "Other Infection" YES

Post by lev » 14 Nov 2017 14:03

Hi,

While trying to allow certain file extensions like xxx.avis.png that is blocked as bad content due to scanner setting, I modified /etc/MailScanner/filename.rules.conf.

Then all messages started to be quarantined, and marked with
Other Infection = Y
Report: MailScanner: Message attempted to kill MailScanner

I removed the modification to filename.rules.conf, and returned back to normal mail flow.

However, There are around 50 email quarantined and I cannot be able to release them by selecting release checkbox and submitting on the quarantine detail page..

My mailscanner.conf settings has following
Quarantine Whole Message = yes
Quarantine Whole Messages As Queue Files = no

As I understand because mesages are not quarantined as Queue Files, I cannot release them.
Is there a way to release there type of messages..

Thanks,

levent

User avatar
shawniverson
Posts: 2432
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: How to release messages from quarantine marked with "Other Infection" YES

Post by shawniverson » 15 Nov 2017 23:35

I have tackled this issue before by feeding the emails to the sendmail script and letting it queue them back into postfix.
Version 3.0.2.5 released! Update now to keep your eFa secure!

lev
Posts: 7
Joined: 06 Mar 2016 00:36

Re: How to release messages from quarantine marked with "Other Infection" YES

Post by lev » 16 Nov 2017 19:19

Thanks for the idea.. (because there are not so many messages), as a workaround I downloaded the quarantined message files via webmin file manager ; renamed to xxx.eml and emailed as an attachment.

User avatar
pdwalker
Posts: 849
Joined: 18 Mar 2015 09:16

Re: How to release messages from quarantine marked with "Other Infection" YES

Post by pdwalker » 18 Nov 2017 14:13

shawniverson wrote:
15 Nov 2017 23:35
I have tackled this issue before by feeding the emails to the sendmail script and letting it queue them back into postfix.
Instructions? This would be a useful thing to know.

User avatar
shawniverson
Posts: 2432
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: How to release messages from quarantine marked with "Other Infection" YES

Post by shawniverson » 18 Nov 2017 14:20

The basic idea is to do this:

Code: Select all

sudo /usr/sbin/sendmail.postfix -t < /var/spool/MailScanner/quarantine/<somedate>/<somefolder>/<somemsgid>
Version 3.0.2.5 released! Update now to keep your eFa secure!

Post Reply