[exim] Exim own log format

Página Inicial
Delete this message
Reply to this message
Autor: Alexey Kuznetsov
Data:  
Para: exim-users
Assunto: [exim] Exim own log format
Good day.
Sorry for my english.
I am using Exim and I can not understand how I can add logging
deliveries (main-logs), another in his field, namely the message id (but
not msgid of exim).

Easier to explain with an example. Let us send a letter with account
"test".

Files looks like:
==> Exim_test_main_20140930.log <==

2014-09-30 13:00:00 1QWERT-QWEASD-QQ <= root@localhost H = [127.0.0.1] P
= smtp S = 955 id = 12345@domain

Where, 1QWERT-QWEASD-QQ - internal ID exim, and 12345 - msgid of message.


Delivery logging:
==> Exim_192.168.0.2_main_20140930.log <==
2014-09-30 13:00:00 1QWERT-QWEASD-QQ => mail@domain R = domain_route T =
domain_transport H = mx.domain [213.180.204.89] X = TLS1.2:
RSA_AES_128_CBC_SHA1: 128 C = "250 2.0.0 Ok "DT = 0s [br]
2014-09-30 13:00:00 1XYx27-0004Zf-TF Completed QT = 1s

But, I need:

2014-09-30 13:00:00 1QWERT-QWEASD-QQ => mail@domain R=domain_route
T=domain_transport H=mx.domain.ru
<http://vk.com/away.php?to=http%3A%2F%2Fmx.domain.ru> [213.180.204.89]
X=TLS1.2:RSA_AES_128_CBC_SHA1:128 C="250 2.0.0 Ok" DT=0s *id=12345@domain *

A value for the standard config directives exim log_selector provided by
("+all" did not help).
Please, tell me how I can solve this problem? Probably there is a way
through the use of directives acl + warn. But I honestly do not know how
done it.

Thank you.