Date: Fri, 24 Oct 2003 09:18:59 -0600 From: Mike Gruen <magruen@comcast.net> To: "M.D. DeWar" <mark@s-wit.net> Cc: freebsd-questions@freebsd.org Subject: Re: wrong name on emails Message-ID: <3F9942E3.8040605@comcast.net> In-Reply-To: <004201c39a3c$64f37d20$6a1fa8c0@ocfl061> References: <BAY8-F111a8JtHSbigO0000c2f6@hotmail.com><017d01c39a37$a168bae0$6a1fa8c0@ocfl061> <01be01c39a39$2b750ad0$4df24243@tsgincorporated.com> <004201c39a3c$64f37d20$6a1fa8c0@ocfl061>
next in thread | previous in thread | raw e-mail | index | archive | help
M.D. DeWar wrote: >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 > > > This could be either an /etc/mail/sendmail.cf file issue... or an /etc/hosts issue. >Mark >----- Original Message ----- >From: "Micheal Patterson" <micheal@tsgincorporated.com> >To: "M.D. DeWar" <mark@s-wit.net>; <freebsd-questions@freebsd.org> >Sent: Friday, October 24, 2003 10:13 AM >Subject: Re: wrong name on emails > > > > >>----- Original Message ----- >>From: "M.D. DeWar" <mark@s-wit.net> >>To: <freebsd-questions@freebsd.org> >>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 <new name> 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" > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F9942E3.8040605>