Already registered? Log in
Below is the simple guide on how to configure Zimbra MTA (version 8.5 or later) to send outgoing emails using your SMTP2GO’s SMTP Server.
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 `zmhostname` zimbraMtaRelayHost mail.smtp2go.com:2525
Enabling SMTP authentication: Create a text file with the username/password. Replace USERNAME with your SMTP2GO Username and PASSWORD with your SMTP2GO password.
echo mail.smtp2go.com USERNAME:PASSWORD > /opt/zimbra/conf/relay_password
Create a postfix lookup table:
postmap /opt/zimbra/conf/relay_password
To test that the lookup table is correct, the following command should return the USERNAME:PASSWORD
postmap -q mail.smtp2go.com /opt/zimbra/conf/relay_password
Configure postfix to use the new password map:
zmprov ms `zmhostname` zimbraMtaSmtpSaslPasswordMaps lmdb:/opt/zimbra/conf/relay_password
Configure postfix to use SSL authentication:
zmprov ms `zmhostname` zimbraMtaSmtpSaslAuthEnable yes
Configure postfix to use the outgoing server name rather than the canonical server name:
zmprov ms `zmhostname` zimbraMtaSmtpCnameOverridesServername no
Enable to use TLS:
zmprov ms `zmhostname` zimbraMtaSmtpTlsSecurityLevel may
Enable Plaintext Authentication: Remove the noplaintext option to enable the plaintext authentication:
zmprov ms `zmhostname` zimbraMtaSmtpSaslSecurityOptions noanonymous
The latest update on configuration will be reflected automatically within 2 minutes.
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.