Jump to content

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

From TetraWiki
Amit (talk | contribs)
Created page with " == 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 ..."
 
Amit (talk | contribs)
Line 7: Line 7:


'''Process to Follow'''
'''Process to Follow'''
  zmlocalconfig  |grep -i postfix_transport_maps
  zmlocalconfig  |grep -i postfix_transport_maps
  This configuration decide how mails should deliver.
  This configuration decide how mails should deliver.
 
vi /opt/zimbra/postfix/conf/transportfile
vi /opt/zimbra/postfix/conf/transportfile
 
  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]
  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


  postmap /opt/zimbra/postfix/conf/transportfile
  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"
  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
  Make hash for the ldap-transport.cf by transport file
  less /opt/zimbra/postfix/conf/main.cf
  less /opt/zimbra/postfix/conf/main.cf


  zmmtactl restart
  zmmtactl restart


'''''Source'''''[[http://wiki.zimbra.com/index.php?title=Transport_Table_for_external_servers]]
'''''Source'''''[[http://wiki.zimbra.com/index.php?title=Transport_Table_for_external_servers]]

Revision as of 15:24, 24 October 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]
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]]