Zimbra: Assign a dedicated Outgoing SMTP IP for a domain

Zimbra Outgoing SMTP IP per Domain

 

1. Add the following line in “/opt/zimbra/postfix/conf/main.cf”

 

sender_dependent_default_transport_maps = regexp:/opt/zimbra/postfix/conf/sdd_transport_maps.regexp

 

2. Create the file “/opt/zimbra/postfix/conf/sdd_transport_maps.regexp” and add the domains as below

 

/@example\.com$/           example_com:

 

3. Once done edit “/opt/zimbra/postfix/conf/master.cf.in” and add the below code

 

example_com unix -       -       n       -       -       smtp

-o smtp_bind_address=<dedicated IP>

-o smtp_helo_name=mail.example.com

-o syslog_name=postfix-example

 

4. Restart postfix.

 

Updated: July 4, 2016 — 7:31 pm

Leave a Reply

Your email address will not be published. Required fields are marked *

18 − 6 =

www.hostingdada.net © 2016