From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 07:14:49 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 7F50A16A4B3 for ; Fri, 24 Oct 2003 07:14:49 -0700 (PDT) Received: from mail.tsgincorporated.com (mail.tsgincorporated.com [67.66.242.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7356143FE1 for ; Fri, 24 Oct 2003 07:14:46 -0700 (PDT) (envelope-from micheal@tsgincorporated.com) Received: (from root@localhost) by mail.tsgincorporated.com (8.12.8/8.12.8) id h9OEEjus062757; Fri, 24 Oct 2003 09:14:45 -0500 (CDT) (envelope-from micheal@tsgincorporated.com) Received: from micheal (micheal.tsgincorporated.com [67.66.242.77]) h9OEEgZ0062740; Fri, 24 Oct 2003 09:14:42 -0500 (CDT) (envelope-from micheal@tsgincorporated.com) Message-ID: <01be01c39a39$2b750ad0$4df24243@tsgincorporated.com> From: "Micheal Patterson" To: "M.D. DeWar" , References: <017d01c39a37$a168bae0$6a1fa8c0@ocfl061> Date: Fri, 24 Oct 2003 09:13:48 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by AMaViS 0.3.12 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 14:14:49 -0000 ----- 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.