[exim-dev] Exim own log format

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Alexey Kuznetsov
Date:  
À: exim-dev
Sujet: [exim-dev] Exim own log format
I'm using MTA Exim and have some problem, please help me.

I need msgid of message log to be in exim_INTERFACE_main_%D log. Is it
possible? I've tried to check the docs but found nothing. Also I've
tried to use log_selector of standard config directive but it didn't
help. To be more specific lets say we have a message 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 [213.180.204.89]
X=TLS1.2:RSA_AES_128_CBC_SHA1:128 C="250 2.0.0 Ok" DT=0s *id=12345@domain*

Is that a possible solution to use acl + warn? Or you can tell me how it
should done right.
If it is no possible, please, suggest me where I can change logging into
sourses.

Thank you in advance, Alexey Kuznetsov.