Re: auto smtp_bind_address

2020-10-07 Thread natan
Hi Wietse thanks for replay - now I have that solutions sender_dependent_default_transport_maps =     pcre:/etc/postfix/vipout.pcre, 1)    memcache:/etc/postfix/memcache_sender_dependent_cache.cf, 2)   memcache:/etc/postfix/memcache_sender_dependent_default_cache.cf 1) query to private IP for dom

Re: auto smtp_bind_address

2020-10-07 Thread Wietse Venema
natan: > Hello > I have such a solution: > > 1)One serwer to incomming > 2)One server to outgoing > > All Customers in their mail clients (outgoing) use adress: smtp.foobar.org > > In main.cf I use? smtp_bind_address - for default IP send > and sender_dependent_default_transport_maps (for indiwy

Re: auto smtp_bind_address

2020-10-07 Thread natan
Hello Another problem is "Hello" Does anyone have a solution to this IP rotation problem? On 07.10.2020 12:46, natan wrote: > Hi > I thinking about rotate via iptables like > > iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 25 -o > eth0 -m statistic --mode nth --packet 1 --eve

Re: auto smtp_bind_address

2020-10-07 Thread natan
Hi I thinking about rotate via iptables like iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 25 -o eth0 -m statistic --mode nth --packet 1 --every 2 -j SNAT --to-source IP1 iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 25 -o eth0 -m statistic --mode nth --pa

auto smtp_bind_address

2020-10-07 Thread natan
Hello I have such a solution: 1)One serwer to incomming 2)One server to outgoing All Customers in their mail clients (outgoing) use adress: smtp.foobar.org In main.cf I use  smtp_bind_address - for default IP send and sender_dependent_default_transport_maps (for indiwydual IP) works fine. Is an