Vim Tips Wiki
Tip 698 Printable Monobook Previous Next

created April 12, 2004 · complexity intermediate · author Paul Jolly · version 5.7

First see:

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:

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