Edit transport file for ON-PREM POSTFIX
-----------------------------------
vi /etc/postfix/transport
#########################################
########### GWS MAIL Boxes ##############
#########################################
tayab.khan@tayabkhan.com smtp:[ASPMX.L.GOOGLE.com]:25
#tayabkhan.com smtp:[ASPMX.L.GOOGLE.com]
postmap /etc/postfix/transport
----------------------------------------------
Edit transport file for ON-PREM ZIMBRA server
-------------------------------------------
su - zimbra
vi /opt/zimbra/common/conf/transportfile [Create new file]
tayab.khan@tayabkhan.com smtp:[ASPMX.L.GOOGLE.com]:25
postmap /opt/zimbra/common/conf/transportfile
zmprov ms `zmhostname` zimbraMtaTransportMaps "lmdb:/opt/zimbra/common/conf/transportfile,proxy:ldap:/opt/zimbra/conf/ldap-transport.cf"
[For Checking : zmlocalconfig |grep -i postfix_transport_maps]
postfix reload
tail -f /var/log/zimbra.log
=-------------------------------------
From GWS admin panel use Route and also Default route for the incoming route
No comments:
Post a Comment