On Wed, Nov 06, 2024 at 03:36:47PM +0100, Omar Polo wrote: > > On 06/11/24 12:55, Jan Stary wrote: > > On Nov 06 09:40:26, pe...@200mmx.net wrote: > >> Restarting smtpd (e.g. after renewing acme certs) in a cron job > > So, restarting after a cert change, or restarting in a cron job? > > Do you renew the certs in a cron job too? > > Why would you be restarting smtpd in a cron job? > > How do you manage smtpd certs? > > acme-client example.com && rcctl reload httpd && rcctl restart smtpd > > doesn't seem strange to me, and shouldn't incur in email losses. I'll try to > replicate. >
I think cron runs with a pipe to a local MSA process. That MSA process gets stopped on smtpd restart -Otto