Re: [Debian] Mutt und GnuPG
Hello Eduard,
* Eduard Bloch wrote:
> Moin Christian!
> Christian Schmidt schrieb am Samstag, den 12. Mai 2001:
>
> > Das Verschlüsseln und Signieren funktioniert bereits, allerdings blicke
> > ich noch nicht so recht durch, wie ich mutt dazu bringe, verschlüsselte
> > Mails auf Tastendruck zu entschlüsseln und den entschlüsselten Text
>
> Wenn die Mails standardkonform verschlüsselt wurden, dann erkennt Mutt
> sie automatisch. Wenn Sie mit schrottigen Programmen erstellt wurden,
> hilft entweder
>
> a) bei alten Mutt-Versionen: Hacks, beschrieben in /usr/doc/mutt/PGP.txt
> b) bei aktueller Version: Shift-P
Ich habe hier bei mir ein paar Procmail-Regeln die es ermöglichen
im Zussammenspiel mit formail, den header der Nachrichten
PGP/MIME konform zu ändern, sodaß Mutt die Nachrichten
wie immer erkennt.
MAILFILTER_PGP_ATTACHMENT=${HOME}/bin/mailfilter_pgp_attachment
# Get non-MIME encrypted and signed Messages
: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;"
:0
* ^Content-Type: multipart/
{
:0 fBw
* ^-----BEGIN PGP MESSAGE-----
* ^-----END PGP MESSAGE-----
| $MAILFILTER_PGP_ATTACHMENT -
}
dazu gehört noch ein kleines Skript.
Ich weiß jetzt nicht, ob ich es mitanhängen soll,
weil es ja nicht jeden interessiert.
cya
Waldemar
--
It's naive to assume that just installing a firewall is going to protect
you from all potential security threat. That assumption creates a false
sense of security, and having a false sense of security is worse than having
no security at all. -- Kevin Mitnick
--
-----------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an debian-user-de-request@lehmanns.de die im Subject
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
-----------------------------------------------------------
852 eingetragene Mitglieder in dieser Liste.
Reply to: