From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/612 Path: main.gmane.org!not-for-mail From: Csillag Tamas Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: supervising postfix Date: Mon, 1 Nov 2004 22:45:49 +0100 Message-ID: <20041101214549.GP32116@digitus> References: Reply-To: Csillag =?iso-8859-2?Q?Tam=E1s?= NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 X-Trace: sea.gmane.org 1099345569 28677 80.91.229.6 (1 Nov 2004 21:46:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Nov 2004 21:46:09 +0000 (UTC) Original-X-From: supervision-return-851-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Nov 01 22:45:57 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14] ident=qmailr) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1COjzx-0003xA-00 for ; Mon, 01 Nov 2004 22:45:57 +0100 Original-Received: (qmail 28876 invoked by uid 76); 1 Nov 2004 21:46:16 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 28870 invoked from network); 1 Nov 2004 21:46:16 -0000 Original-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: X-Operating-System: Gnu/Linux X-PPKE-NOSPAM: I promise, I will never let anything happen to you. Nemo. X-PGP-Key: http://digitus.itk.ppke.hu/~cstamas/cstamas.pgp User-Agent: Mutt/1.5.6+20040722i X-PPKE-ITK-MailScanner: Found to be clean X-PPKE-ITK-MailScanner-SpamCheck: not spam, SpamAssassin (pont=-11.913, szukseges 5, autolearn=not spam, AWL 2.99, BAYES_00 -4.90, LOCAL_PPKE -10.00) Xref: main.gmane.org gmane.comp.sysutils.supervision.general:612 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:612 First I apologize for a late reply in this thread. On 10/16, Charlie Brady wrote: > > On Fri, 15 Oct 2004, Vincent Danen wrote: > > > In Annvix, we ship both exim and postfix (exim being preferred... it > > runs awesome supervised). The same can't be said of postfix, however. > > You can't expect any help from Postfix's author: > > http://archives.neohapsis.com/archives/postfix/2001-08/1455.html > > Postfix must be started with the postfix-script shell script that > is provided with the Postfix source code. Other startup procedures > are not supported. In other words, if you start Postfix in a > different manner, then you've broken the Postfix warranty. You do > so at your own risk, and I don't care why it breaks. > I'm read that mail above (the link) and it is all about Solaris' bad setsid implementation, is not it? > > > $daemon_directory/master 2>&1 > > > > > > I can't use exec for master because if I do I get this written to my > > mail.log: > > > > Oct 9 14:31:46 test postfix/master[1941]: fatal: unable to set session > > and process group ID: Operation not permitted Hmm, interesting... it works for me: $ cat /service/postfix/run #!/bin/sh exec 2>&1 exec /usr/lib/postfix/master And in the log: 2004-11-01_21:24:00.34350 mail.info: postfix/master[15265]: daemon started -- version 2.2-20040829 That reveals the version I am using, what's yours? -- cstamas