Good morning to all.
I have one email server with the public IP ex. 1.2.3.4. In this server I have the web access and SMTP services. I have an A record that point to server IP but the cloudflare do not separate the two services.
How can I do this? To separate the web access with proxy (proxied) and the smtp without proxy (dns only) for the same IP. Is this possible?
Thanks.
Hi @mdefalco,
Most people just create a second hostname that is and use that to connect for SMTP etc. Usually
mail.example.com
or smtp.example.com
.
Hi domjh, thanks for your reply. I have this config problem:
A mail 1.2.3.4 DNSonly
…
MX domain.com mail.domain.com DNSonly
my IP is for web access and smtp services both. How can I split/separate the two services correctly (with no IP conflict)? I have only one IP 1.2.3.4. Can you explain me please.
I’m not sure what you mean about an IP conflict. Web services can go through the proxied hostname, but any non-HTTP traffic should go direct to the server on the unproxied one. What issue are you having with that?
Hi domjh, I have changed the config like this: “mail” is for web access proxied; smtp is for mail services DNSonly
A mail 1.2.3.4 proxied
A smtp 1.2.3.4 DNSonly ALERT
MX domain.com smtp.domain.com
On the second A record smtp I have an alert: “this record expose the IP behind mail.domain.com witch you have proxied through Cloudflare. To fix this change it’s proxy status”.
But I want the mail web services behind the proxy. Can I solve the alert or I can’t.
No, you can’t remove that if you host your web and email services on the same server.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.