Reading roots mail when connected remotely

Dan O'Connor dan at ferrarishields.com
Wed Dec 21 11:32:01 PST 2005


> 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/




More information about the freebsd-questions mailing list