Choose relayhost based on the postfix smtpd instance
- by Zizzencs
I'd like to setup a postfix host (using RHEL 5.4's default postfix, which is version 2.3) with the following characteristics:
an SMTP listener listens on 10.0.0.1:25 and relays all e-mails to 10.0.0.1:2525
an SMTP listener listens on 10.0.0.1:2525 and relays all e-mails to 10.0.0.2:25
Basically the challenge here is to use two different relayhosts for the different SMTP listeners.
Is it possible? Is there a better solution to achieve similar behavior?