Re: [exim] Adding missing Date and Message-ID headers toSMTP…

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: exim-users
CC: Adam Funk
Subject: Re: [exim] Adding missing Date and Message-ID headers toSMTP messages?
On Tue, 4 Jul 2006, Philip Hazel wrote:
> On Tue, 4 Jul 2006, Adam Funk wrote:
>
> > Out of curiosity, why does Exim's default behaviour (using a vanilla
> > config file) accept a message without Date and Message-ID headers and
> > relay it without adding them? Does adding "control = submission" have
> > any other, possibly undesirable, effects?
>
> Because it is confusing if it adds them, and (when relaying) contrary to
> RFC 2821. (It used to; the change was made at release 4.30).


"Fixing" broken messages is a particular problem if they are later passed
on to code which is trying to work out if the message is legit or not.
Unfortunately, Sendmail and Postfix insist on guddling in the headers so
people think it's normal behaviour.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}