Date: Wed, 22 Feb 2006 14:10:30 -0800 From: Rob <rob@roblytle.org> To: freebsd-questions@freebsd.org Subject: sendmail hangs with errors after setting hostname Message-ID: <20060222141030.3f90e2e9.rob@roblytle.org>
next in thread | raw e-mail | index | archive | help
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 <ctrl-c> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060222141030.3f90e2e9.rob>