Edit exim4 Message-ID for releasing blocked mail by Mailscanner
Posted
by
F12
on Server Fault
See other posts from Server Fault
or by F12
Published on 2012-06-05T08:57:44Z
Indexed on
2012/06/05
10:42 UTC
Read the original article
Hit count: 229
Our sysadmin team edits the field Message-ID in exim4 header files (ending with -H) and substitues the first char after "<".
e.g:
077I Message-ID: <[email protected]>
-->
077I Message-ID: <[email protected]>
I'd like to write a script to release the mails. I changed the part between "<" and "@" in the field Message-ID and substituted a hash value so the Message-ID looks like:
077I Message-ID: <[email protected]>
Now exim says "format error" in the log and the mail is not released. There was no change except for this one field.
Why can't the ID be substituted like that? Does it need to be the exact same length? It's exim4 version 4.69-2ubuntu0.3.
© Server Fault or respective owner