Kindly note that IP addresses and names have been changed to protect identity.
The below log shows that the email to
user3@tridomain.in is getting routed to the ISP (99.99.99.99) directly, whereas it should have been routed thru the smart host (192.168.1.21)
===============================
Output from /var/log/zimbra.log
===============================
Mar 26 12:19:33 mailsrv postfix/qmgr[20404]: 0E768B38038: from=<user1@tridomain.in>, size=1048, nrcpt=3 (queue active)
Mar 26 12:19:33 mailsrv postfix/smtp[13384]: 0E768B38038: to=<myaccount@hotmail.com>, relay=192.168.1.21[192.168.1.21]:25, delay=0.05, delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (250 ok 1269586563 qp 19384)
Mar 26 12:19:33 mailsrv postfix/lmtp[368]: 0E768B38038: to=<user2@mum.com>, orig_to=<user2@tridomain.in>, relay=mailsrv.mum.com[192.168.1.15]:7025, delay=0.08, delays=0.02/0.01/0/0.05, dsn=2.1.5, status=sent (250 2.1.5 OK)
Mar 26 12:19:42 mailsrv postfix/smtp[14694]: 0E768B38038: to=<user3@tridomain.in>, relay=mail.tridomain.in[99.99.99.99]:25, delay=9, delays=0.02/0.02/7.6/1.4, dsn=2.0.0, status=sent (250 OK)
Mar 26 12:19:42 mailsrv postfix/qmgr[20404]: 0E768B38038: removed
=================================
=======
Details
=======
192.168.1.15 = mailsrv.mum.com = is my local zimbra server
We are using domain masquerading to mask all emails with our production email domain ie; "@tridomain.in"
In zimbra, all mailboxes has 01 email address and 01 alias each.
username@mum.com = EMAIL address
username@tridomain.in = ALIAS
192.168.1.21 = my smart host device.
The above log shows an test email sent from
user1@tridomain.in to 03 recepients :
myaccount@hotmail.com,
user2@tridomain.in ,
user3@tridomain.in user1@tridomain.in = mailbox on local Zimbra server (192.168.1.15)
user2@tridomain.in = mailbox on local Zimbra server (192.168.1.15)
user3@tridomain.in = mailbox with ISP (99.99.99.99)
myaccount@hotmail.com = mailbox on Hotmail.
Any help would be highly appreciated.
Thanks
Rehan