Track messages sent and received by a user

Track messages sent and received by a user

   KB 21853        Last updated on 2015-07-13  

(0 votes)


Track messages sent and received by a user


'zmmsgtrace' can be used for this. This parses the logs by showing only the sender and receiver, and the time the email was sent.

Simply running '/opt/zimbra/libexec/zmmsgtrace' shows the logs for all the users.

Using '-s' shows all the emails sent by '' :

/opt/zimbra/libexec/zmmsgtrace -s

'-r' sorts emails by the receiver. So for the emails sent to '':

/opt/zimbra/libexec/zmmsgtrace -r '' 

If you have multiple log files, using '/var/log/zimbra*' will search all of the log files in that directory:

/opt/zimbra/libexec/zmmsgtrace -r '' /var/log/zimbra*

Additional Content

Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 04/10/2015
Article ID: Date Modified: 2015-07-13

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Wiki/KB reviewed by SME1 SME2 Copyeditor Last edit by Jorge de la Cruz
Jump to: navigation, search