[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian]:Procmail soll im Body suchen



On Wed, Sep 01, 1999 at 05:10:49PM +0200, Marko Schulz wrote:
> Du hast außer dem B auch ein f im Rezept angegeben? Vielleicht hättest
> Du das gesamte Rezept posten sollen :-/.

Hallo Marko,

wie schon gesagt, ich habe alle verschiedenen Kombinationen ausprobiert,
aber hier der genaue Teil der ~/.procmailrc:

:0 Bf
* -----BEGIN PGP MESSAGE-----
debianlist

# zum schauen, ob die Kondition oder der Befehl nicht funktioniert
# Es war die Kondition, weil auch die Zeile nichts gebracht hat :-(

:0 Bf:
* -----BEGIN PGP MESSAGE-----
| /usr/bin/formail -i "Content-Type: application/pgp 2"

:0 Bf
* -----BEGIN PGP MESSAGE-----
| /usr/bin/formail -i "Content-Type: application/pgp 3"

:0 Bf
* ^-----BEGIN PGP MESSAGE-----
| /usr/bin/formail -i "Content-Type: application/pgp 4"

Die Zahlen deshalb, dass ich weiß, welche Zeile er nun genommen hat! :-)
Habe auch noch weitere Kombinationen ausprobiert, weiß aber nicht
mehr welche. :-(
 
> Roland Rosenfeld gibt auf seiner Mutt-Seite
> http://www.spinnaker.de/mutt/ folgendes Rezept an, daß noch ein wenig
> ausgeklügelder ist:
> 
>   #
>   # Make old style PGP readable for Mutt:
>   #
>   :0
>   * !^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"
>   }

So was ähnliches habe ich auch, aber ist jetzt auskommentiert, weil
das nicht das ist was ich brauche. Ich möchte damit nämlich
Mails von MS Outlook kompatibel machen. Outlook schreibt nämlich
entweder als Content-Type text/plain bzw. multipart/alternative.
Und ich wollte jetzt halt, wenn im Body "BEGINN PGP MESSAGE" steht,
dass procmail als Content-Type application/pgp schreibt, damit
mutt das als PGP-Nachricht erkennt! 

Andreas

---------------------------------------
Visit my Homepage at http://keller.itgo.com
PGP-Key at www.keyserver.net available!
ICQ: 43987662

Best wishes from lovely Lake Constance!
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     717


Reply to: