Tranpost Map for Zimbra Relay by domain / user
domainB.com with auth "[email protected]" passwd "rahasia"
su - zimbra
nano /opt/zimbra/postfix/conf/transportfile
[email protected] :[smpt.example.com]
domainB.com :[smpt.example.com]:587
# Postmap Transport
postmap /opt/zimbra/postfix/conf/transportfile
echo domainB.com [email protected]:rahasia > /opt/zimbra/conf/relay_password
postmap /opt/zimbra/conf/relay_password
postmap -q domainB.com /opt/zimbra/conf/relay_password
Zimbra 8.6
zmprov ms `zmhostname` zimbraMtaTransportMaps "lmdb:/opt/zimbra/postfix/conf/transportfile,proxy:ldap:/opt/zimbra/conf/ldap-transport.cf"
# Restart Services Zimbra
zmcontrol restart
Zimbra 8.7X
postmap /opt/zimbra/conf/transportfile
zmprov ms `zmhostname` zimbraMtaTransportMaps "lmdb:/opt/zimbra/conf/transportfile,proxy:ldap:/opt/zimbra/conf/ldap-transport.cf"
# Restart Services Zimbra
zmcontrol restart