For email, I run mutt and muttprint.

I have a directory of messages in maildir format.  I need to export
each message to a separate text file, so that the message may be
edited without the necessity of manually stripping away the message
header.

There is no need to preserve the data in the message header, other
than the sender, the recipient, the subject, and the date.

I think that the latex intermediate file produced by muttprint would
be ideal.  But after reading the muttprint manual and the muttprint
man page, I cannot figure out how to utilize muttprint for this
service.

Ideally, I would like to use a command similar to the following:

   $ muttprint --export-tex-file ~/mail/correspondence/cur/*

and end up with a ".tex" file for each message.

If necessary, I would be willing to use a solution which converts one
message at a time, but it would be preferable to be able to convert
all the messages in a maildir with a single command.

RLH

Reply via email to