release mail from quarantine AND modify message-id

Wolf wolf at zim.goe.net
Fri Sep 28 19:11:25 IST 2007


Hello.

My setup has a postfix with mailscanner working okay. My problem
arises when I release mail from the quarantine (Quarantine Whole
Messages As Queue Files = yes) with the bash-scipt (release.sh
provided by wiki) that more or less just copies the queue-file into
postfix incoming-queue works like it should. Postfix relays the mail
to the final-mailserver. This final-destination-mailserver is a
postfix with cyrus which is just dropping the released mail as it has
the same message-id as the previous original disinfected mail that
came first.
 When I first change the message-id by one character and then release
it, cyrus provides the mail.

So how can I modify the message id? I tried to extend the message-id
by 4 characters with a sed-script before releasing it but the
queue-file gets corrupted then.
-- 
Wolf Hees
http://alphawolf.blogg.de


More information about the MailScanner mailing list