Re: [exim] Logging particular header | returning message ID

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: Björn Keil
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Logging particular header | returning message ID
On Wed, 14 May 2008, Björn Keil wrote:
>
> For that I need either the exim process to return the message ID (if it
> is called with the /usr/bin/sendmail method) or I need exim to log one
> particular header of the mail that contains the platforms internal
> message ID.


Ideally, the sender would put its message ID in the Message-ID header,
which Exim always logs when it receives a message. Alternatively,
use logwrite in acl_not_smtp to log the contents of other headers.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}