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

Top Page
Delete this message
Reply to this message
Author: Adam Funk
Date:  
To: exim-users
Subject: Re: [exim] Adding missing Date and Message-ID headers to SMTP messages?
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.

Is this variable supposed to have a value already at ACL stage?