signed messages & mutt

chris@inferno.nadir.org chris@inferno.nadir.org
Fri Jan 25 12:03:01 2002


Hello 


* Am Thu, Jan 24, 2002 at 08:21:25PM -0500 , schrieb Ken Wahl:
> Davide Cavallari on 24/01/2002 at 19:18 opined thusly:
 <snip>
 That is what im am trying to do too, but it doesn't work.
 The mails get through the Filter without beeing transformed.
 Andy Idea how to debug procmail ?

 Greetings Christoph
 
> If you are using procmail as your MDA you can add the following to your
> procmailrc:
> 
> *******Begin cut here*******
> 
> :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;"
> 
> *****End cut here******