Hostname A record proxied then mail server stop working

When 2nd row A record use DNS only, mail server in outlook (domain.com) is working
When 2nd row A record is Proxied, mail server in outlook (domain.com) stop working

The mail server I use is domain.com, not mail.domain.com.
mail.domain.com has DNS only, and point to my IP address.
Why the proxied A record affect the mail server(domain.com)?

I think I know the reason. Although I use correct MX, the smtp traffic still go via root domain with its IP address. When I have my root A record proxied, it has an extra layer which doesn’t support smtp, imap, pop3 etc…

Seems like I have to either turn off the proxy mode for all, or create a subdomain like mail.domain.com with SSL cert as the mail server.

When someone sends an email to you, it will use the address in the MX record to establish SMTP contact with your mailserver, so it uses the unproxied connection.

However, you choose the domain you try to establish contact on when sending emails. If you have configured domain.com as your SMTP address in outlook, it will not work. Is there a reason you don’t use mail.domain.com as your SMTP and IMAP address?

2 Likes

Yea, I used example.com as my incoming and outgoing mail server, because I got SSL cert installed for this.
If I use mail.example.com as mail server, outlook email client will pop ssl cert warning each time.

So I think there are only 2 options for me.

  1. use example.com as my mail server, with its ssl cert, but just cannot use cloudflare proxy.
  2. setup a subdomain on my server called mail.example.com, then open mail services from there, and install ssl cert for that subdomain.

For me, I already got email setup under example.com, cannot be bothered to move again, so I will stick with option 1, but for future tasks, I would consider option 2, because I do really want to use CF proxy.

Choose this option.

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