On Fri, 23 Jun 2006 10:30:30 +0100 Adam Funk wrote:
> On 2006-06-23, Frank Elsner <[EMAIL PROTECTED]> 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: <[EMAIL PROTECTED]> (auto-added)
> > log_message = Added Message-Id <[EMAIL PROTECTED]>
>
> When I tried that, I got a message ID of "[EMAIL PROTECTED]" as if the
> $message_id
> variable had not been expanded. I also tried using
> "...<[EMAIL PROTECTED]" and got the same result.
I have this in my "acl_smtp_data" ACL and it works.
--Frank Elsner
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/