Re: [Exim] Message-ID header

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Frank Elsner
Dátum:  
Címzett: Mark Smith
CC: exim-users
Tárgy: 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