Quarantine messages release
Posted: 22 Jul 2011, 12:31
Dear Chirpy and Webmasters:
First, greetings to all. We have a doubt and maybe you can help us.
We had a problem upgrading our WHM/Cpanel server, and for several hours, all messages were detected as false positive by ClamAV, MailScanner has put them in the quarantine folder.
(we worked with Exim + MailScanner + SpamAssassin + ClamAV+ WHM clamavconnector)
We have disabbled the WHM clamavconnector, and upgrade ClamAV and MailScanner, and ok, we think that the problem is solved.
Now we want to release the emails that we have in the quarantine folder (about 700 emails). MailScanner.conf was configured with the options:
Quarantine Whole Message = yes
Quarantine Messages As Queue Files Whole = no
We wanted to copy the messages from to , but does not work because it's have a different format.
Each message in quarantine is a folder with the name "message-id" with two files inside. one file "message" and one html file.
Is there any method or application that can be used to change the format to emails and release them?
We read in another post that in this case we can use: but don´t work because there isn´t any "inbox" file in the user account mail directory, only the folders "new", "cur", "tmp"
Thank you all for your time and sorry for our English.
Daroch
First, greetings to all. We have a doubt and maybe you can help us.
We had a problem upgrading our WHM/Cpanel server, and for several hours, all messages were detected as false positive by ClamAV, MailScanner has put them in the quarantine folder.
(we worked with Exim + MailScanner + SpamAssassin + ClamAV+ WHM clamavconnector)
We have disabbled the WHM clamavconnector, and upgrade ClamAV and MailScanner, and ok, we think that the problem is solved.
Now we want to release the emails that we have in the quarantine folder (about 700 emails). MailScanner.conf was configured with the options:
Quarantine Whole Message = yes
Quarantine Messages As Queue Files Whole = no
We wanted to copy the messages from
Code: Select all
/var/spool/Mailscanner/<date>/<message-id>
Code: Select all
/var/spool/exim_incoming/input
Each message in quarantine is a folder with the name "message-id" with two files inside. one file "message" and one html file.
Is there any method or application that can be used to change the format to emails and release them?
We read in another post that in this case we can use:
Code: Select all
cat <message file> >> /home/username/mail/domain/user/inbox
Thank you all for your time and sorry for our English.
Daroch