Email template for Let's Encrypt creation/renewal

1 post / 0 new
#1 Wed, 07/11/2018 - 23:11
PeterP

Email template for Let's Encrypt creation/renewal

Hi, this is my first post so if I break etiquette I apologize in advance and willingly accept advice.

I am running Virtualmin GPL on CentOS 7.5.1804. I try to keep it up to date and currently it is

Webmin version 1.881, Virtualmin version 6.03, Authentic Theme 19.09.2

I have several virtual servers hosting domains using Let's Encrypt certificates. I use the Virtualmin Let's Encrypt module to request the certificates and keep them up to date. Upon auto renewal (every 2 months) I receive an email to confirm the result of the renewal - success or failure - noted in the subject line.

All is working very well, but I'd like to see the domain (or one of the FQDNs) of the certificate in the email subject line. It's just quicker to look through the subject lines to check all domains are being renewed. I presume the email is taken from a template, but where is this template kept? And would I be playing with fire if I edited the template to include $DOM in the subject?

I'm pretty good with networking, overall protocol configuration issues and fairly happy at the command line except I have a terrible memory for CLI parameters - hence my love of Virtualmin! I like to keep systems up to date and I shy away from changes that might get overwritten by an update. In those cases I try hard to live with the standard product. Just so you know where I'm coming from.

Despite all that I like to have some idea of where "things are kept" in the filesystem.

Thanks in advance Pete