Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: orchardmusic.com
I ran this command: n/a
It produced this output: n/a
My web server is (include version): Nginx 1.18.0
The operating system my web server runs on is (include version): Ubuntu 22.04.2 LTS
My hosting provider, if applicable, is: Home Server
I can login to a root shell on my machine (yes or no, or I don't know): Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): Webmin 2.021
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): Certbot not installed currently
I will try and be as succinct as I can: Ubuntu Server originally installed with hostname 'orchardserver' and in the process of trying to get it working as a mail server (alongside being a web server for a Wordpress site) I must have gotten a certificate for it as 'orchardserver'.
Now several iterations later I have succeeeded - Postfix all good, receiving and sending mail, no rejections from gmail etc either - Dovecot up and talking to Postfix (maildir for both) - the problem I have is that now when I use a client (Thunderbird) to IMAP with the account it works fine as far as the Inbox is concerned but when I try and send mails from it I get:
- A security warning about a certificate (orchardserver) not matching - the hostname is now mail.orchardmusic.com not orchardserver but I don't know if that's actually the problem.
- An error message from Thunderbird if I send anyway
- An error message from the recipient refusing delivery.
I have screenshots of all the above which I will add below - I won't add anything else like config files etc as I don't know what's relevant. Basically I think I need to get rid of the old certificate but if I install certbot and ask it to delete it says ir can'r find anything - I am stuck.
The home server project is so close to finished, this is the last hurdle - I am a newbie 'server guy' but not without a little knowledge/brains, so hope someone can assist - thanks.