I have 2 postfix servers (lets say
mail.bbb.tld) that acts as a relays for several domains (lets say
z.com) that are composed at
SMTP server at
ccc.tld can relay only to one smarthost.
So I need one of two of my postfix relays (let say
mail.aaa.tld) to accept mail from
@z.com; send mail that originates from
@y.com; and relay mail from
@z.com to the other relay (
mail.bbb.tld) that will actually send mail for
Is it possible to configure Postfix to relay mail that comes from specific domain to other/next hop/relay/smarthost?
- All servers are Centos 5.5 machines with latest Postfix installed (currently v 2.3.3)
- I've learned a lot about how to relay for destination domain but failed to google any info on how to relay mail that originates from specific domain with postfix.