Jump to content

Triburb-per-domain-relay-zimbra: Difference between revisions

From TetraWiki
No edit summary
Amit (talk | contribs)
Line 14: Line 14:
  Create a transport file to provide the Entry of the domain to relay from the server.
  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]
  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
  ll /opt/zimbra/postfix/conf/transportfile
  Check the permission of the file it must be zimbra.zimbra
  Check the permission of the file it must be zimbra.zimbra

Revision as of 07:41, 12 November 2013

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]]