On 9/24/2012 11:04 AM, Kingsquare.nl - Marc van Duivenvoorde wrote: > Hi, I've got a question. Let's say I have a machine with 4 ipnumbers, > all of which are being used to send e-mail. Is it possible to enforce > that whenever someone connects to smtp on one of these numbers, that > the smtpd will use the same ip? > > I have a shared machine, only for one mail account I use a dedicated > ip as it's the relayhost for my web platform. The web platform has > local postfix instances which use relayhost and sasl authentication to > connect to my box and send off all possible e-mail. The only thing is, > all mail being relayed from this box has another outgoing hostname and > ip number than the dedicated incoming one. > > Met vriendelijke groet, > > Marc van Duivenvoorde > Kingsquare information services. >
To keep mail within a specific incoming-outgoing IP set, you'll need to use multiple postfix instances. This is fairly easy with recent postfix versions. http://www.postfix.org/MULTI_INSTANCE_README.html -- Noel Jones