From owner-freebsd-questions@FreeBSD.ORG Thu Feb 23 00:42:10 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 7944116A422 for ; Thu, 23 Feb 2006 00:42:10 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-142-072.chi1.dsl.speakeasy.net [64.81.142.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7452143D48 for ; Thu, 23 Feb 2006 00:42:09 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p17.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.5/8.12.11) with ESMTP id k1N0ffRx081794; Wed, 22 Feb 2006 18:41:42 -0600 (CST) Message-Id: <6.0.0.22.2.20060222183825.0262d630@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 22 Feb 2006 18:41:34 -0600 To: Rob , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <20060222141030.3f90e2e9.rob@roblytle.org> References: <20060222141030.3f90e2e9.rob@roblytle.org> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-MailScanner-From: derek@computinginnovations.com Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: 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: Thu, 23 Feb 2006 00:42:10 -0000 I would suggest setting the hostname as a different address from localhost. There are multiple instances of sendmail that run, as your rc.conf file has them enabled. You can use a private non-routable IP for the hostname. Hope this helps. -Derek At 04:10 PM 2/22/2006, Rob wrote: >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 >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"