Score:0

Centos 7 sendmail sending emails to incorrect ip address

cn flag

Sorry, I am new to Centos 7 and sendmail.

My email server was working but I had to restart the server. After restarting the email server suddenly fail to send emails to specific domain under my control.

I checked the /var/log/maillog

Oct 26 17:02:03 a_domain sendmail[xxxx]: xxxxx: to=<b@b_domain.com>, delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=121209, relay=b_domain.com. [b_domain_ip_address], dsn=4.0.0, stat=Deferred: Connection timed out with b_domain.com.

b_domain_ip_address is ip of shopify hosting provider and not the mx record ip address I am expecting. From previous maillog, before restarting the b_domain_ip_address was correctly resolving to our email provider.

in flag
Make sure the DNS on the machine resolves correctly, If no Mx exists it will try to use a record instead, so maybe there was a temporary failure when Mx was attempted.
ImTheRealOne avatar
cn flag
I did a nslookup -q=MX b_domain.com to check the mx record from server and it is resolving the to the exchange server of our email provider.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.