Results 1 to 2 of 2

Thread: Trace send and receive email

  1. #1
    Ling is offline Member
    Join Date
    Mar 2009
    Posts
    14
    Rep Power
    6

    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?

  2. #2
    fyd
    fyd is offline Elite Member
    Join Date
    Oct 2010
    Posts
    373
    Rep Power
    4

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 13
    Last Post: 05-19-2008, 08:47 AM
  2. Unable to send email
    By carnold in forum Administrators
    Replies: 5
    Last Post: 10-31-2007, 11:32 AM
  3. cann't receive email at remote network, but send is ok
    By koolokamba in forum Administrators
    Replies: 4
    Last Post: 09-15-2007, 06:27 PM
  4. Can't send email from php
    By tanasea in forum Installation
    Replies: 2
    Last Post: 08-01-2006, 08:45 PM
  5. Can't receive email
    By Phantasmagoria in forum Installation
    Replies: 4
    Last Post: 11-23-2005, 01:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •