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 zimbraMtaRelayHost

Create password file

echo 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 /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

This site uses Akismet to reduce spam. Learn how your comment data is processed.