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.00
(0 votes)

Purpose

Track messages sent and received by a user

Resolution

'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 'user@example.com' :

/opt/zimbra/libexec/zmmsgtrace -s user@example.com

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

/opt/zimbra/libexec/zmmsgtrace -r '@gmail.com' 

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 '@gmail.com' /var/log/zimbra*

Additional Content


Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 04/10/2015
Article ID: https://wiki.zimbra.com/index.php?title=Track_messages_sent_and_received_by_a_user 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