Email not working!

After successfully setting up Cloudflare for my site, my emails is not working any more.
I read an tutorial on community , but not understood anything ! Because I’m noob !
My Domain: sureans.com

There is no MX Record Found for this domain only the MX Record Found is 0:imap.sureans.com.

Greetings,

Thank you for asking.

I am sorry to hear you are experiencing an issue with receiving and/or sending e-mails while using Coudflare for your domain name.

When I do a lookup, I can see you are using multiple different hostnames like mail, imap, pop and smtp (3rd-party email provider) as a CNAME setup.
Some of them are proxied and :orange:, others :grey: (DNS-only).
Kindly, share a screenshot of your DNS tab of Cloudflare dashboard for your domain name, but please consider masking/hiding the IPs (redact the data) due to the privacy concern.

Usually, the MX record should point to a hostname such as mail , and the A (or CNAME ) type record for that hostname should be set to :grey: (DNS Only).

Furthermore, if you recently moved your domain to your Cloudflare account, I could try to troubleshoot at first sight without knowing anything other as it could be related to either:

  1. Wrongly setup e-mail related DNS records at the DNS tab of Cloudflare dashboard for your domain name
  2. Possibly missing some TXT/CNAME records (for SPF, DKIM, DMARC if so?)
  3. You are using a hostname like yourdomain.com which is :orange: (proxied) rather than the unproxied :grey: (DNS-only) like mail.yourdomain.com (possible this one not existing or is :orange: instead of being :grey:) at the DNS tab of Cloudflare dashboard, in your e-mail client for sending/receiving server (MS Outlook, Mozilla Thunderbird, etc.)

May I suggest checking below article if your e-mail records (usually the A mail and the MX record) are configured properly while you are using Cloudflare for your domain name:

I would also recommend looking into the below article due to further prevention of your e-mails being marked as a SPAM at the recipient’s side:

Nevertheless, using online tools on the links below you could test and troubleshoot more what is going on with your e-mails:

Otherwise, you might have to troubleshoot if the port like 110/143/993/995 and 25/465/587 is open at your hosting provider and contact your hosting provider to check this for you. If they are not open, then I am afraid you may not be able to receive any emails from using that web hosting/email provider.

1 Like

Thanks for your response ! Actually I’m noob !
I’m seeing 200+ Records in my DNS tab !
Should I remove some of them?
I just have 13 subdomain !

1 Like

Actually I changed my hosting multiple times!

1 Like

It’s Depends on the sevice you have .

1 Like

Currently my site is hosted on 20i Web Hosting !

Are those A-Z? :thinking:
Maybe because you have had a wildcard * (apex) hoistname at your hosting provider before you added your domain name to your Cloudflare account.

Okay, can you determine which one is your current hosting provider and have you got some e-mail alias/mailboxes configured within?, also I assume the company is your web hosting/e-mail provider too? :thinking:

Nevertheless, take a look at the DNS of your current hosting and re-check the entries related to e-mail like A mail.sureans.com and MX record.
Therefore, following the instructions from my first post, you re-check and in case if some is missing, add the missing one (or not) DNS records under the DNS tab of Cloudflare dashboard for your domain name.

Everything else is already stated in my first post how to properly configure your DNS record related to e-mail to make sure it works while using Cloudflare for your domain name.

  • make sure there is an existing A mail pointed to the IP address of your web hosting provider and it has to be :grey: (DNS-only), therefore MX sureans.com should have got the target/be pointed to mail.sureans.com
  • in your e-mail client, use mail.sureans.com for receiving/sending server (POP3/IMAP/SMTP)

Follow the instructions in above mentioned articles and you are good to go :wink:

2 Likes

Thank you Boss ! For your detailed guide ! I forgot to add a MX Record :rofl: ! Just added !

1 Like

Should I wait few hours ?
I’m getting following error , when sending mail to my webmail address !

I am afraid I do not understand this and this error you got seems not to be related to Cloudflare :thinking:

Maybe you are missing TXT records for SPF, DKIM and DMARC.

Or your message is blocked due to your IP?, or @domain being on some public DNSBL / RBL.

Or you are using wrong configuration at Gmail to send out e-mails from your domain/account.

Check this with tools for e-mail testing from my first post.

UPDATE:

When I do lookup MX for sureans.com I got:

  • _dc-mx.c5773c8fcc17.sureans.com.
  • _dc-mx.77bc98ac4a7a.sureans.com.

Third luck, kindly re-check your A mail and make sure your MX points to unproxied DNS record :grey: (DNS-only).
An MX record should point to a subdomain, such as ‘mail’, and the “A” record for that hostname should be set to :grey: DNS Only.

Share a screenshot of your DNS tab here, but please mask/hide the IPs due to the privacy concern (redact the data).

1 Like

Here’s the screenshot :
Before changing :

After Changing IMAP , POP3 proxy status :

Maybe I’ve done something incorrect… Please assist me :pleading_face:

1 Like

Good! :+1:
I can see you are using 3rd-party email provider.

  1. Records A email, A mail1, A mail2, A maila, A mailboxes, A mailb, A mail-in, A mailserver, A sftp, A webdisk, A ssh - edit each and switch from :orange: to :grey: (DNS-only)
  2. Remove record A mx
  3. Remove record AAAA *
  4. Either remove record A www.mailboxes → this won’t work without using Advanced Certificate Manager at Cloudflare due to the issue as described below, otherwise purchase ACM from the link above:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.