Mbox archive emails
From Vim Tips Wiki
created April 12, 2004 · complexity intermediate · author Paul Jolly · version 5.7
First see: http://www.vim.org/maillist.php#help
Follow the instructions to get hold of the archive messages you need. For example, I sent an email to the following address to retrieve mails 43413 to 43512:
They will be returned as individual attachments to a single mail, one reply per request.
Save all the attachments in a new temporary directory, say /tmp/temp.
Download the following script: http://kmail.kde.org/unsupported/xfmail2mbox.sh
Run the script, passing the aforementioned directory as an argument:
$ xfmail2mbox /tmp/temp
where $ indicates a shell command.
This will create a file called /tmp/temp.mbox, an mbox format file of emails found in /tmp/temp