[exim] Logging used port

Top Page
Delete this message
Reply to this message
Author: Luca Bertoncello
Date:  
To: Users, Exim
Subject: [exim] Logging used port
Hi list!

Is it possible to log the used port for the incoming E-Mail in the mainlog?
Currently I have something like:

2018-04-20 11:57:02 1f9Sms-wer857-24 <= blah@??? H=(mail.blah.de)
[1.2.3.4] P=esmtps X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 S=4980
id=kcim.5ad9b96d.3343.319236551223c93d@???

And I'd like to have:

2018-04-20 11:57:02 1f9Sms-wer857-24 <= blah@??? H=(mail.blah.de)
[1.2.3.4:25] P=esmtps X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 S=4980
id=kcim.5ad9b96d.3343.319236551223c93d@???

How can I do that?

Thanks a lot
Luca Bertoncello
(lucabert@???)