Steve,
Thx for the hint - I kind of solved it as below, but still don't know what
the real reason for the problem is.
Rgds r.
> -----Original Message-----
> From: Dr. Stephen Henson [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 13. Januar 2004 13:15
...
> > Using smime to encrypt a body.txt file, always the first part
> > of that body
> > disappeared since it looked like a mail header.
> > If I change it to some other, arbitrary text, the entire mail
> > body content arrives.
> >
> > What can I do to have my entire body text arrive even if it starts with
> > <<Subject: ...
> > From: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Date: now...>>?
> >
> > Looking at the options available for openssl smime in
> > http://www.openssl.org/docs/apps/smime.html#, none appears to be
> > applicable?
> >
>
> Are you sure OpenSSL is dropping the body parts or is the email client not
> displaying them?
Could well be that my Outlook2000 is the culprit - but some experience bits
if this problem ever gets "really" solved:
- prepending "Subject: dummy\nFrom:[EMAIL PROTECTED]:[EMAIL PROTECTED]" to
my body
  solved it for outlook
- didn't have the same problem when I was still using BouncyCastle to
encrypt (but
  in fairness, I didn't have the exactly same structure of the beginning of
the body
  text either)
- at least when doing the same with pgp (outlook plugin 7.03 all is fine and
outlook
  doesn't swallow)
- will report if my colleague using Thunderbird doesn't experience the same

> Some clients don't display email headers inside the signed portion of the
> S/MIME email.
>
> The only way round this is remove the mail headers, sign the MIME
> data then
> prepend them to the signed output.
Assuming that always the signed content is inside encrypted content and not
the other way round, otherwise, my header is exposed which I do not want to
happen.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to