Hi,

I'm currently playing around with mutt 1.5.1i and s/mime (OpenSSL 0.9.6d
9 May 2002).

When sending signed and encrypted mails, OpenSSl (using the example
commandline from smime (1)) sets the Content-Type to:
Content-Type: application/x-pkcs7-mime; name="smime.p7m"

GNUS does the same.

mutt can not decrypt the resulting mail (see smime.c lines 104
following) as the smime-type is missing.

So I currently use a .procmail rule to add a Content-Description (as for
Netscape 4.7):

:0 fw
* ^Content-Type: application/x-pkcs7-mime; (file)?name="[^;]+"\s*$
* !^Content-Description:
| formail -i "Content-Description: S/MIME Encrypted Message"

This seems to work, but I don't know, if it is evil.

Does anybody of you know how to fix this?

Is it possible to assume the smime-type as "enveloped-data" by default?

Can smime.c be changed accordingly?

I appreciate your help. Excuses if this is posted to the wrong list.

Alex Pleiner

-- 
Alex Pleiner
zeitform Internet Dienste         Fraunhoferstrasse 5
                                  64283 Darmstadt, Germany
http://www.zeitform.de            Tel.: +49 (0)6151 155-635
mailto:[EMAIL PROTECTED]        Fax:  +49 (0)6151 155-634
GnuPG/PGP Key-ID: 0x613C21EA

Reply via email to