Email logging
I have notice few frozen email in the mailq and I am trying to determine where they have come from.
exigrep 1NYHMd-000IyM-A4 /var/log/exim/mainlog | more
2010-01-22 11:07:43 cwd=/var/spool/exim 3 args: /usr/local/sbin/exim -Mc 1NYHMd-000IyM-A4
+++ 1NYHMd-000IyM-A4 has not completed +++
(Mes sage-Id: 1NYHMd-000IyM-A4). From <> (local) for upholsteringcm4@???
2010-01-22 11:07:43 1NYHMd-000IyM-A4 <= <> R=1NYHMY-000IyD-Ve U=mailnull P=local S=3672 T="Mail delivery fai led: returning message to sender" from <> for upholsteringcm4@???
2010-01-22 11:07:46 1NYHMd-000IyM-A4 ** upholsteringcm4@??? F=<> R=dnslookup T=remote_smtp: SMTP err or from remote mail server after RCPT TO:<upholsteringcm4@???>: host smtp.secureserver.net [216.69.1 86.201]: 550 #5.1.0 Address rejected upholsteringcm4@???
2010-01-22 11:07:46 1NYHMd-000IyM-A4 Frozen (delivery error message)
2010-01-22 11:20:10 1NYHMd-000IyM-A4 Message is frozen
I have
log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery
+dnslist_defer +incoming_interface +incoming_port +lost_incoming_connection +queue_run +received_sender
+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
Normal flowing email is quite easy to see where it has come from. What could I add to the log selector to get a better view
Thanks
Terry