On 29.05.20 12:29, George wrote:
I have an anti spam postfix gateway running on an Ubuntu server. Currently
I use relayhost on multiple web servers for sending mail through the
gateway.

On the postfix gateway I have multiple secondary IPs. What I want to do is
to configure the gateway so mail sent from a particular web server through
the gateway to go out from a particular secondary IP from the gateway
server like below:
webserver1 -> gateway -> secondaryIP1
webserver2 -> gateway -> secondaryIP2

I tried to use sender_dependent_default_transport_maps but had no luck so
far.

how?

if you define different smtp transports with different smtp_bind_address
defined in master.cf, the sender_dependent_default_transport_maps should do
what you want.

Can someone please advise on how I can go with implementing this?
Thanks in advance.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler

Reply via email to