Zimbra & Sendgrid SMTP Setup

All the operations need to be done as a Zimbra user.

1. Point a domain to an SMTP server

zmprov ms mail.example.com zimbraMtaRelayHost smtp.sendgrid.net


2. Add SMTP authentication for smtp relay server

echo smtp.sendgrid.net username:password > /opt/zimbra/conf/relay_password


3. Export it to postfix

postmap hash:/opt/zimbra/conf/relay_password


4. Check the credentials are saved properly

postmap -q smtp.sendgrid.net /opt/zimbra/conf/relay_password


5. Setup SASL to use smtp relay authentication Continue reading Zimbra & Sendgrid SMTP Setup