Already registered? Log in
Below is the simple guide on how to configure Zimbra MTA 8.0 to send outgoing emails using your SMTP2GO’s SMTP Server. If your Zimbra MTA version is 8.5 or later, please click here.
Login to your server via SSH as ‘root’ user. We recommend to do the following steps as zimbra user.
su - zimbra
Setting a relay host: Change the relay host to mail.smtp2go.com followed by port 2525 (8025, 587 and 25 can also be used).
zmprov ms server.domain.com zimbraMtaRelayHost mail.smtp2go.com:2525
Enabling SMTP authentication: Create a text file with the username/password:
echo mail.smtp2go.com USERNAME:PASSWORD > /opt/zimbra/conf/relay_password
Replace USERNAME with your SMTP2GO Username and PASSWORD with your SMTP2GO 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 mail.smtp2go.com /opt/zimbra/conf/relay_password
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 server name rather than the canonical server name:
zmlocalconfig -e postfix_smtp_cname_overrides_servername=no
Enable TLS: As zimbra user, enable to use TLS:
zmlocalconfig -e postfix_smtp_use_tls=yes
Enable Plaintext Authentication: Remove the noplaintext option to enable the plaintext authentication:
zmlocalconfig -e postfix_smtp_sasl_security_options=noanonymous
Restart postfix:
postfix reload
Note: If you see an error ‘550 unable to verify sender address’ when trying to send an email after setting up, this means your ‘From’ email address doesn’t have a valid MX record setup yet. All emails must be sent from an email address that has an MX record at its domain name.
Try SMTP2GO free for as long as you like:
Try SMTP2GO Free → Paid plans available for over 1,000 emails/month.