Hello there,
I'd like to ask if someone has a working solution for parsing pkcs7-mime encoded messages somehow with imap functions. That ****ing Internet Explorer uses this type of "encryption" when sending signed e-mail messages. Netscape intelligently sends the signature in an attachment as pkcs7-signature mime-type but the first one "encodes" the mail message with the signature. I have a half-working solution I use openssl to verify the signature in the mail and it echoes back the "decrypted" mail message without the headers (and of course I can fetch the message headers and build up the whole message and put it in a variable) but I cannot parse the message with imap functions because it is in a variable and not on the server (of course).
I use:
- Courier Imap 1.1
- PHP 4.0.3pl1
I'm still searching the net for finding a solution on the imap servers' side but any help would be greatly appreciated.
Thanks, Thifi