LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] mutt <-> pine + mime and gpg

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell