I used to have a domain, GulfBreeze.com, pointing to a server which handled the DNS, web server, and mail server. It worked fine. Then, I switched the dns manager to Cloudflare. I now have the site at a different server than the mail server.
Now, my emails don’t go through. The mail server is at 18.104.22.168 and mail is served by mail.fans.email.
This is the line I get from my sending mail server (not the receiving) when I send an email to [email protected]:
Jan 10 16:46:52 localdomain postfix/smtp: D78E3208C1: to=<[email protected]>, relay=gulfbreeze.com[22.214.171.124]:25, delay=300, delays=0/0/300/0, dsn=4.4.2, status=deferred (conversation with gulfbreeze.com[126.96.36.199] timed out while receiving the initial server greeting)
So my mail server, the sending mail server, is trying to connect to 188.8.131.52, which is not the location of the mail server.
My DNS records are below.
;; SOA Record gulfbreeze.com. 3600 IN SOA gulfbreeze.com. root.gulfbreeze.com. 2029882677 7200 3600 86400 3600 ;; A Records email.gulfbreeze.com. 1 IN A 184.108.40.206 gulfbreeze.com. 1 IN A 220.127.116.11 mail.gulfbreeze.com. 1 IN A 18.104.22.168 ;; CNAME Records www.gulfbreeze.com. 1 IN CNAME gulfbreeze.com. ;; MX Records gulfbreeze.com. 1 IN MX 1 mail.fans.email. mail.gulfbreeze.com. 1 IN MX 10 mail.fans.email. ;; TXT Records gulfbreeze.com. 1 IN TXT "ca3-6e2632f6738c43bfacf92fa840872844"