Mail Server SSL Bug

[05.16.2021_20-53-23] Invalid request headers
[05.16.2021_20-54-36] Trying to obtain SSL for: mail.domain.tld and: www.mail.domain.tld
[05.16.2021_20-54-36] /root/.acme.sh/acme.sh --issue -d mail.domain.tld -d www.mail.domain.tld --cert-file /etc/letsencrypt/live/mail.domain.tld/cert.pem --key-file /etc/letsencrypt/live/mail.domain.tld/privkey.pem --fullchain-file /etc/letsencrypt/live/mail.domain.tld/fullchain.pem -w /home/mail.domain.tld/public_html --force
[05.16.2021_20-54-39] Failed to obtain SSL for: mail.domain.tld and: www.mail.domain.tld
[05.16.2021_20-54-39] Trying to obtain SSL for: mail.domain.tld
[05.16.2021_20-54-41] Failed to obtain SSL, issuing self-signed SSL for: mail.domain.tld
[05.16.2021_20-54-41] {‘[email protected]’: (554, b’5.7.1 [email protected]: Relay access denied’)}
[05.16.2021_20-54-41] Websites matching query does not exist. [installSSLForDomain:72]
[05.16.2021_20-54-41] Self signed SSL issued for mail.domain.tld.


Website SSL is perfect / Cyberpanel hostname SSL is perfect (subdomain) / but mail.domain JUST FAILS…

I’m going crazy. Why is it still issuing a SELF signed SSL? I’ve tried the following:

  1. upgrading cyberpanel
  2. reinstalling certbot
  3. using cloudflare dns (i switched back)
  4. MX records removed and RE did them (verified via commandline/ssh)
  5. made intoDNS statistics PERFECT (except for single point of failure notices)

You might have reached your weekly limit, try to run

/root/.acme.sh/acme.sh --issue -d mail.domain.tld -d www.mail.domain.tld --cert-file /etc/letsencrypt/live/mail.domain.tld/cert.pem --key-file /etc/letsencrypt/live/mail.domain.tld/privkey.pem --fullchain-file /etc/letsencrypt/live/mail.domain.tld/fullchain.pem -w /home/mail.domain.tld/public_html --force

run this command on terminal and you will see why, replace with your domain name.

I figured out that it must’ve been a ‘corrupted’ vhost. I solved it by DELETING the ‘subdomain’ and re-adding the subdomain -_-.