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
[EMAIL PROTECTED] (Cron Daemon)
and hostname shows
----- Original Message -----
From: "Micheal Patterson" <[EMAIL PROTECTED]>
To: "M.D. DeWar" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, October 24, 2003 10:13 AM
Subject: Re: wrong name on emails
> ----- Original Message -----
> From: "M.D. DeWar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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 [EMAIL PROTECTED] instead of the new
> > 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
> 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
> Confidentiality Notice: This e-mail message, including any attachments,
> 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
> [EMAIL PROTECTED] mailing list
> To unsubscribe, send any mail to
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"