Logging IP addresses in exim log

urbee

Verified User
Joined
Mar 27, 2009
Messages
118
Hi,

i'd like to know if there is any option for "log_selector" or anywhere else in the exim config to log the local sender IP addresses. So that IP addresses of my customers sending out the email would show up in mainlog.

Thanks
 
Hello,

you might need to change /etc/exim.conf


Code:
# EDIT AS REQUIRED TO FIT YOUR ENVIRONMENT
log_selector = \
#  +all
  +delivery_size \
  +sender_on_delivery \
  +received_recipients \
  +received_sender \
  +smtp_confirmation \
  +subject \
  +smtp_incomplete_transaction \
  -dnslist_defer \
  -host_lookup_failed \
  -queue_run \
  -rejected_header \
  -retry_defer \
  -skip_delivery \
  +arguments
syslog_duplication = false
to like like:


Code:
# EDIT AS REQUIRED TO FIT YOUR ENVIRONMENT
log_selector = \
  +all
#  +delivery_size \
#  +sender_on_delivery \
#  +received_recipients \
#  +received_sender \
#  +smtp_confirmation \
#  +subject \
#  +smtp_incomplete_transaction \
#  -dnslist_defer \
#  -host_lookup_failed \
#  -queue_run \
#  -rejected_header \
#  -retry_defer \
#  -skip_delivery \
#  +arguments
syslog_duplication = false


and restart exim.
 
Back
Top