Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2007 17:38:15 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Oliver Peter <hoschi@mouhaha.de>
Cc:        freebsd-questions@freebsd.org, Ian Lord <mailing-lists@msdi.ca>
Subject:   Re: Newbie Question: Mail from from cron jobs...
Message-ID:  <20070515213815.GA45661@gizmo.acns.msu.edu>
In-Reply-To: <20070515212603.GD27529@nemesis.frida.mouhaha.de>
References:  <00a401c7970d$cf443030$6400a8c0@msdi.local> <20070515212603.GD27529@nemesis.frida.mouhaha.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote:

> On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote:
> >  ...
> > 
> > Where can I change the address root@localhost.mydomain.com to
> > machinename@mydomain.com ?

Look in the file /etc/mail/aliases

You can alias root to go to your favorite address.
Don't forget to run   newaliases(1)   after editing the file.

Of course, doing this will mean that all mail to root will
go to you.   

////jerry

> 
> Did you set up your hostname correctly in /etc/rc.conf ?
> Furthermore you need to tell your MTA how your hostname is called.
> 
> -- 
> Oliver PETER, email: hoschi@mouhaha.de, ICQ# 113969174
> "Worker bees can leave. Even drones can fly away. The Queen is their slave."





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070515213815.GA45661>