From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 08:40:28 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 823A616A4B3 for ; Fri, 24 Oct 2003 08:40:28 -0700 (PDT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67B0743FE0 for ; Fri, 24 Oct 2003 08:40:26 -0700 (PDT) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.10/8.12.10) with ESMTP id h9OFfCHR035189; Fri, 24 Oct 2003 17:41:13 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.12.10/8.12.10/Submit) id h9OFfCxs035188; Fri, 24 Oct 2003 17:41:12 +0200 (CEST) (envelope-from mail25@bzerk.org) X-Authentication-Warning: ei.bzerk.org: bulk set sender to mail25@bzerk.org using -f Date: Fri, 24 Oct 2003 17:41:12 +0200 From: Ruben de Groot To: "M.D. DeWar" Message-ID: <20031024154112.GA35140@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , "M.D. DeWar" , Micheal Patterson , freebsd-questions@freebsd.org References: <01be01c39a39$2b750ad0$4df24243@tsgincorporated.com> <004201c39a3c$64f37d20$6a1fa8c0@ocfl061> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004201c39a3c$64f37d20$6a1fa8c0@ocfl061> User-Agent: Mutt/1.4.1i cc: Micheal Patterson cc: freebsd-questions@freebsd.org Subject: Re: wrong name on emails 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, 24 Oct 2003 15:40:28 -0000 On Fri, Oct 24, 2003 at 10:37:44AM -0400, M.D. DeWar typed: > Hello, > Thanks. > Yes it reports the correct hostname. > And its correct in the rc.conf. > > Here is a copy of the FROM on a email sent by the cron > root@badboy.wirelesscommunitynetworks.com (Cron Daemon) > > and hostname shows > spiderman.wirelesscommunitynetworks.com Did you restart sendmail *after* you changed the hostname? > > Mark > ----- Original Message ----- > From: "Micheal Patterson" > To: "M.D. DeWar" ; > Sent: Friday, October 24, 2003 10:13 AM > Subject: Re: wrong name on emails > > > > > > ----- Original Message ----- > > From: "M.D. DeWar" > > To: > > Sent: Friday, October 24, 2003 9:03 AM > > Subject: wrong name on emails > > > > > > > Hello, > > > When I first setup from FreeBSD 4.8 box I gave it one name, badboy. Then > > > later to due to dns issues I changed it to match DNS. Now when I get an > > > email from the box it says root@badboy.domain.com instead of the new > name. > > > I searched every file I can think of. rc.local,rc.conf , resolv.conf and > > > other files but with no luck. > > > I tried egrep -iR "badboy" / > > > to find it but it was taking a long long time. So killed it. > > > Were do I find it and change it or is it permanently at the original > > > hostname. > > > > > > Thanks > > > Mark > > > > > > > Use the command hostname to verify that it's using the new name. If it > shows > > the old name there, do a hostname to correct it.. Provided it's > > correct in your rc.conf file as well. > > > > -- > > > > Micheal Patterson > > TSG Network Administration > > 405-917-0600 > > > > Confidentiality Notice: This e-mail message, including any attachments, > is > > for the sole use of the intended recipient(s) and may contain confidential > > and privileged information. Any unauthorized review, use, disclosure or > > distribution is prohibited. If you are not the intended recipient, please > > contact the sender by reply e-mail and destroy all copies of the original > > message. > > > > _______________________________________________ > > 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" > > > > > _______________________________________________ > 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"