Hello,
I recently installed zimbra Release 8.6.0_GA_1153.RHEL7_64_20141215151110 RHEL7_64 on Centos 7
Zimbra smtp is working perfectly fine without nay authentication. But the moment i put on the authentication it doesnt work. Error:
<info@grandistechnology.it>: SASL authentication failed; server smtp.monzambano.gov.it [62.149.128.202] said: 535 5.7.0 ... authentication rejected
For the external smtp configuration i do in this way:
echo smtp.dominio.it utente
assword > /opt/zimbra/conf/relay_password
postmap hash:/opt/zimbra/conf/relay_password
zmlocalconfig -e postfix_smtp_sasl_password_maps=hash:/opt/zimbra/conf/relay_password
zmlocalconfig -e postfix_smtp_sasl_auth_enable=yes
zmlocalconfig -e postfix_smtp_cname_overrides_servername=no
zmlocalconfig -e postfix_smtp_sasl_security_options=noanonymous
zmprov ms nomeserver.dominio.it zimbraMtaRelayHost smtp.dominio.it:25
Or in this way:
echo mailrelay.example.com
relay@example.com:RelayExample > /opt/zimbra/conf/relay_password
postmap /opt/zimbra/conf/relay_password
postmap -q mailrelay.example.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` zimbraMtaSmtpSaslSecurityOptions noanonymous
zmprov ms `zmhostname` zimbraMtaRelayHost mailrelay.example.com:25
Can someone help me?