On Wed, 2008-05-14 at 11:16 +0200, Björn Keil wrote:
> While both would work logging the message ID (of the sending program)
> would make it easier...

Is this message ID normally added as a specific header, like, erm,
Message-ID: <blablah> ?

If it is, you can do something like this in the DATA ACL:

warn log_message = INFO: $h_message-id:
     condition   = ${if eq{$h_message-id:}{} {0}{1}}

[untested]

That pretty much says: if the header line Message-ID: isn't empty, log
it but prefix it with INFO:. You can use any header you like.

There's bound to be more than one way to do it though :)

Graeme


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to