[exim] Logging outgoing interface and helo_data

Top Page
Delete this message
Reply to this message
Author: Jorge Gonzalex
Date:  
To: exim-users
Subject: [exim] Logging outgoing interface and helo_data
Hello,

I am running exim 4.69, we are going to upgrade to the newest version soon.

I have a server set up that hosts multiple websites, this server also has
multiple public ips (for each domain)

I set up exim so that based on $header_reply-to: it will set interface to the
correct ip for the domain and set helo_data to the correct host string for the
website. The value of interface is some-what random. For each website there is
small pool of interfaces that will be chosen from (right now it is based on
system time, but eventually it will be random,) so one can deduce right now what
helo_data was based on the log entry, but interface can not be.

We want to be able to tell what the values of interface and helo_data were for
each sent message (so we can try to assess our ip reputation, so we can make
understand how our mail server interacts with other mail servers and make it
better) but I did not see any corresponding values to use with log_selector
(http://www.exim.org/exim-html-current/doc/html/spec_html/ch49.html)

Is there any way to add these values to the log? If not, how would I go about
finding out these values?

Currently we are parsing the log and inserting relevant entries into a database
for our monitoring purposes. I am a little averse to logging deliveries to the
database in exim because of performance concerns, but if that is my only option
and people on this mailing list tell me that the performance differences are
negligible, I am open to using exim's db capabilities to log deliveries
(although right now I am not well versed in exim's db capabilities)

I appreciate all of your input
Thank you,
Radmilla