Our sysadmin team edits the field Message-ID in exim4 header files (ending with -H) and substitues the first char after "<".
077I Message-ID: <3D945239009B2549BFAE372F090AE90984E0882E7F@example.tld>
077I Message-ID: <2D945239009B2549BFAE372F090AE90984E0882E7F@example.tld>
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: <firstname.lastname@example.org>
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.