Recently I upgraded Letsencrypt certs but forgot to restart sendmail. Is there an option in sendmail checking the cert files updated? The starttls.m4 contains this:
define(`CERT_DIR', `/etc/letsencrypt/live/xyz')
define(`confCACERT_PATH', `CERT_DIR')
define(`confCACERT', `CERT_DIR/fullchain.pem')
define(`confSERVER_CERT', `CERT_DIR/cert.pem')
define(`confSERVER_KEY', `CERT_DIR/privkey.pem')
define(`confCLIENT_CERT', `CERT_DIR/cert.pem')
define(`confCLIENT_KEY', `CERT_DIR/privkey.pem')
PS: I know how to reload a service but I am wondering if a service might to be aware of this and specifically if sendmail is.