From owner-freebsd-ports@FreeBSD.ORG Sun Aug 8 05:53:46 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F38A16A4CE; Sun, 8 Aug 2004 05:53:46 +0000 (GMT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5907243D41; Sun, 8 Aug 2004 05:53:45 +0000 (GMT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.1/8.13.1) with ESMTP id i785riCK000626; Sun, 8 Aug 2004 09:53:44 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.13.1/8.13.1/Submit) id i785riGr000625; Sun, 8 Aug 2004 09:53:44 +0400 (MSD) (envelope-from ache) Date: Sun, 8 Aug 2004 09:53:44 +0400 From: Andrey Chernov To: gshapiro@freebsd.org Message-ID: <20040808055343.GA572@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , gshapiro@freebsd.org, ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.26.0.10; VDF 6.26.0.63 (host: pobrecita.freebsd.ru) cc: ports@freebsd.org Subject: sendmail starts too early? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2004 05:53:46 -0000 There is a problem using sendmail with milters, which usually lives in /usr/local/* and starts from /usr/local/etc/rc.d/* Currently, sendmail starts before them, which produce this example diagnostic: Starting sendmail. WARNING: Xsentinel: local socket name /var/spool/sentinel/sentinel.socket missing WARNING: Xantivir-milter: local socket name /var/spool/avmilter/avmilter.sock missing When they starts afterwards, situation normalizes, but there is a gap between, where whole system can reject or do something potentially wrong with messages. Since converting each milter startup script under rc.subr technology is painful task, what about starting sendmail _after_ /etc/rc.d/localpkg starts? I see no drawback in that case. -- Andrey Chernov | http://ache.pp.ru/