How To Configure Outgoing SMTP Authentication on Zimbra 8.5

Home » Zimbra » How To Configure Outgoing SMTP Authentication on Zimbra 8.5
Zimbra 58 Comments

This guidance will describe how to configure outgoing smtp authentication on Zimbra 8.5. If you have Zimbra 8.0, you can see at the following link : http://www.excellent.co.id/product-services/zimbra/tips-zimbra-mta-relay-menggunakan-user-authentication-pada-zimbra-8/

INFORMATION

SMTP Relay : mailrelay.example.com
username   : relay@example.com
password   : RelayExample
port       : 587/465

Copy and paste this command to your Zimbra server

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` zimbraMtaSmtpTlsSecurityLevel may
zmprov ms `zmhostname` zimbraMtaSmtpSaslSecurityOptions noanonymous
zmprov ms `zmhostname` zimbraMtaRelayHost mailrelay.example.com:587

Don’t forget to change all information system on above with your system. Updates configuration will be automatic within 2 minutes. This is example log on my Zimbra mail server when sending to outside

to=<xxxxx@gmail.com>, relay=mailrelay.example.com[103.xx.xxx.xxx]:587, delay=7.7, delays=0/0.01/0.16/7.5, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 636893D40E1)

Good luck and hopefully useful 😀

Source : http://wiki.zimbra.com/wiki/Outgoing_SMTP_Authentication

58 thoughts on - How To Configure Outgoing SMTP Authentication on Zimbra 8.5

LEAVE A COMMENT