If a mail has to be sent from a server ,the exim should be running in that particular server.
vi /etc/exim.conf
log_selector=+all –> detailed log (current working directory)
add this to exim.conf,if it is not added default.
—
/varlog/exim_mainlog
eg:
tail -1000 /var/log/exim_mainlog | grep <username>
<— indicate mail has be tranfered to address which is on left.
—
Troubleshooting:
1.Send a test mail from that id
2.Check exim main log for the address
3.Get mail id by greping email
-mail -v subject
-tail -100 /var/log/exim-mainlog | grep aniandme
-grep /var/log/exim_mainlog
if mail sent through webmail,and will be /var/spool/exim
if msg sent through script cwd will be in pwd
common log file
log file /var/log/messages.
Leave A Comment
You must be logged in to post a comment.