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 184.108.40.206, new server IP 220.127.116.11 (only examples, not real)
On hosting provider site I changed A record for domain example.com to new server IP 18.104.22.168
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 22.214.171.124
Disable example.com on old server. Trying send mails to example.com from example1.com. All mails coming to old server 126.96.36.199
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