From owner-freebsd-questions@FreeBSD.ORG Wed Feb 22 22:11:15 2006 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 39AB016A420 for ; Wed, 22 Feb 2006 22:11:15 +0000 (GMT) (envelope-from rob@roblytle.org) Received: from smtpout06-04.prod.mesa1.secureserver.net (smtpout06-01.prod.mesa1.secureserver.net [64.202.165.224]) by mx1.FreeBSD.org (Postfix) with SMTP id BC22A43D46 for ; Wed, 22 Feb 2006 22:11:14 +0000 (GMT) (envelope-from rob@roblytle.org) Received: (qmail 9902 invoked from network); 22 Feb 2006 22:11:13 -0000 Received: from unknown (24.20.8.31) by smtpout06-04.prod.mesa1.secureserver.net (64.202.165.227) with ESMTP; 22 Feb 2006 22:11:13 -0000 Date: Wed, 22 Feb 2006 14:10:30 -0800 From: Rob To: freebsd-questions@freebsd.org Message-Id: <20060222141030.3f90e2e9.rob@roblytle.org> Organization: LKA X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: sendmail hangs with errors after setting hostname 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, 22 Feb 2006 22:11:15 -0000 Hi, OK, I think that I now have my hostname set properly in rc.conf and /etc/hosts In rc.conf is the line hostname="xenon" In /etc/hosts there is one line: 127.0.0.1 localhost xenon Upon bootup I get the following error: "xenon sm-mta [1556]: My unqualified host name (localhost) unknown; sleeping for retry" Then after it sleeps a bit I get more errors. Finally, I just hig to kill it and the boot process continues. I looked in the handbook in the Sendmail section and it referred to a file in /etc/mail called "local-host-names" and I put that file in with the line: "xenon" in there, but with the same results, so I am really not certain exactly what to do now. I put the Sendmail config part of rc.conf below. I just want localhost based Sendmail. Thanks, Rob. part of rc.conf: ############################################################## ### Mail Transfer Agent (MTA) options ###################### ############################################################## mta_start_script="/etc/rc.sendmail" # Script to start your chosen MTA, called by /etc/rc. # Settings for /etc/rc.sendmail and /etc/rc.d/sendmail: sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO). sendmail_pidfile="/var/run/sendmail.pid" # sendmail pid file sendmail_procname="/usr/sbin/sendmail" # sendmail process name sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server) sendmail_submit_enable="YES" # Start a localhost-only MTA for mail submission sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost" # Flags for localhost-only MTA sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO). sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound only) sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO). sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m" # Flags for sendmail_msp_queue daemon. -- ----------------------- http://www.roblytle.org Rob Lytle Home Page