Re: no cron email after restarting smtpd

2024-11-07 Thread Peter Wens
On 11/6/24 2:09 PM, Otto Moerbeek wrote: On Wed, Nov 06, 2024 at 09:40:26AM +0100, Peter Wens wrote: Hi, Restarting smtpd (e.g. after renewing acme certs) in a cron job causes cron not to send an email anymore (broken pipe?). I wonder if there is a workaround for this. Best regards, Peter

Re: no cron email after restarting smtpd

2024-11-06 Thread Peter Wens
On 11/6/24 12:55 PM, 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 cr

no cron email after restarting smtpd

2024-11-06 Thread Peter Wens
Hi, Restarting smtpd (e.g. after renewing acme certs) in a cron job causes cron not to send an email anymore (broken pipe?). I wonder if there is a workaround for this. Best regards, Peter

Re: no cron email after restarting smtpd

2024-11-06 Thread Jan Stary
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? > cron not to send an email any

Re: no cron email after restarting smtpd

2024-11-06 Thread Peter Wens
On 11/6/24 3:49 PM, Otto Moerbeek wrote: 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 restarti

Re: no cron email after restarting smtpd

2024-11-06 Thread Otto Moerbeek
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 r

Re: no cron email after restarting smtpd

2024-11-06 Thread Omar Polo
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 i

Re: no cron email after restarting smtpd

2024-11-06 Thread Jan Stary
> > In a cronjob: after a cert change restart smtpd (can reload > httpd/relayd/dovecot) > > > > cron not to send an email anymore > > > > What email? > > Email from the Cron Daemon. You have the cron log. Does cron run the job? > > What exactly is the cron job? That is to say: show the cront

Re: no cron email after restarting smtpd

2024-11-06 Thread Otto Moerbeek
On Wed, Nov 06, 2024 at 09:40:26AM +0100, Peter Wens wrote: > Hi, > > Restarting smtpd (e.g. after renewing acme certs) in a cron job causes cron > not to send an email anymore (broken pipe?). I wonder if there is a > workaround for this. > > > Best regards, > > Peter > echo rcctl restart sm

Re: no cron email after restarting smtpd

2024-11-06 Thread Jan Stary
> > /var/run/smtpd.sock changed after a restart. > > That has IMHO nothing to do with cron sending an email. Ah. Right.