[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: root mail



In your /etc/ directory you will find a file called aliases.
At the bottom of the file you will see this line:
# Person who should get root's mail
#root:          marc

Change that to something like this
# Person who should get root's mail
root:          john
That would deliver roots email to john on THAT local machine. You can also do 
this:

# Person who should get root's mail
root:          john yahoo com

And if you want multiple people to get roots mail you can do this:
# Person who should get root's mail
root:          john,john yahoo com,jim,jeff yahoo com

Note that root will no longer have any email anymore. If you want root to 
also get email as well as the others just stick root in with the rest of the 
people who will get roots email:

# Person who should get root's mail
root:          john,jeff yahoo com,root

After changing this  file you must type in the command:  newaliases
You dont have to restart any service etc, changes take effect in real time 
after you type newalises.

Hope that helps.

Jim.


On Friday 01 February 2002 02:52 am, you wrote:
> how would I sent mail for root to my email account?
>                                                  -John
>
>
>
> _______________________________________________
> Redhat-list mailing list
> Redhat-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]