Zimbra Relay Host Integration: zimbraMtaRelayHost Guide

· 375 views · Pitbull Secure Gateway

Pitbull relay host configuration on Zimbra mail server: step-by-step relayhost, SASL auth and MX gateway via zmprov CLI.

Zimbra is a widely used enterprise email and groupware platform. It uses Postfix MTA underneath and relay configuration is done via the zmprov CLI.

zimbraMtaRelayHost Configuration

su - zimbra
zmprov ms $(zmhostname) zimbraMtaRelayHost relay.pitbull.com.tr:587
zmprov ms $(zmhostname) zimbraMtaSmtpSaslAuthEnable yes
zmprov ms $(zmhostname) zimbraMtaSmtpSaslPasswordMaps lmdb:/opt/zimbra/conf/relay_password

SASL Password File

# /opt/zimbra/conf/relay_password
relay.pitbull.com.tr tenant@pitbull.com.tr:RELAY_TOKEN

postmap /opt/zimbra/conf/relay_password
zmcontrol restart

Inbound MX Gateway

Point DNS MX records to the Pitbull gateway. All inbound traffic passes through Rspamd, DMARC and ClamAV checks before reaching Zimbra.

Multi-Server Zimbra

If there are multiple Zimbra MTA nodes, run zmprov ms separately for each. Alternatively, use zmprov mcf to change global config.

Conclusion

Zimbra + Pitbull integration delivers centralized security, quarantine and NOC visibility for enterprise email infrastructure.