<<< Date Index >>>     <<< Thread Index >>>

Re: "Compatible migration from Emacs/Mew to mutt...formats?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday, February 23 at 05:12 AM, quoth Meino Christian Cramer:
> There is no "export" functionality implemented in my current mail
> client. 

Should be easy enough to implement yourself. (See below)

> Since every email is stored as a sperate file, there should be no
> porblem to shut down fetchmail and exim for a moment, cat all emails
> into a "fake" /var/spool/mail/mccramer-file and reread the whole mail
> again.

Mmmm, that's probably a bad idea, because an mbox/spool file has 
specific formatting requirements for figuring out where mails begin 
and end. Assuming your messages are all stored in a folder named 
"oldmail", try this:

    mkdir foo
    mkdir foo/new
    mkdir foo/cur
    mkdir foo/tmp
    mv oldmail/* foo/new

Then open the foo directory like so:

    mutt -f ./foo

And that'll do it for you. From there, you can move your messages 
wherever you like, put them in mbox files, whatever.

~Kyle
- -- 
University politics are vicious precisely because the stakes are so 
small.
                                                    -- Henry Kissinger
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFF3wm6BkIOoMqOI14RAmxDAKC9yTP8H+ZKWjfkd5hLDKDXF0WK5wCgso37
Q2xQKaMPDAPlwNv9u8tV+ZE=
=2LaB
-----END PGP SIGNATURE-----