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
How to release messages from quarantine marked with "Other Infection" YES
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: How to release messages from quarantine marked with "Other Infection" YES
I have tackled this issue before by feeding the emails to the sendmail script and letting it queue them back into postfix.
Re: How to release messages from quarantine marked with "Other Infection" YES
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.
Re: How to release messages from quarantine marked with "Other Infection" YES
Instructions? This would be a useful thing to know.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.
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: How to release messages from quarantine marked with "Other Infection" YES
The basic idea is to do this:
Code: Select all
sudo /usr/sbin/sendmail.postfix -t < /var/spool/MailScanner/quarantine/<somedate>/<somefolder>/<somemsgid>
Re: How to release messages from quarantine marked with "Other Infection" YES
This saved my bacon today. This tip should be in the wiki.