Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a server that hosts multiple websites that send email. Each domain has its own IP address, and I would like Postfix to send outgoing email on the same IP so the reverse DNS points back to the same domain, but Postfix always sends via the first IP it binds to. I would like to configure Postfix to via different IP based on the domain of the sender's email address.

share|improve this question

You could use sender_dependent_default_transport_maps to select different transports according to sender. Each transport could use smtp_bind_address to bind to different IPs.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.