Smtp Relay for Zimbra with authentication
Zimbra will relay to mail same smtp relay / mail hosting / gmail
echo domain.com [email protected]:passwd > /opt/zimbra/conf/relay_password
postmap /opt/zimbra/conf/relay_password
postmap -q domain.com /opt/zimbra/conf/relay_password
zmprov ms `zmhostname` zimbraMtaSmtpSaslPasswordMaps lmdb:/opt/zimbra/conf/relay_password
zmprov ms `zmhostname` zimbraMtaSmtpSaslAuthEnable yes
zmprov ms `zmhostname` zimbraMtaSmtpCnameOverridesServername no
zmprov ms `zmhostname` zimbraMtaSmtpTlsSecurityLevel may
zmprov ms `zmhostname` zimbraMtaSmtpSaslSecurityOptions noanonymous
zmprov ms `zmhostname` zimbraMtaRelayHost domain.com:587
Restore
zmprov ms `zmhostname` zimbraMtaRelayHost ""
zmprov ms `zmhostname` zimbraMtaFallbackRelayHost ""
than $ postfix reload and $ zmcontrol restart
echo domain.com [email protected]:passwd > /opt/zimbra/conf/relay_password
postmap /opt/zimbra/conf/relay_password
postmap -q domain.com /opt/zimbra/conf/relay_password
zmprov ms `zmhostname` zimbraMtaSmtpSaslPasswordMaps lmdb:/opt/zimbra/conf/relay_password
zmprov ms `zmhostname` zimbraMtaSmtpSaslAuthEnable yes
zmprov ms `zmhostname` zimbraMtaSmtpCnameOverridesServername no
zmprov ms `zmhostname` zimbraMtaSmtpTlsSecurityLevel may
zmprov ms `zmhostname` zimbraMtaSmtpSaslSecurityOptions noanonymous
zmprov ms `zmhostname` zimbraMtaRelayHost domain.com:587
Restore
zmprov ms `zmhostname` zimbraMtaRelayHost ""
zmprov ms `zmhostname` zimbraMtaFallbackRelayHost ""
than $ postfix reload and $ zmcontrol restart