07-08-2014, 11:49 AM | #1 |
Junior Member
Join Date: Apr 2010
Posts: 19
|
ISPManager 5 + Postfix outgoing IP by domain don't work
Hi,
On IPSManager 5 documentation (http://en.5.ispdoc.com/index.php/Mai..._about_Postfix). It says that postfix can bind outgoing email to IP. We have checked and the file "/etc/postfix/ssd_transport_maps.regexp" e created, and also "master.cf" is correct: /etc/postfix/ssd_transport_maps.regexp @domain1.com\.com$/ domain1.com: /etc/postfix/master.cf domain1.com unix - - n - - smtp -o syslog_name=postfix-192.168.0.103 -o smtp_bind_address=192.168.0.103 But when we try to send and email as "domain1.com" the email is sent by the shared IP "192.168.0.102" instead of "192.168.0.103". The server has real IPs instead of internal IPs. Maybe the problem is that postfix used on Centos is 2.6 instead of 2.7 ? |
07-17-2014, 11:38 AM | #3 |
ISPsystem team
Join Date: Jun 2010
Posts: 46
|
MV1980, yes, this feature works for postfix 2.7
also you should check main.cf for strings: ------------------------------------------------------------------------------ sender_dependent_default_transport_maps = regexp:/etc/postfix/domainips default_transport = smtp: ------------------------------------------------------------------------------ see documentation here http://en.ispdoc.com/index.php/Sendi...n_email_domain |
|
|