On Fri, 23 Jun 2006 10:30:30 +0100 Adam Funk wrote:
> On 2006-06-23, Frank Elsner <Elsner@???> wrote:
> > On Thu, 22 Jun 2006 11:30:43 +0100 Adam Funk wrote:
> >> How cna I configure Exim 4 to add Date and Message-ID headers --- if
> >> they are missing --- to messages received by SMTP?
> >
> > warn condition = ${if !def:h_Message-Id: {1}}
> > add_header = Message-Id: <E$message_id@$qualify_domain> (auto-added)
> > log_message = Added Message-Id <E$message_id@$qualify_domain>
>
> When I tried that, I got a message ID of "E@..." as if the $message_id
> variable had not been expanded. I also tried using
> "...<${message_exim_id}@..." and got the same result.
I have this in my "acl_smtp_data" ACL and it works.
--Frank Elsner