[linux-l] alt gpg zu mime und charset

Ivan F. Villanueva B. iv at artificialidea.com
Do Jun 12 11:36:02 CEST 2008


Hallo,
ich finde zu nervig, GPG-verschlüsselte E-Mails erstmal in Mime zu
konvertieren, und dann sie in Mutt zu lesen. Ich weiß, Mutt kann sie mit
<esc>P konvertieren, aber das sind 3 Tastendruck zu viel. Ich habe im Netz
folgende Procmail-Anweisungen für die Konvertierung.

    # convert old-style PGP messages to MIME
    :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" \
                    -A "X-Procmail: Corrected old-style PGP encryption"

            :0 fBw
            * ^-----BEGIN PGP SIGNED MESSAGE-----
            * ^-----BEGIN PGP SIGNATURE-----
            * ^-----END PGP SIGNATURE-----
            | formail \
                    -i "Content-Type: application/pgp; format=text; x-action=sign" \
                    -A "X-Procmail: Corrected old-style PGP signature"
    }

Das funktioniert, aber ich habe immer noch ein Problem mit dem Charset
(übrigens mit <esc>P auch). Die relevante Teile der E-Mail nach der
Konvertierung sehen so aus:

    ...
    Old-Content-Type: text/plain; charset=ISO-8859-15
    Content-Type: application/pgp; format=text; x-action=encrypt
    ...

    -----BEGIN PGP MESSAGE-----
    Charset: ISO-8859-15
    Version: GnuPG v1.4.6 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    hQIOA14bFdfXhU4vEAgAhr4TelmrwmnQw1IFG88gTXK625WFRFyrm6pUeB3P2COM
    ...

    
Wie kann ich mit Mutt die Sonderzeichen dieses E-Mail richtig darstellen?
-- 
Iván F. Villanueva B.
FFII (open standards, no software patents)  --  http://www.ffii.org
FFII.org Deutschland                        --  https://www.ffii.de
Jabber: ivan at ogai.org



Mehr Informationen über die Mailingliste linux-l