Let's Encrypt Expiration notifications

General eFa discussion
Post Reply
jlau
Posts: 6
Joined: 21 Nov 2020 06:13

Let's Encrypt Expiration notifications

Post 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!
User avatar
shawniverson
Posts: 3782
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Let's Encrypt Expiration notifications

Post 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.
jlau
Posts: 6
Joined: 21 Nov 2020 06:13

Re: Let's Encrypt Expiration notifications

Post 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!
Post Reply