Re: redirect root mails to admin mail account

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

 



On December 12, 2003 01:59 am, Wesley Jay Deypalan wrote:
> Hi,
>
> I have a Redhat 7.2 and sendmail installed. my questions is how do i
> redirect the mails from root to the administrators email account. I have
> edited in the aliases files the following
> root:              admin
>
> where admin is the administrators email account
>
> and run newaliases but the admin account does not recieve mails from root
> account. What is lacking in my procedure?
> TIA,
>
> Wesley

Hi Wesley,
That should work. Just to confirm it is not another issue, you should test by 
trying this at the command line:
echo "test to admin via root"|mail -s "test of root email" root 

That will confirm that your aliases file is at least working as expected for 
rot email redirection.
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux