From owner-freebsd-questions@FreeBSD.ORG Mon Mar 29 01:21:38 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25FAF16A4CE for ; Mon, 29 Mar 2004 01:21:38 -0800 (PST) Received: from mail.hacknslash.org (bdsl.66.14.131.218.gte.net [66.14.131.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FEF843D31 for ; Mon, 29 Mar 2004 01:21:34 -0800 (PST) (envelope-from octavian@hacknslash.org) Received: (qmail 19025 invoked from network); 29 Mar 2004 09:22:23 -0000 Received: from phobos.lexis.int (HELO phobos) (10.0.0.15) by mail.hacknslash.org with RC4-MD5 encrypted SMTP; 29 Mar 2004 09:22:23 -0000 From: "Octavian Hornoiu" To: Date: Mon, 29 Mar 2004 01:21:29 -0800 Message-ID: <004d01c4156f$379dfb30$0f00000a@phobos> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: how to delay sendmail start? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: octavian@hacknslash.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 09:21:38 -0000 I would like to delay sendmail starting until AFTER my local daemons start. Is there a way to do this or is it built into the base system. Could I set SENDMAIL=NO in rc.conf and then write a script in local to start the sendmail daemon? The reason I have to do this is because I'm using a djbdns cache on the same machine that the machine uses to lookup dns records and since it's not running yet when sendmail starts, sendmail enters panic mode and does goofy stuff. Thanks for your help! Octavian Hornoiu p.s. please CC me in replies as I am not on list at the moment.