2009/3/3 Iad Scoot <iad.sc...@gmail.com>: > Still working on this - something that I didn't mention (sorry, should have) > was that the Postfix gateway is multi-homed and that the other edge Postfix > systems (and the internal mail servers) are each on different subnets. > > Example: > a.com: internal mail server 192.168.200.1, edge proxy 192.168.201.1 > b.com: internal mail server 192.168.210.1, edge proxy 192.168.211.1 > c.com: internal mail server 192.168.220.1, edge proxy 192.168.221.1 > > ...and so on. The gateway system has a NIC for each pair of systems and the > traffic is forwarded through a router from the internal server to the > gateway and then either back to one of the other internal servers or out to > the edge proxy that matches the sender's domain from the internal mail > server. > > How does this new info affect the previous solution that you provided?
Assuming your setup is generally sane, this shouldn't cause you any grief. You *can* bind the postfix smtp client to a given src address, but that's only useful when you're single-homed and want to use one particular address of many (for policy/firewall/whatever reasons). This doesn't apply to you, so that's fine. Another thing people sometimes want is (the currently non-existent) sender-dependent src-address. This is usually because they're trying to optimise their mass-mailings of questionable legitimacy. This also doesn't apply to you, which is fine. Left to its own devices, Postfix will let the network stack figure out how to get the packets to the destination properly. As long as your routing is all working, the details you've provided won't change anything (as far as I know).