From owner-freebsd-questions@FreeBSD.ORG Fri Jul 25 15:52:25 2003 Return-Path: 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 89B3B37B401 for ; Fri, 25 Jul 2003 15:52:25 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDA4F43FA3 for ; Fri, 25 Jul 2003 15:52:24 -0700 (PDT) (envelope-from cnst@rbcmail.ru) Received: from user158.net276.nc.sprint-hsd.net ([205.240.33.158] helo=rbcmail.ru) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19gBQF-0002Sp-00; Fri, 25 Jul 2003 15:52:24 -0700 Message-ID: <3F21B49D.3050801@rbcmail.ru> Date: Fri, 25 Jul 2003 18:52:13 -0400 From: Constantine User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.4) Gecko/20030624 X-Accept-Language: en-gb, ru, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Host name for sendmail. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 22:52:25 -0000 Hello, I have a FreeBSD 4.8 box, I run it for my local small home network I use it as a router. My DSL-modem has a NAT feature, and FreeBSD does not have any routable ip-address, only the modem does. My sendmail always complains about the domain name every time I start my FreeBSD, and the system is hanging for 2 minutes, until the sendmail finally starts. What I want to do, is to keep my own sendmail (I use it as my smtp-server), but I do not want the system to wait 2 minutes until the sendmail starts. What can I do? In /var/log/maillog I have: Jul 24 12:46:59 cnst sm-mta[99]: My unqualified host name (cnst) unknown; sleeping for retry Jul 24 12:47:59 cnst sm-mta[99]: unable to qualify my own domain name (cnst) -- using short name Jul 24 12:47:59 cnst sm-mta[100]: starting daemon (8.12.8p1): SMTP+queueing@00:30:00 Jul 24 12:47:59 cnst sm-msp-queue[101]: My unqualified host name (cnst) unknown; sleeping for retry Jul 24 12:49:00 cnst sm-msp-queue[101]: unable to qualify my own domain name (cnst) -- using short name Jul 24 12:49:00 cnst sm-msp-queue[103]: starting daemon (8.12.8p1): queueing@00:30:00 In /var/log/messages I have: Jul 24 12:46:58 cnst ntpdate[85]: step time server 198.82.161.227 offset -0.104211 sec Jul 24 12:46:59 cnst sm-mta[99]: My unqualified host name (cnst) unknown; sleeping for retry Jul 24 12:47:59 cnst sm-mta[99]: unable to qualify my own domain name (cnst) -- using short name Jul 24 12:47:59 cnst sm-msp-queue[101]: My unqualified host name (cnst) unknown; sleeping for retry Jul 24 12:49:00 cnst sm-msp-queue[101]: unable to qualify my own domain name (cnst) -- using short name Jul 24 12:49:00 cnst apmd[117]: start Thank you, Constantine.