What I'm trying to do is to set zimbra properly. I'm using on my server multiple domains. All on one IP address.
But for one new domain, I want it to be visible differently. What I want to achieve is to prepare special IP address for this one domain on zimbra server, and configure zimbra to use it for sending and receiving e-mails.
So - postfix must be listening on this IP address.
If I connect to this IP, I should have HELO with my "new" domain
And if I send e-mail from zimbra - it should be sent from this new IP.
So what I did:
I tried VirtualIPAddress
on zimbra (just to be proper everywhere - this will not help me - I know - it's for webmail certs only, until SNI will be deployed in Zimbra 9)
And tried configure domain like this:
http://forums.zimbra.com/administrators/58056-how-set-different-outgoing-ip-each-domain.html
So I've got sender dependent regexp to:
/@domain\.com$/ domain_com
and in master.cf.in i've got:
domain_com unix - - n - - smtp
-o smtp_bind_address=1.1.1.1 (my new IP)
-o smtp_helo_name=domain.com
-o smtpd_banner=domain.com ESMTP
-o syslog_name=postfix-domain_com
So what I've got here - Seems like Zimbra 8.6.0 is not loading this file, since there is no errors (It should be I think - Since default zimbra is listening on all ports - there should be conflict)
So how should I properly configure zimbra to use separate IP address for just one domain?
Also - Will this files be archived while update of zimbra? Or they will be overwritten while updating?