[ILUG] mutt <-> pine + mime and gpg
kevin lyda
kevin at suberic.net
Fri Jan 4 18:28:24 GMT 2002
ii think i've mentioned before that the key to reading gpg encrypted
messages from pine users is to add the following procmail rule to your
.procmailrc:
:0 fBw
* ^-----BEGIN PGP MESSAGE-----
* !Content-type: multipart
| formail -i "Content-Type: application/pgp; format=text; x-action=encryptsign"
# Add a "Content-Type: application/pgp" header so Mutt will know the
# mail is signed.
:0 fBw
* ^-----BEGIN PGP SIGNED MESSAGE-----
* !Content-type: multipart
| formail -i "Content-Type: application/pgp; format=text; x-action=sign"
however one thing you'll discover is that if there were attachments,
you can't read them. the way to deal with this is as follows:
1. highlight the message and press C-x. this will create an
unencrypted version of the message.
2. now edit the resulting message by pressing <esc>-e. what you
want to do is delete the current Content-type line, and change
the Old-Content-type line into a Content-type: line (ie delete
the Old- part).
now when you exit the editor you should be able to see the attachments
as you normally would (inline for the ones mutt has rules to inline for,
or in the attachment pane via the "view attachments" key - v).
an enterprising person could develop a macro or script for this...
kevin
--
kevin at suberic.net buffy: come on, can't you put your foot down?!
fork()'ed on 37058400 giles: it *is* down.
meatspace place: orbit buffy: one of these days you're going to have to
http://suberic.net/~kevin get a grown up car. --inca mummy girl
More information about the ILUG
mailing list