monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: postfix, anyone


From: Igor Homyakov
Subject: Re: postfix, anyone
Date: Thu, 8 Aug 2002 09:42:09 +0400
User-agent: Mutt/1.4i

On Wed, Aug 07, 2002 at 06:35:28PM -0700, Rory Toma wrote:
> Before I go and figure out how to do this...

> I'm now running monit on my personal server (monit's not just for work
> anymore!) and one of the things I run is postfix instead of sendmail.
> Does anyone have a working monitrc statement for postfix? I believe it
> runs at least master and qmgr regularly. However these are all started
> from a postfix binary that starts other binaries and then exits, so the
> hacking pid file into init script doesn't work. I suppose one could
> modify qmgr and master to write pid files, but it would be nice to work
> without that.

from my monitrc:
check master with pidfile /var/spool/postfix/pid/master.pid
        start program = "/etc/init.d/postfix start"
        stop  program = "/etc/init.d/postfix stop"
        port 25 use type tcp with proto smtp
        alert address@hidden

it works ...

--
Igor Homyakov
<homyakov AT ramax.spb.ru>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]