[CentOS] send existing root email to another user

Lists lists at rheel.co.nz
Tue Dec 1 02:58:23 UTC 2009


Jason Pyeron wrote:
>> -----Original Message-----
>> From: Lists
>> Sent: Monday, November 30, 2009 21:33
>> To: centos at centos.org
>> Subject: [CentOS] send existing root email to another user
>>
>> 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)
>>
>>     
>
> You want to bounce the messages. Tools like Pine can do it throught a fancy UI.
> Or you can:
>
> formail -s procmail < mbox
>
> Assuming you set it up to be delivered corectly now.
>
> http://googleit1st.com/search?q=redeliver+mbox
>   
hmm I tried that but nothing seemed to happen. I used Matts suggestion 
of cat /var/spool/mail/root | mail -s "mail" user at domain.com which has 
set it as one email.

Thanks
Kate
>   
>> 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.
>>
>> Thanks
>> Kate
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>>     
>
>
>
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -                                                               -
> - Jason Pyeron                      PD Inc. http://www.pdinc.us -
> - Principal Consultant              10 West 24th Street #100    -
> - +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
> -                                                               -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
>
>  
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


More information about the CentOS mailing list