ADiiL
By:
ADiiL

Sendmail won't work with a domain from godaddy linked to Digitalocean droplet and using cloudflare

April 18, 2016 511 views
Email DigitalOcean PHP DNS Configuration Management Messaging

Im linking a domain name from godaddy with my ubuntu 14.04 droplet "LAMP installed" and using cloudflare with it.

I already installed sendmail in ubuntu.

my problem is when I send a mail using php mail it shows that it sent correctly but I don't receive anything in my email. so I guess it's a problem of DNS / MX records in either Digitalocean or cloudflare. which I don't know how to configure I think.

this is the RECORDS im using in digitalOcean :

A @ 198.199.85.95
NS ns1.digitalocean.com.
NS ns2.digitalocean.com.
NS ns3.digitalocean.com.

and this is the RECORDS im using in CloudFlare :

A
codacio.com points to 198.199.85.95 Automatic

CNAME
ftp is an alias of codacio.com Automatic

CNAME
email is an alias of email.secureserver.net Automatic

CNAME
www is an alias of codacio.com Automatic

MX
codacio.com mail handled by mailstore1.secureserver.net Automatic

MX
codacio.com mail handled by smtp.secureserver.net Automatic

( all DNS and HTTP Proxy (CDN) Checked)

1 Answer
Have another answer? Share your knowledge.