Laurent Defours disait: > Le samedi 27 septembre 2003, à 09:41, Thierry écrivait : > > Sinon, j'ai un dernier soucis avec mutt, lorsque je reçois un mail > > crypté avec mutt, j'ai le corps du message crypté, mais je suis > > incapable de le decoder en directe, je suis obligé de faire un > > copier/coller du message pour+ensuite le decoder avec gpg....n'y > > aurait il pas une autre solution ?? > > Cherche dans l'aide la fonction "check-traditional-pgp". Esc-P chez > moi. > > Tu dois malheureusement l'appeler explicitement en l'absence d'entête > PGP/Mime.
Les règles procmail suivantes ont pour effet de convertir un message "PGP inline" en pièce jointe PGP/MIME, donc directement lisible via mutt: # reécriture au format PGP/MIME des mails cryptés in-line :0 * !^Content-Type: message/ * !^Content-Type: multipart/ * !^Content-Type: application/pgp { :0 fBw * ^-----BEGIN PGP MESSAGE----- * ^-----END PGP MESSAGE----- | formail \ -i "Content-Type: application/pgp; format=text; x-action=encrypt" :0 fBw * ^-----BEGIN PGP SIGNED MESSAGE----- * ^-----BEGIN PGP SIGNATURE----- * ^-----END PGP SIGNATURE----- | formail \ -i "Content-Type: application/pgp; format=text; x-action=sign" :0 fBw * ^-----BEGIN PGP PUBLIC KEY BLOCK----- * ^-----END PGP PUBLIC KEY BLOCK----- | formail -i "Content-Type: application/pgp-keys; format=text;" } -- d a r k v e g g y - gnupg key @ https://squat.net/darkveggy/gpg.asc