From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 06:23:44 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 F333616A420 for ; Thu, 6 Oct 2005 06:23:43 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE73B43D46 for ; Thu, 6 Oct 2005 06:23:43 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.71.31]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0INX00L8JDRH34SS@vms044.mailsrvcs.net> for freebsd-questions@freebsd.org; Thu, 06 Oct 2005 01:23:42 -0500 (CDT) Date: Thu, 06 Oct 2005 02:23:43 -0400 From: Chuck Swiger In-reply-to: <20051004161847.Y538@andrsn.stanford.edu> To: Annelise Anderson Message-id: <4344C2EF.9070905@mac.com> Organization: The Courts of Chaos MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <20051004161847.Y538@andrsn.stanford.edu> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Cc: freebsd-questions@freebsd.org Subject: Re: sendmail not starting at boot 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: Thu, 06 Oct 2005 06:23:44 -0000 Annelise Anderson wrote: > On 5.4-STABLE as of October 1, sendmail doesn't start on reboot. > I have to either do it by hand or run sh rc.sendmail (which does > start it). There's no sendmail.sh in /usr/local/etc/rc.d. Sendmail is part of the FreeBSD base system by default, and not something in /usr/local. You should have a /etc/rc.d/sendmail RC script... > The rc.conf has sendmail_enable="YES" and I even changed this > in /etc/defaults/rc.conf. Don't change /etc/defaults/rc.conf. Change /etc/rc.conf only. > I supposed I could clip some of rc.sendmail and put in in a > sendmail.sh file for /usr/local/etc/rc.d, but perhaps something > more obvious is wrong. I want sendmail to be not only a > local mta but to be the incoming and outgoing server. OK. Setting: sendmail_enable="YES" ...ought to do the trick, so something else is going on. Have you checked /var/log/messages and /var/log/maillog? Is your hostname set to a valid FQDN? Is local DNS working properly on that machine? Have you copied /etc/mail/freebsd.mc to /etc/mail/host.example.com.mc, editting that file if and as needed, and doing a "make all" in /etc/mail? See /etc/mail/README. -- -Chuck