On Thu, Nov 06, 2008 at 04:38:41PM -0500, Wietse Venema wrote:
Message-Id: [EMAIL PROTECTED] (test)
2008-11-06T13:13:35-0500 amnesiac postfix/cleanup[10832]: AF24675A3D:
message-id=[EMAIL PROTECTED] (test)
postfix logs both the id and the comment. This is perhaps more
Victor Duchovni:
On the other hand, for well-formed headers, the
comment is not part of the message-id: for example:
2008-11-06T01:11:19-0500 amnesiac postfix/cleanup[13756]: AE620EF8001:
message-id=[EMAIL PROTECTED] (added by [EMAIL PROTECTED])
Should Postfix
Victor Duchovni:
How would one decide that a (message-id) header is not mangled?
This would require parsing the string, counting the address
tokens, and if there is only one address token, use that as the
logged message ID, otherwise log the entire original string.
Real-life
When a message-id is followed by rfc822 comment text:
Message-Id: [EMAIL PROTECTED] (test)
2008-11-06T13:13:35-0500 amnesiac postfix/cleanup[10832]: AF24675A3D:
message-id=[EMAIL PROTECTED] (test)
postfix logs both the id and the comment. This is perhaps more
robust, in case
Victor Duchovni:
When a message-id is followed by rfc822 comment text:
Message-Id: [EMAIL PROTECTED] (test)
2008-11-06T13:13:35-0500 amnesiac postfix/cleanup[10832]: AF24675A3D:
message-id=[EMAIL PROTECTED] (test)
postfix logs both the id and the comment. This is