Jump to content

Triburb-per-domain-relay-zimbra

From TetraWiki

Relay One domain mail in zimbra

Objective Due to blacklisting of the server IP need to relay alokind.com from another server provided by client.

Process to Follow

zmlocalconfig   |grep -i postfix_transport_maps
This configuration decide how mails should deliver.

vi /opt/zimbra/postfix/conf/transportfile

Create a transport file to provide the Entry of the domain to relay from the server.
ENTRY SHOULD LIKE: gmx.com :[smtp.server.net.id]
#for relaying with the specific port for any domain
richaglobal.com :[mail.tetrain.com]:587
ll /opt/zimbra/postfix/conf/transportfile
Check the permission of the file it must be zimbra.zimbra
postmap /opt/zimbra/postfix/conf/transportfile
zmlocalconfig -e postfix_transport_maps="hash:/opt/zimbra/postfix/conf/transportfile proxy:ldap:/opt/zimbra/conf/ldap-transport.cf"
Make hash for the ldap-transport.cf by transport file
less /opt/zimbra/postfix/conf/main.cf
zmmtactl restart

Source[[1]]