Page 1 of 1

HELP + URGENT: Need to requeue 2400 mails from quantine to be reprocessed

Posted: 06 Mar 2018 13:59
by SupportOU
Hi there!
Anyone knows how to requeue mails from the quarantine to be reprocssed? The mails are in subfolders like /var/spool/MailScanner/quarantine/20180306/4DAD720089.A3D0A which contains a file 'message'.

I tried to use postdrop (postdrop < message and postdrop -r < message). I also tried copying te file to incoming folder from MailScanner as well the incoming folder from postfix. But nothing happened, maillog says nothing file stays there, have set owner and user to 'postfix'.

The GUI is not usefull for this, so if anyone can give me a hint, that would be great!!!

My end users are waiting for their mails and keep calling, sigh ...

Quarantine Whole Message = yes
Quarantine Whole Messages As Queue Files = no

Guess I should better set the 'no' to a 'yes'?

Grtz,
Ronald

Re: HELP + URGENT: Need to requeue 2400 mails from quantine to be reprocessed

Posted: 06 Mar 2018 18:24
by pdwalker
Question: why did the messages get quarantined in the first place?

Re: HELP + URGENT: Need to requeue 2400 mails from quantine to be reprocessed

Posted: 07 Mar 2018 06:53
by SupportOU
I had an mail storm coming in, filling up the incoming partition, new messages could not be placed in incoming and were moved to the quarantine, which is on the /var partition which has more space. So I needed to reprocess all these messages.

found out sendmail -toi < message was my friend.

See: http://blog.windhoek24.com/releasing-em ... ilscanner/

esp the line sendmail -toi < /var/spool/MailScanner/quarantine/YYMMDD/[spam|nonspam|msgid]/message