<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Mathew S. McCarrell wrote:
<blockquote
 cite="mid:d90d43cb0911301850p4b1d0bc1n21d45a516d8d611b@mail.gmail.com"
 type="cite">
  <div dir="ltr">On Mon, Nov 30, 2009 at 9:42 PM, Lists <span dir="ltr"><<a
 moz-do-not-send="true" href="mailto:lists@rheel.co.nz" target="_blank">lists@rheel.co.nz</a>></span>
wrote:<br>
  <div class="gmail_quote">
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div>><br>
> Kate,<br>
><br>
> You need to modify /etc/aliases to have something like:<br>
><br>
    </div>
> root:          <a moz-do-not-send="true"
 href="mailto:user@gmail.com" target="_blank">user@gmail.com</a>
<mailto:<a moz-do-not-send="true" href="mailto:user@gmail.com"
 target="_blank">user@gmail.com</a>><br>
    <div>><br>
><br>
> You should then run /usr/bin/newaliases to make these changes
active||.<br>
><br>
> Matt<br>
    </div>
Hi Matt,<br>
    <br>
I have done this and it works for new mail arriving but I need to onsend<br>
the existing mail.<br>
  </blockquote>
  <div><br>
Ah, I misread what you were looking to do.  You should be able to do
the following then.<br>
  <br>
cat /var/spool/mail/root | mail -s "Old Root Emails" <a
 moz-do-not-send="true" href="mailto:user@gmail.com">user@gmail.com</a><br>
  <br>
Hope that helps.<br>
Matt<br>
  </div>
  </div>
  </div>
</blockquote>
You are a legend!!!! Thanks so much.<br>
Kate<br>
</body>
</html>