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. |