SMIME Problems with signed attachment/ not multipart

Hi, As we are focusing on S/MIME for internal use in the company and therefore need S/MIME support for otrs. We managed to import and use our certificates, but we have a lot of problems with MIME encoded emails which have attachments. We recognized also some problems with signing regarding MIME-Headers and CR/LF, which seem to be an openssl smime problem. The reception of signed emails in otrs doesn't work sometimes if there is an attachment included. In this case we got an "single part MIME message." The major difference I noticed is that in this case the email is not encoded multipart, but as one part and the attachement is included in the signed data. Regardless whether this is correct in MIME-standard it works with outlook 2002, but not with otrs. ArticleCheckSMIME.pm looks for multipart-type. Fixing this, the correct signing is shown, but as the attachement is not recognized during import the email, it is not shown. Any ideas to fix it or for a workaround? An example is attached. Thanks in advance and regards Thomas

Hallo Thomas, Kaiser Dr., Thomas (LfStaD) wrote:
As we are focusing on S/MIME for internal use in the company and therefore need S/MIME support for otrs. We managed to import and use our certificates, but we have a lot of problems with MIME encoded emails which have attachments. We recognized also some problems with signing regarding MIME-Headers and CR/LF, which seem to be an openssl smime problem.
The reception of signed emails in otrs doesn't work sometimes if there is an attachment included.
In this case we got an "single part MIME message."
The major difference I noticed is that in this case the email is not encoded multipart, but as one part and the attachement is included in the signed data. Regardless whether this is correct in MIME-standard it works with outlook 2002, but not with otrs.
ArticleCheckSMIME.pm looks for multipart-type. Fixing this, the correct signing is shown, but as the attachement is not recognized during import the email, it is not shown.
Any ideas to fix it or for a workaround?
An example is attached.
Thanks for the attachment! :) It's fixed in cvs head now. The content of the .doc file is "Eiworuilsökd Test". :) PS: The SMIME an PGP support in OTRS 1.3 experimental. And has changed in many parts for OTRS 2.0. -=> If needed I can create a current snapshot of the OTRS cvs head!?
Thomas
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (2)
-
Kaiser Dr., Thomas (LfStaD)
-
Martin Edenhofer