Mathew S. McCarrell wrote:
On Mon, Nov 30, 2009 at 9:42 PM, Lists <[email protected] <mailto:[email protected]>> wrote:

    >
    > Kate,
    >
    > You need to modify /etc/aliases to have something like:
    >
    > root:          [email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>
    >
    >
    > You should then run /usr/bin/newaliases to make these changes
    active||.
    >
    > Matt
    Hi Matt,

    I have done this and it works for new mail arriving but I need to
    onsend
    the existing mail.


Ah, I misread what you were looking to do. You should be able to do the following then.

cat /var/spool/mail/root | mail -s "Old Root Emails" [email protected] <mailto:[email protected]>

Hope that helps.
Matt
Argh spoke to soon - its mostly all good apart from the attachments that are on the emails don't come through as attachments. Is there any way I can send the so that they are received with attachments still intact?

Kate
_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to