Newbie Question: Mail from from cron jobs...

Jerry McAllister jerrymc at msu.edu
Tue May 15 21:41:49 UTC 2007


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 at localhost.mydomain.com to
> > machinename at 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 at mouhaha.de, ICQ# 113969174
> "Worker bees can leave. Even drones can fly away. The Queen is their slave."




More information about the freebsd-questions mailing list