Re-process messages in quarantine postfix+ms ?

Mark Sapiro mark at msapiro.net
Fri Jan 7 00:26:07 UTC 2022


On 1/6/22 4:42 AM, mailscanner at barendse.to 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 <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list