Emais from local domains going to old server

1 post / 0 new
#1 Tue, 06/04/2019 - 02:38
hermes101

Emais from local domains going to old server

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)

  1. On hosting provider site I changed A record for domain example.com to new server IP 214.22.22.22

  2. Waiting for 1 day (now it is more)

  3. Trying send mails to example.com from gmail from yahoo from other, all mails coming ok to new server.

  4. Trying send mails to example.com from example1.com. All mails coming to old server 213.21.21.21

  5. 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