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