> On May 5, 2018, at 4:43 PM, ahsan2011 <ahsan2...@gmail.com> wrote: > > I want to send emails via all 4, how do i achieve that. In my application, i > have specified the public IP which is listed in /etc/postfix/main.cf > configuration.
The local address of an outgoing TCP connection is typically chosen by the operating system based on the routing tables to the destination and other pertinent settings. Postfix can preempt this selection by explicitly setting smtp_bind_address, or by configuring exactly one address in "inet_interfaces", provided that address is not a loopback address, in which case that becomes the default source address for outbound connections. If your OS will round-robit the IPs then go with that, if not you'll have to round-robin delivery via across multiple transports, each of which has a different smtp_bind_address. Something like: http://www.postfix.org/postconf.5.html#sender_dependent_default_transport_maps sender_dependent_default_transport_maps = randmap:{smtp1, smtp2, smtp3, smtp4} Support for randmap tables is new in Postfix 3.0 (not yet mentioned in http://www.postfix.org/DATABASE_README.html#types ) -- Viktor.