Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-23-2010, 11:02 AM
Member
 
Posts: 14
Default Trace send and receive email

I have problem to trace the sender and recipient email in Zimbra.log, which it does not clearly stated the from Who and to Who.

i am using command less <log file> | grep <string text>. Is there better command to be used?
Reply With Quote
  #2 (permalink)  
Old 12-25-2010, 03:32 AM
fyd fyd is offline
Elite Member
 
Posts: 373
Default

Hi Ling,
zimbra.log gives a defenite idea on flow of mails, from source to destination. You just have to grep it out. Log show "from=", I am just finding mail 'sent from' a single account on my zimbra server
-----
[zimbra@ ~]$ grep "from=" /var/log/zimbra.log | grep a@domain
Dec 25 11:11:43 postfix/qmgr[1542]: B70331488332: from=<a@domain>, size=622, nrcpt=1 (queue active)
Dec 25 11:11:44 postfix/qmgr[1542]: 0F4331488333: from=<a@domain>, size=1075, nrcpt=1 (queue active)
[zimbra@ ~]$
----------
Now grepping the first ID B70331488332 from log will give you details on how postfix queue handles it (with details like for 'destination') and pass it over to the next queue which is when it is assigned with the second ID 0F4331488333. Grep again, with 0F4331488333 and you will get the complete details.

There you can see '<a@domain> -> <b@gmail.com>'

Just like this when you recieve postfix smtpd will assign IDs to it, which you can find the same way. I guess this is what you are looking for.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.