I am currently trying to set up an email server, and recently stumbled over getting a SSL certificate from Let's Encrypt in this question and realizing it isn't necessary if I don't have a web server, and from the accepted answerer's advice can instead use sudo certbot certonly --standalone -d mail.example.com
if I don't have one. I ran into a second problem, and was encouraged by the answerer to create a separate question for it as it is a separate issue.
I tried sudo certbot certonly --standalone -d mail.example.com
putting in my own mail subdomain and have seemed to have opened another can of worms:
Detail: No valid IP addresses found for mail.[my domain name]
This is a bit confusing. Perhaps I have set my MX record wrong? I will list out my DNS records (I've blacked out my droplet's IP address and domain name as I have no clue if it is safe or not to share these things over the internet. If they are necessary to include and it's safe I have no problem unredacting this):
Here, the redacted bits in the 'Value' column all hide by droplet's IP address and the redacted bits in hostname hide my domain url. It seems to me I have the sufficient records needed to make a connection. I have an A-record pointing domain name to droplet IP address, and I have an MX record that points my mail subdomain to my droplet IP address. Unless I'm mistaken (which I suppose I must be), this should be enough for a mail server.
0 Answers