Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2007 10:54:27 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        "Ian Lord" <mailing-lists@msdi.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Newbie Question: Mail from from cron jobs...
Message-ID:  <20070516105427.08403dbb@localhost>
In-Reply-To: <00a401c7970d$cf443030$6400a8c0@msdi.local>
References:  <00a401c7970d$cf443030$6400a8c0@msdi.local>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 15 May 2007 12:26:36 -0400
"Ian Lord" <mailing-lists@msdi.ca> wrote:

[....]
> The problem, is that the mail is coming from
> 
> root@localhost.mydomain.com
> 
> We have a spamfirewall and it rejects the mail saying localhost.mydomain.com
> is invalid.
> 
> Where can I change the address root@localhost.mydomain.com to
> machinename@mydomain.com ?

Hi Ian,
set your hostname in /etc/rc.conf:

it probably wouldn't hurt either to have name resolution properly setup (either via DNS or hosts file)

B
_________________________
{Beto|Norberto|Numard} Meijome

"He has Van Gogh's ear for music."
  Billy Wilder

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070516105427.08403dbb>