Note:
xxx.yourisp_mailserver.tld - is to be replaced with your ISP email server domain, fully qualified name
xxx.yourzimbradomain.tld - is to be replaced with whatever domain you setup zimbra on, fully qualified name
Here's what my authentication looks like.
zmprov ms xxx.yourzimbradomain.tld zimbraMtaRelayHost xxx.yourisp_mailserver.tld:25;
echo xxx.yourisp_mailserver.tld
userid@xxx.yourisp_mailserver.tld
assword > /opt/zimbra/conf/relay_password;
postmap hash:/opt/zimbra/conf/relay_password;
postmap -q xxx.yourisp_mailserver.tld /opt/zimbra/conf/relay_password;
postconf -e smtp_sasl_password_maps=hash:/opt/zimbra/conf/relay_password;
postconf -e smtp_sasl_auth_enable=yes;
postconf -e smtp_use_tls=yes;
postfix reload;
postconf -e smtp_cname_overrides_servername=no;
postconf -e smtp_sasl_security_options=noanonymous
postfix reload;
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_use_tls=yes;
zmlocalconfig -e postfix_smtp_cname_overrides_servername=no;
zmlocalconfig -e postfix_smtp_sasl_security_options=noanonymous;
zmprov mcf zimbraLastLogonTimestampFrequency 1h;
zmprov mcf zimbraDefaultDomainName yourzimbradomain.tld;
zmprov mc default zimbraFeatureCalendarReminderDeviceEmailEnabled TRUE;
Do this only if you're running Zimbra FOSS 7
as root, after upgrade or install
/opt/zimbra/libexec/scripts/migrate20100913-Mysql51.pl
Last thing, you need to be sure your split DNS is setup and working properly if you are sitting behind a NAT. I assume that's all good.