From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 15:15:01 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 807DA16A4B3 for ; Fri, 24 Oct 2003 15:15:01 -0700 (PDT) Received: from tomts13-srv.bellnexxia.net (tomts13-srv.bellnexxia.net [209.226.175.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51FD943F75 for ; Fri, 24 Oct 2003 15:15:00 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from hermes ([65.95.177.157]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20031024221459.CGOH1032.tomts13-srv.bellnexxia.net@hermes>; Fri, 24 Oct 2003 18:14:59 -0400 Message-ID: <00c401c39a7b$e60666e0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "M.D. DeWar" , "Micheal Patterson" , References: <017d01c39a37$a168bae0$6a1fa8c0@ocfl061><01be01c39a39$2b750ad0$4df24243@tsgincorporated.com> <004201c39a3c$64f37d20$6a1fa8c0@ocfl061> Date: Fri, 24 Oct 2003 18:12:22 -0400 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 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 22:15:01 -0000 Have you restarted sendmail (if you're running a sendmail server on badboy to handle your outgoing mail?) Have you checked /etc/mail/submit.cf and /etc/mail/sendmail.cf to ensure that the old hostname wasn't hard-coded in your sendmail configuration? Matt ----- Original Message ----- From: "M.D. DeWar" To: "Micheal Patterson" ; Sent: Friday, October 24, 2003 10:37 AM Subject: Re: wrong name on emails > 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 > > 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" >