Page MenuHome GnuPG

GpgOL: S/MIME + Exchange 2016 Can lead to 550 5.6.0 M2MCVT.StorageError.Exeption
Closed, ResolvedPublic

Description

When sending an S/MIME mail with GpgOL according to the forum Exchange 2016 returns an error ( https://wald.intevation.org/forum/message.php?msg_id=5745&group_id=11 )

I myself can reproduce this with an Outlook.com account.

Generating server: VE1EUR02HT158.mail.protection.outlook.com
aheinecke@intevation.de
Remote Server returned '550 5.6.0 M2MCVT.StorageError.Exception: ConversionFailedException, Content conversion: Invalid S/MIME encrypted message.; storage error in content conversion.'

Details

Version
master

Event Timeline

Playing around with this a bit: I can get messages to pass if I set the content type of our MOSS attachment to multipart/encrypted .
The problematic thing there is that there is a comment in the code that explicitly states that multipart/signed is needed to activate MSOXSMIME. So we have to be careful, maybe even check the Server Version somehow as I don't want to break older stuff.

aheinecke changed the task status from Open to Testing.Apr 5 2018, 3:17 PM

3.1.0 is released and this issue is to our knowledge fixed.