Zimbra: Finding mail from logs
Leave a commentMay 8, 2017 by aubreykloppers
I had to investigate and track the mail delivery of an item into the Zimbra mail system. This, after a bit of reading, I found to be quite easy:
On Zimbra (as ROOT):
cd /var/log ls -al zimbra.log* gunzip zimbra.log-[date].gz /opt/zimbra/libexec/zmmsgtrace -r [email] /var/log/zimbra.log-[date] gzip zimbra.log-[date]
What does this mean/do (Line by line)?
- go to the /var/log directory
- find all your logfiles
- unzip the file you want to use
- run a trace on the email address supplied on the log
- clean-up and re-zip the logfile
you can also read more at the Zimbra Wiki: https://wiki.zimbra.com/wiki/Track_messages_sent_and_received_by_a_user
Advertisements