Re: [Exim] Message-ID header

Top Page
Delete this message
Reply to this message
Author: Frank Elsner
Date:  
To: Mark Smith
CC: exim-users
Subject: Re: [Exim] Message-ID header
On Thu, 19 Aug 2004 13:57:06 BST "Mark Smith" wrote:

[ ... ]

> I've spent all morning going through the documentation at exim.org, to no avail. Can someone please tell me the code I need to add to my mailserver's config to get Exim to add a Message-ID header?


I do it this way:

|   ...
|   acl_smtp_data = check_message
|   ..
|   # ACL that is used after the DATA command
|   check_message:
|     warn    condition = ${if !def:h_Message-Id: {1}}
|     message = Message-Id: <E$message_id@$primary_hostname> (auto-added)
|     log_message = Added Message-Id <E$message_id@$primary_hostname>
|   ..


--Frank Elsner