Many years had old mail server (Debian 6, Postfix, Virtualmin 3.86 etc.) and after things with SSL certificates I prepared new mail server on Debian 9, with all things and newest VM. I migrated multiple domains example.com, example1.com, example2.com from old server to new as described in VM instruction. Then I started testing with one domain, let’s say example.com, old server IP 213.21.21.21, new server IP 214.22.22.22 (only examples, not real)
-
On hosting provider site I changed A record for domain example.com to new server IP 214.22.22.22
-
Waiting for 1 day (now it is more)
-
Trying send mails to example.com from gmail from yahoo from other, all mails coming ok to new server.
-
Trying send mails to example.com from example1.com. All mails coming to old server 213.21.21.21
-
Disable example.com on old server. Trying send mails to example.com from example1.com. All mails coming to old server 213.21.21.21
My question is where I need change configuration that all mails from local domains going to new server.
I hope I clearly explained
Thank you in advanced