a huge thank you for this fantastice howto that helped me loads.
Originally Posted by falko
On the old server, create a Postfix transport now so that all emails are forwarded to the ne server (for the time until the MX records of your domains have switched to the new server):
echo "* smtp:[<IP address of new server>]" >> /etc/postfix/transport
On the new server, open /etc/postfix/local-host-names and add the hostname of the old server at the bottom so that the new server accepts the forwarded mails.
Being in the process of moving my ISPConfig 2 installation to another server (which is going to have the same hostname.domainname, just another IP address
), I was wondering if there is a way to create a transport that
...sends every mail to the IP address
of the new server (as described)
...plus delivers the mail locally, as Postfix always used to.
By this means it wouldn't be an issue how long the DNS transition of the domainnames would take. Mail-wise, the two machines would always be in sync.
Could you give me a pointer on how to confure a postfix transport that would do exactly this?!
Thanks and regards,