[CentOS] send existing root email to another user

Tue Dec 1 02:39:06 UTC 2009
Mathew S. McCarrell <mccarrms at gmail.com>

On Mon, Nov 30, 2009 at 9:32 PM, Lists <lists at rheel.co.nz> wrote:

> Hi all,
>
> I'm running Centos 5.4
> I have a pile of emails in my root users /var/spool/mail/root file
> I need to send this all to another address (preferrably external but
> local would possibly do)
>
> I have searched a lot but can't find any way to do this. I have set it
> so future emails get forwarded to my external address but I also need to
> shift the existing emails.
>
>
Kate,

You need to modify /etc/aliases to have something like:

root:          user at gmail.com


You should then run /usr/bin/newaliases to make these changes active.

Matt

--
Mathew S. McCarrell
Clarkson University '10

mccarrms at gmail.com
mccarrms at clarkson.edu
1-518-314-9214
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20091130/bf2d6190/attachment-0004.html>