i have been using ximian evolution for a long long time, and i have
always hoped this question would come up but it hasn't as of yet.
my lil annoyence is the fact that encrypted e-mail and signatures from
netscape users comes up as inline, instead of the using the proper
method (RFC 3156). i was eith wondering if sombody has a quick fix to
this lil problem, i have been playing with procmail alot the past few
days and thought i could solve this with a clever entry, tho it seemed
not to work when i tested it...
----clip from .procmailrc----
## CORRECTIONS
# broken sig
:0 fBw
* ^--$
| sed -e 's/^--$/-- /'

# 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"
}

# convert old-style PGP keys to MIME
:0 fBw
* ^-----BEGIN PGP PUBLIC KEY BLOCK-----
* ^-----END PGP PUBLIC KEY BLOCK-----
| formail \
        -i "Content-Type: application/pgp-keys; format=text;" \
        -A "X-Procmail: corrected old-style PGP keys"
----end snip----

maby i'm not doing something right, if yah see soemthing wrong could you
please advise, and yes i have checked all the simple things llike paths,
and am generaly very good at regex.


-- 
Nicholas Hockey (Tilt) <[EMAIL PROTECTED]>
Unix Administrator
Encrypted E-Mail is preferred..
-------------------------------------------------------------------- 
GnuPG KeyID 4EDE2B84
Key fingerprint = B916 6032 BE3D 490D 2A08  F1BC 948A A4C1 4EDE 2B84
HKP: gpg --keyserver pgp.mit.edu --recv-keys 4EDE2B84
LDAP: gpg --keyserver ldap://keyserver.pgp.com --recv-keys 4EDE2B84
--------------------------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to