Re: OpenSMTPd and Monit.

2011-11-16 Thread Stuart Henderson
On 2011-11-16, Gilles Chehade wrote: > Hi, > > I have no idea about monit but I have a piece of code that might do what > you want: > > http://u.poolp.org/~gilles/projects/procstated/ fwiw, with a recent system, you can do something like this cd /var/run/rc.d; for i in *; do /etc/rc.d/$i che

Re: OpenSMTPd and Monit.

2011-11-16 Thread Tim van der Molen
On Wed, 16 Nov 2011 04:09:43 +0100, Sarah Caswell wrote: > Hi, > > I'm running a mailserver with smtpd (on OpenBSD) for a small group of folks > and get some (very occasional) crashes - usually just corrupted sessions. > No big deal, a restart of smtpd is all that it takes. > > I'm trying to cre

Re: OpenSMTPd and Monit.

2011-11-15 Thread Gilles Chehade
Hi, I have no idea about monit but I have a piece of code that might do what you want: http://u.poolp.org/~gilles/projects/procstated/ However that's just a hack, the proper fix is to provide us with the output from 'smtpd -dv' so we can fix the corrupt session bug ;-) Gilles On Tue, Nov

OpenSMTPd and Monit.

2011-11-15 Thread Sarah Caswell
Hi, I'm running a mailserver with smtpd (on OpenBSD) for a small group of folks and get some (very occasional) crashes - usually just corrupted sessions. No big deal, a restart of smtpd is all that it takes. I'm trying to create a Monit (v 4.10.1) recipe that will automatically restart the smtp