Re-process messages in quarantine postfix+ms ?

mailscanner at barendse.to mailscanner at barendse.to
Fri Jan 7 08:28:03 UTC 2022


On Thu, 6 Jan 2022, Mark Sapiro wrote:

> 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

Thanks Mark! Can sendmail process postfix quarantine files? As MailScanner 
quarantined them, I assume they were not scanned (and am a little bit 
afraid to push the whole batch of messages through 'as is').




More information about the MailScanner mailing list