Reprocessing quarantined messages

Glenn Steen glenn.steen at gmail.com
Fri Nov 30 15:07:08 GMT 2012


Yes Denis, but the first message in this thread show that this isn't the
case here. It's set to "no";-)

Cheers!
-- 
-- Glenn
Den 30 nov 2012 14:58 skrev "Denis Beauchemin" <
Denis.Beauchemin at usherbrooke.ca>:

> What Richard suggests is close to what I would do :
> cd /var/spool/MailScanner/quarantine
> find . -name '[dq]*' -print0 | xargs -0 -I "{}" cp {} /var/spool/mqueue.in
>
> This would work for messages "Quarantine Whole Messages As Queue Files"
> for sendmail.
>
> Denis
> ______________________________
> Denis Beauchemin
> Architecte technologique - Infrastructure des serveurs
> Service des technologies de l’information
> Université de Sherbrooke
>
> Tél. : 819 821-8000, poste 62252
> Courriel : Denis.Beauchemin at USherbrooke.ca
>
> De : mailscanner-bounces at lists.mailscanner.info [mailto:
> mailscanner-bounces at lists.mailscanner.info] De la part de Richard Mealing
> Envoyé : 30 novembre 2012 05:44
> À : MailScanner discussion
> Objet : RE: Reprocessing quarantined messages
>
> 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/mqueue.in/
>
>
>
> Richard
>
>
>
>
> From: mailscanner-bounces at lists.mailscanner.info [mailto:
> mailscanner-bounces at lists.mailscanner.info] On Behalf Of Michael Sauvola
> Sent: 29 November 2012 18:33
> To: mailscanner at lists.mailscanner.info
> Subject: Reprocessing quarantined messages
>
> Hi all,
>
> Due to my own fault, MailScanner put about 16 hours worth of messages
> (4026) into the quarantine.
>
> /var/spool/MailScanner/quarantine/20121127/qARJ0a8W011130/message
>
> /qARJ0Cr8W02980/message
>
> /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?
>
> Mike
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20121130/3c864a23/attachment.html 


More information about the MailScanner mailing list