From owner-cvs-all@FreeBSD.ORG Thu Aug 5 03:09:54 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFC0D16A4CE; Thu, 5 Aug 2004 03:09:54 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2E6143D39; Thu, 5 Aug 2004 03:09:54 +0000 (GMT) (envelope-from gshapiro@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7539sDE050697; Thu, 5 Aug 2004 03:09:54 GMT (envelope-from gshapiro@repoman.freebsd.org) Received: (from gshapiro@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7539sR5050696; Thu, 5 Aug 2004 03:09:54 GMT (envelope-from gshapiro) Message-Id: <200408050309.i7539sR5050696@repoman.freebsd.org> From: Gregory Neil Shapiro Date: Thu, 5 Aug 2004 03:09:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc/rc.d sendmail X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 03:09:54 -0000 gshapiro 2004-08-05 03:09:54 UTC FreeBSD src repository Modified files: etc/rc.d sendmail Log: Fix the startup logic for sendmail. If sendmail_enable=yes, don't start the submit and outbound daemon, else if sendmail_submit_enable=yes, don't start the outbound daemon. Only one daemon should be started. Also, do not rebuild database maps at boot time. The code didn't pay attention to SENDMAIL_MAP_TYPE and assumed 'hash'. Also, admins may not want maps automatically rebuilt just because the back end database has changed. Finally, some maps are built with mode tools than just makemap (e.g., using cidrexpand on the access text file before sending it to makemap). Noticed by: ache Reviewed by: ache Revision Changes Path 1.12 +11 -10 src/etc/rc.d/sendmail