Track messages sent and received by a user

Revision as of 14:01, 23 April 2015 by Jorge de la Cruz (talk | contribs) (Created page with "{{WIP}}{{Article Infobox|{{admin}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8.0}}}} =Track messages sent and received by a user= ==Purpose== Track messages sent and received by a user =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Admin Article

Article Information

This article applies to the following ZCS versions.

ZCS 8.6 Article ZCS 8.6 ZCS 8.5 Article ZCS 8.5 ZCS 8.0 Article ZCS 8.0


Track messages sent and received by a user

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-04-23



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