Zimbra: Finding mail from logs

Leave a comment

May 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)?

  1. go to the /var/log directory
  2. find all your logfiles
  3. unzip the file you want to use
  4. run a trace on the email address supplied on the log
  5. 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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

counter for wordpress
%d bloggers like this: