How I do to make postfix to run on 2 different ports (25 and 26), and then reply with the banner "dns1.sebbe.eu SMTP ready" on port 25, and reply with the banner "dns2.sebbe.eu SMTP ready" on the port 26?
Else, all other processing should be the same, mail should be sent to same handler and so on.
The reason is restrictions in different services and registrar, requiring 2 mail servers, 2 DNS servers and so on. So I just did so 2 different IPs Point to the exactly same machine, so those services stop complaining.
You can configure this via /etc/postfix/master.cf.
Add a separate transport for port 26 with the option myhostname=dns2.sebbe.eu.
I.e. change:
to:
and then restart postfix.
But I would personally change it to:
So you have them listening directly to port 25 on the correct IP addresses.