On 11/28/2013 7:12 PM, "M.Atıf CEYLAN" wrote:
Hi,
I found the URL
http://www.kutukupret.com/2010/12/06/postfix-randomizing-outgoing-ip-using-tcp_table-and-perl/
about multiple outgoing IP using.
I use postfix with dovecot LDA. My postfix main.cf conf.
...............................
transport_maps = tcp:[127.0.0.1]:2527
127.0.0.1:2527_time_limit = 3600s
..............................
virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox.cf
virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_transport = dovecot

smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
.....................................

master.cf
...................................
rotate1  unix -       -       n       -       -       smtp
           -o syslog_name=postfix-rotate1
           -o smtp_helo_name=smtp1.mydomain.com
           -o smtp_bind_address=10.0.0.3

rotate2  unix -       -       n       -       -       smtp
           -o syslog_name=postfix-rotate2
           -o smtp_helo_name=smtp2.mydomain.com
           -o smtp_bind_address=10.0.0.4

rotate3  unix -       -       n       -       -       smtp
           -o syslog_name=postfix-rotate3
           -o smtp_helo_name=smtp3.mydomain.com
           -o smtp_bind_address=10.0.0.5
...................................

Everything is great but when I want to sending an email to a local
domain, smtp server looks at the mx record of the domain. Can I use
local transport and transport_maps together? Or is there a way to
sending to local domains?

Thanks,
Hi,

Please read the comment section of that article http://www.kutukupret.com/2010/12/06/postfix-randomizing-outgoing-ip-using-tcp_table-and-perl/#comment-22133

You can find a modified script to make exception of local domain delivery


---
Best regards,

Masegaloeh
Amateur Radio Club ITB

Reply via email to