Reprocessing quarantined messages

Richard Mealing richard at
Fri Nov 30 10:35:33 GMT 2012

Hi Mike,

Why do you just go into the directory and put it in a while loop?

Make a temp directory first

mkdir /tmp/sometempdir

cd /var/spool/MailScanner/quarantine/20121127/

ls | while read myfiles ; do cp $myfiles/* /tmp/sometempdir ; done

Then cd into the /tmp/sometempdir and check the messages are all in there. Then just copy them to your incoming queue, so cp * /var/spool/


From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of Michael Sauvola
Sent: 29 November 2012 18:33
To: mailscanner at
Subject: Reprocessing quarantined messages

Hi all,

Due to my own fault, MailScanner put about 16 hours worth of messages (4026) into the quarantine.

                                                                            /qARJ0j88K673043/message and so on...

I fixed my goof-up, and mail is now flowing through normally.

How can I re-send/reprocess the 4026 messages through MailScanner?


This message has been scanned for viruses and
dangerous content by MailScanner<>, and is
believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list