usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.53k stars 591 forks source link

[BUG] Missing subject and information in email notification on Let's Encrypt renewal success #902

Open Oceanwatcher opened 2 years ago

Oceanwatcher commented 2 years ago

The emails that are sent out when a Let's Encrypt SSL is renewed successfully is missing both subject and a human friendly explanation. This probably requires an edit of the email template.

My suggestions:

Subject: mywebsitename.com - Let's Encrypt SSL was renewed successfully

Email text (above the actual text from the renewal process):

Dear admin of mywebsitename.com,

Your website SSL certificate from Let's Encrypt was automatically renewed successfully, and your site is protected for the next 90 days. Below, you will find a log from the renewal and the new certificate. No further action is required by you.

Regards,

Your hosting company

Orgoth commented 7 months ago

I set up a server with Cyberpanel yesterday and was also surprised by these mails, although I was more disturbed by the fact that there is no recipient and the subject is completely empty. This makes automatic classification and assignment of the mails very time-consuming.

The funny thing is, if I run Lets Encrypt manually via cronjob and the bash tool "Dehydrated", then the mails arrive completely clean.

Please tell us at least where we can customize the mails ourselves, or the script that triggers the mails.

Then we can adapt it ourselves.

CyberPanel: Auswahl_789

Dehydrated: Auswahl_790

@usmannasir