On Fri, 13 Nov 2009, lst_ho...@kwsoft.de wrote:

> as far as i know Postfix does not alter a Message-ID beside when it
> creates a missing one. 

There is more to it since the release of 2.6.  From RELEASE_NOTES:

 Major changes - header rewriting
 --------------------------------

 [Incompat 20090330] Postfix now adds (Resent-) From:, Date:,
 Message-ID: or To: headers only when clients match
 $local_header_rewrite_clients.  Specify "always_add_missing_headers
 = yes" for backwards compatibility.  Adding such headers can break
 DKIM signatures that cover headers that are not present.
 compatibility with existing logfile processing software, Postfix
 will log ``message-id=<>'' for messages without Message-Id header.

> Is there some way one could find out later in the logfile if Postfix
> has created one? Is it sufficient if the Message-ID looks like
> "<some-long-numbar>@<my-mailrelay-hostname>" or is there some other
> thing to check?

When adding a missing Message-Id: header, the cleanup(8) service uses
the queue file creation time (in GMT), the queue ID and $myhostname.
For example:

 message-id=<20091113223127.8814b17...@mailin.kwsoft.de>
             ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^
             time in GMT    queue ID   $myhostname

-- 
Sahil Tandon <sa...@tandon.net>

Reply via email to