Howto trace a mail message ?

F

fgilain

Guest
Hello all,

I would like to know how i could "trace" a specific message.

My goal is to follow what happens when i send an email or when one of my application servers send an email to someone for debugging mail sending.

the reason is that few mails seems to never arrive....

I ran the tail -f /usr/local/psa/var/log/maillog command, but logs are so fast to grow, i'm a little lost into it....

thanks

Florent
 
You can pipe the output into grep to filter for specific things like subject, sender, recipient, etc.
 
cat /usr/local/psa/var/log/maillog | grep replaceyourinfo

replace replaceyourinfo with whatever you what to search for

Dean
 
True.

tail -f /usr/local/psa/var/log/maillog | grep replaceyourinfo

replace replaceyourinfo with whatever you what to search for

Dean
 
Back
Top