Thanks mate.
I already found the solution.
I am marking it as solved.
Here is the solution.
Changes in /opt/zimbra/conf/zmmta.cf
Replace
POSTCONF smtpd_sender_restrictions LOCAL postfix_smtpd_sender_restrictions
With
POSTCONF smtpd_sender_restrictions FILE postfix_smtpd_sender_restrictions
Create a file /opt/zimbra/conf/access_sender and add following content to it.
postmaster@xyz.com
xyz.com reject_unauth_destination
.xyz.com reject_unauth_destination
Execute following command using zimbra user
postmap hash:/opt/zimbra/conf/access_sender
Add following line to /opt/zimbra/postfix/conf/main.cf
smtpd_restriction_classes = local_only
local_only = check_recipient_access hash:/opt/zimbra/conf/local_domains, reject
Create a file /opt/zimbra/conf/local_domains and add following content to it.
xyz.com OK
localhost OK
127.0.0.1 OK
Voila.