Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: CmdLn on September 10, 2015, 08:32:25 AM
-
How can I track an email message? Specifically how can I tell if/when it arrived and when it was delivered to the users mailbox?
-
See the /var/log/qpsmtpd/current log
-
The header of an email message contains a record of the servers that the message has passed through - examining the email in question should tell you quite a bit.
Here's an article with more detail:
https://www.arclab.com/en/kb/email/how-to-read-and-analyze-the-email-header-fields-spf-dkim.html
The qpsmtpd log files would also give you information on messages that had been blocked by your server for whatever reason (the sending server is listed on an RBL, or spamassassin is convinced that the message was junk, etc). If necessary, the qpsmtpd logs could be used to confirm that the message you're examining hasn't been intentionally manipulated after receipt.
-
I was able get some info about the message from a specific sender with this command in /var/log/qpsmtpd
grep "RCPT TO:<recipient@my.domain>" * -B 4 -A 10 | grep -A 15 "MAIL FROM:<address@senders.domain>" | tai64nlocal