From owner-freebsd-questions@FreeBSD.ORG Fri Jul 25 17:22:46 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 02BB937B401 for ; Fri, 25 Jul 2003 17:22:46 -0700 (PDT) Received: from dev-deuce.gotdns.com (adsl-64-109-212-33.dsl.lgnnmi.ameritech.net [64.109.212.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3350C43F75 for ; Fri, 25 Jul 2003 17:22:45 -0700 (PDT) (envelope-from steve@devinecreations.com) Received: from localhost ([127.0.0.1] helo=dev-deuce.gotdns.com) by dev-deuce.gotdns.com with smtp (Exim 4.10) id 19gCqd-0007qk-00 for freebsd-questions@FreeBSD.ORG; Fri, 25 Jul 2003 20:23:43 -0400 Received: from 10.5.0.19 (SquirrelMail authenticated user sdevine) by dev-deuce.gotdns.com with HTTP; Fri, 25 Jul 2003 20:23:43 -0400 (EDT) Message-ID: <33324.10.5.0.19.1059179023.squirrel@dev-deuce.gotdns.com> Date: Fri, 25 Jul 2003 20:23:43 -0400 (EDT) From: "Steve Devine" To: freebsd-questions@FreeBSD.ORG User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: Re: 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: Sat, 26 Jul 2003 00:22:46 -0000 Quite often this happens because you dont have a valid hostname that maps to a ip address. This is a problem when you are using a dsl or cable modem with Dynamis ips. I suggest you look into a Dynamic dns service. I use dyndns.org for a free hostname / dns service. They run on the Freebsd platform. /sd > On Fri, 25 Jul 2003, Constantine wrote: > >> 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? >> > > > Hi! > > Well, do the following: > > in /etc/hosts, enter your domain name. > > then, edit the file: /etc/mail/service.switch (or the corresponding file location defined in sendmail.cf) with the values : > files dns > > to make sendmail first look in /etc/hosts and then try to resolve via DNS. > > Alternatively, in sendmail.cf there is the option to specify the own host name in case sendmail cannot determine it automagically. > > BTW: sendmail wants some FQDN, like cnts.local or something. Missing dots are iritating to sendmail. > > HTH > Olaf > > -- > Olaf Hoyer ohoyer@gaff.hhhr.ision.net > Fuerchterliche Erlebniss geben zu raten, > ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. > (Nietzsche, Jenseits von Gut und Boese) > > _______________________________________________ > 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" >