Report this

What is the reason for this report?

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

Posted on April 18, 2016

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)

##############



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

UP ANY ANSWER ?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.