Re: Re-process messages in quarantine postfix+ms ?

Mark Sapiro <[email protected]> Thu, 6 Jan 2022 16:26:07 -0800
Newsgroups gmane.mail.virus.mailscanner
Message-ID <[email protected]>
On 1/6/22 4:42 AM, [email protected] wrote:
> 
> Is there any way to re-process all the messages that got thrown into 
> /var/spool/MailScanner/quarantine ? There are really many, with sendmail 
> I could simply move them into the inbound directory but that will not 
> work with postfix ?


You could try something like

cd /the/directory/containing/the/messages
for file in `ls`; do
     sendmail -it < $file
done


-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


-- 
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner