zmmsgtrace: use -debug to see unmatched lines
root@mail4:/opt/DMR/scripts/mail_summary# vim zimbra.log
here is a sample command
root@mail4:/# /opt/zimbra/libexec/zmmsgtrace /var/log/zimbra.log -r "sage@domain.com" --time "20181127,20181128"
Tracing messages
to sage@domain.com
during window (start,end) 20181127,20181128
Code: Select all
zmmsgtrace: total unmatched entries in '/var/log/zimbra.log': 269
zmmsgtrace: use -debug to see unmatched lines
G
zmmsgtrace: total files to read: 1
zmmsgtrace: reading '/var/log/zimbra.log'
zmmsgtrace: NO match: Nov 29 06:42:00 mail4 amavis[18145]: (18145-04) Passed CLEAN {RelayedInternal,RelayedOutbound}, ORIGINATING/MYNETS LOCAL [199.21.152.245]:60268 [199.21.152.245] <mario.flores@domian.com> -> <adriana.cabrera@domian.com>,<csaravia@domian.com>,<jorge.chavez@domian.com>,<jose.sandoval@domian.com>,<mario.flores@domian.com>,<robert.rivas@domian.com>,<NBConformingRequest@customerdomain.biz>,<twclsr@customerdomain.biz>, Queue-ID: D6286D419FB, Message-ID: <1617035490.650330.1543502519844.JavaMail.zimbra@domian.com>, mail_id: 6jLcelU3Gtga, Hits: -, size: 7951, queued_as: 0C4CED419F9, 218 ms
What are unmatched lines, and how do I resolve this so that I can see how many emails were actually sent