From owner-freebsd-questions@FreeBSD.ORG Wed Mar 21 17:57:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9459016A4C9 for ; Wed, 21 Mar 2007 17:57:49 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 79FE513C48C for ; Wed, 21 Mar 2007 17:57:47 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay7.apple.com (a17-128-113-37.apple.com [17.128.113.37]) by mail-out4.apple.com (8.13.8/8.13.8) with ESMTP id l2LHvle4010695; Wed, 21 Mar 2007 10:57:47 -0700 (PDT) Received: from relay7.apple.com (unknown [127.0.0.1]) by relay7.apple.com (Symantec Mail Security) with ESMTP id 4FE2830043; Wed, 21 Mar 2007 10:57:47 -0700 (PDT) X-AuditID: 11807125-ad65fbb00000538d-57-4601721b5488 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay7.apple.com (Apple SCV relay) with ESMTP id 3D84630041; Wed, 21 Mar 2007 10:57:47 -0700 (PDT) In-Reply-To: <80f4f2b20703211052q3e23a6b8lafbb30975fd1a5ac@mail.gmail.com> References: <80f4f2b20703211052q3e23a6b8lafbb30975fd1a5ac@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Wed, 21 Mar 2007 10:57:46 -0700 To: Jim Stapleton X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: creating rc.d scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2007 17:57:49 -0000 On Mar 21, 2007, at 10:52 AM, Jim Stapleton wrote: > I created a script in my /usr/local/etc/rc.d directory, but for some > reason it doesn't auto start when I start my machine. I added entries > to the rc.conf that I thought should work, but they did not. On a > related not, my rc.conf file doesn't seem to disable autostart of > sendmail. Could anyone advise me? Your rc script is probably not working because it might not find python under /usr/local/bin unless you explicitly set $PATH to include that directory. Secondly, you want to use sendmail_enable="NONE" rather than "NO" if you want to completely disable all of sendmail. Setting it to "NO" means that there is no sendmail daemon listening on port 25, but there will still be a local client mqueue runner spawned to handle local deliveries. -- -Chuck