Page 1 of 1

Let's Encrypt Expiration notifications

Posted: 15 Apr 2024 21:32
by jlau
Hello everyone,

I have configured Let's Encrypt on my efa-4.0.4 box.
It is working great, however I am getting email notifications every time crontab checks for certificate renewal, whether the certificate IS or IS NOT up for renewal.

Crontab checks for certificate renewal twice a day (noon and midnight), so I'm getting 2 emails per day saying :
Cert not yet due for renewal
(skipped) No renewals were attempted
Is there a way to change these notifications to only go out when the certificate has been deemed ready for renewal?


Thanks!

Re: Let's Encrypt Expiration notifications

Posted: 29 Apr 2024 20:34
by shawniverson
Let me think about this one...I'm not sure certbot itself can do this but may be able to suppress it in the cron job itself with a wrapper script.

Re: Let's Encrypt Expiration notifications

Posted: 30 Apr 2024 03:30
by jlau
Hello @shawniverson

These emails aren't coming from letsencrypt, they are being sent out directly from the efa box by the cronjob
"From: "(Cron Daemon)" <root@mydomain.com>"
Also double checked and confirmed on the message headers.

Thank you for looking into it!