Newbie Question: Mail from from cron jobs...

Norberto Meijome freebsd at meijome.net
Wed May 16 00:54:38 UTC 2007


On Tue, 15 May 2007 12:26:36 -0400
"Ian Lord" <mailing-lists at msdi.ca> wrote:

[....]
> The problem, is that the mail is coming from
> 
> root at 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 at localhost.mydomain.com to
> machinename at 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.


More information about the freebsd-questions mailing list