Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2005 11:32:05 -0800
From:      "Dan O'Connor" <dan@ferrarishields.com>
To:        "Daniel A." <ldrada@gmail.com>, <freebsd-questions@freebsd.org>
Subject:   Re: Reading roots mail when connected remotely
Message-ID:  <036901c60665$3bae2590$0599460a@ws4>
References:  <5ceb5d550512211113v6cbd6130peaf22aa8f158762f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> How do I read the mail sent to root, if I can only access my server 
> via SSH?
> When I su, and type "mail", it shows only mail to the user I connected 
> with.
> Also, is it possible to make sendmail send the daily status mails to a
> *real* email address, like this one?

As root, edit /etc/mail/aliases and point root to you:

        root:   your_username

then run 'newaliases'.

All of root's mail will come to you...

~Dan

--
FreeBSD Cheat Sheets
   http://www.mostgraveconcern.com/freebsd/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?036901c60665$3bae2590$0599460a>