How to enable log selector in Exim
Add the following entry in advanced configuration editor in exim:-
=====================================================================
log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer +incoming_interface +incoming_port +lost_incoming_connection +queue_run +received_sender +received_recipients +retry_defer +sender_on_delivery +size_reject +skip_delivery +smtp_confirmation +smtp_connection +smtp_protocol_error +smtp_syntax_error +subject +tls_cipher +tls_peerdn
======================================================================
Restart exim after this :-
# /scripts/restartsrv_exim “OR”
# /etc/init.d/exim restart
Once this is done , you will be able to find the location of the script which is sending mails as nobody user. For this Just issue the following command:-
# tail -f /var/log/exim_mainlog | grep cwd
====================================================================
2011-08-26 23:03:46 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1LnPlq-000810-Sl
2011-08-26 23:03:46 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1LnPlq-000811-St
2011-08-26 23:03:46 cwd=/home/icicemac/public_html 3 args: /usr/sbin/sendmail -t -i
2011-08-26 23:03:46 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1LnPlq-000813-T9
2011-08-26 23:05:48 cwd=/home/icicemac/public_html 3 args: /usr/sbin/sendmail -t -i
2011-08-26 23:05:48 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1LnPno-00087I-CT
====================================================================
No comments yet.
Leave a comment