Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.