Internet
Internet
Posted By Irfad

Zimbra 8.0 Outgoing SMTP Authentication


Zimbra Collaboration Suite is a collaborative software suite, that includes an email server and web client. Zimbra was initially developed by LiquidSys, which changed their name to Zimbra, Inc. Recently I’ve installed zimbra 8.0 on one of my client’s server, but I couldn’t use existing wiki instructions to relay outbound mails through no-ip. After few searches, found the solution in zimbra forums.

In brief we have to use zmlocalconfig instead of postconf. Follow the instructions below to enable outgoing smtp authentication in zimbra 8.0

As per Zimbra wiki

Change relay host to no-ip

zmprov ms server.domain.com zimbraMtaRelayHost smtp-auth.no-ip.com:3325

Create password file

echo smtp-auth.no-ip.com username:password > /opt/zimbra/conf/relay_password

Create a postfix lookup table

postmap hash:/opt/zimbra/conf/relay_password

To test that the lookup table is correct, the following should return username:password

postmap -q smtp-auth.no-ip.com /opt/zimbra/conf/relay_password

New configuration for Zimbra 8.0

Configure postfix to use the new password map

zmlocalconfig -e postfix_smtp_sasl_password_maps=hash:/opt/zimbra/conf/relay_password

Configure postfix to use SSL authentication

zmlocalconfig -e postfix_smtp_sasl_auth_enable=yes

Configure postfix to use the outgoing servername rather than the canonical server name

zmlocalconfig -e postfix_smtp_cname_overrides_servername=no

Enable to use TLS

zmlocalconfig -e postfix_smtp_use_tls=yes

Enable plaintext authentication

zmlocalconfig -e postfix_smtp_sasl_security_options=noanonymous

Finally reload postfix

postfix reload

View Comments
View Comments