Issue with outgoing mail

I am hosting my site on name cheap and only email server is through mail in a box on a digital ocean server.

I am getting bounce back for some of the mails. I have checked my mail server settings and found out that SPF records are not properly set, maybe that’s why we are unable to send mail and our mails considered as spam. Here I am adding report link and a image of my setting for mail-in-box please take a look

Screenshot_2018-12-07%20box%20ehsconsultantsgroup%20org%20-%20Mail-in-a-Box%20Control%20Panel
Screenshot_2018-12-07 box ehsconsultantsgroup org - Mail-in-a-Box Control Panel.png1841x2590 343 KB

https://drive.google.com/file/d/1XWuUVooH6XRaef-qw01e3-K4l8y4Qkdd/view?usp=sharing

Looks like you have a stale A record for mail.ehsconsultantsgroup.org:

Query MX record from DNS server for: ehsconsultantsgroup.org
[MX]: mail.ehsconsultantsgroup.org
Testing mechanism A:mail.ehsconsultantsgroup.org/128
Query A record from DNS server for: mail.ehsconsultantsgroup.org
[A]: 198.54.126.36

Which points to the wrong server. This might be causing SPF to fail.

Thanks for the reply I did update the IP of mail.ehsconsultantsgroup.org and now it’s working fine. Thanks alot.

1 Like