Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-02-2011, 08:55 PM   #1
Registered: Apr 2006
Location: Australia
Distribution: Debian Squeeze
Posts: 135

Rep: Reputation: 18
How do I forward a mailbox /var/spool/mail/* file?

On Ubuntu, my /etc/aliases file normally forwards all mail to my external email address for example.

By mistake misconfigured /etc/aliases and it didn't work for a few days. Now I have hundreds of messages in /var/spool/mail/nobody
which I can witness with
mutt -f /var/spool/mail/nobody
How do I forward these onto another user or an external email again?
Old 02-02-2011, 09:46 PM   #2
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
Can you mass forward emails in mutt? Or possibly use Thunderbird to open the account, and that might give you more possibilities to forward email.

Another possible option is to use a tool called imapsync

imapsync copies email from one account to another. You might be able to copy the email into your main account that way.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to deliver/forward a /var/spool/mail/user file digitaljunkie Linux - Server 2 06-01-2008 03:47 PM
Unable to open mail spool file /var/mail/root cccc Debian 4 09-14-2006 02:31 PM
procmail: Couldn't create or rename temp file "/var/spool/mail/tmp/.... paul_mat Linux - Software 0 05-02-2006 07:16 PM
Individual user's mail file in /var/spool/mail Swakoo Linux - General 1 09-07-2005 07:33 AM
Mailbox vulnerable-directory /var/spool/mail must have 1777 protection. magyartoth Linux - Security 3 02-11-2002 01:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration