View Issue Details

IDProjectCategoryView StatusLast Update
0002039SOGoWeb Mailpublic2014-12-07 16:30
ReporterChristian Mack Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Product Version2.0.1 
Target Version2.2.7 
Summary0002039: SOGo can not display S/MIME signed emails when send as an smime.p7m attachment (Outlook)
Description

Thunderbird and Apple Mail use a normal body and add a signature as smime.p7s attachment.
Obviously SOGo can display the body and shows if the signature is valid or not.

But Outlook sends S/MIME signed emails as an smime.p7m attachment only.
So the email doesn't have a body to display for SOGo, and SOGo can not verify if the message is signed correctly.

I have attached an example S/MIME signed email from Outlook, and a screenshot of what you see in SOGo webinterface.
In the screenshot you can see that there is no text and no indication of a signature.

Steps To Reproduce

Just send a S/MIME signed email from Outlook to SOGo.

Additional Information

Workaround:
You can save the attachment and then use
openssl smime -verify -inform DER -in smime.p7m -noverify -out message.text
to get the body in "message.text" if the signature is valid.

Tagsemail, S/MIME, signature

Activities

2012-10-16 11:34

 

OutlookSMIME.eml (9,256 bytes)

2012-10-16 11:37

 

OutlookSMIME_smime.p7m.png (89,735 bytes)   
OutlookSMIME_smime.p7m.png (89,735 bytes)   
paravis

paravis

2014-10-20 14:41

reporter   ~0007619

Hi there, I am wondering if there is any status update on this. Would be great if SOGo had some sort of internal key management system (safe?) or could use locally installed keys to automatically decrypt these messages.

The concept seems fairly straightforward for users that only access SOGo webmail from a private computer. May be slightly more complex if it is a shared system.

Christian Mack

Christian Mack

2014-10-20 15:12

developer   ~0007620

This report is only about signed messages, not about encrypted ones.
So you only have to check the signature against the S/MIME public key.

And of course SOGo has to display the signed email content in the first place :-)

paravis

paravis

2014-10-20 19:52

reporter   ~0007621

Well now, don't I feel like a bonehead :-) ...

Thanks for the head's up Christian.

franta

franta

2014-12-07 16:30

reporter   ~0007785

Other workaround is reconfiguration of MS Outlook:

"Send clear text signed message when sending signed messages"

as described here: http://new.office-watch.com/2013/signed-emails-appear-blank-in-gmail/

Otherwise the message from MS Outlook will have Content-Type:

application/pkcs7-mime; name="smime.p7m"; smime-type="signed-data"

and can't be viewed in SOGo (and clients without S/MIME support).

Parameter smime-type is optional and according to RFC 5751 it is better for compatibility to use multipart/signed:

Messages signed using the multipart/signed format can always be
viewed by the receiver whether or not they have S/MIME software.
They can also be viewed whether they are using a MIME-native user
agent or they have messages translated by a gateway. In this
context, "be viewed" means the ability to process the message
essentially as if it were not a signed message, including any other
MIME structure the message might have.

Despite this, it would be nice to support also these messages, if SOGo has already support for S/MIME multipart/signed.

Hint: UI/MailPartViewers/UIxMailPartSignedViewer.m

Issue History

Date Modified Username Field Change
2012-10-16 11:34 Christian Mack New Issue
2012-10-16 11:34 Christian Mack File Added: OutlookSMIME.eml
2012-10-16 11:37 Christian Mack File Added: OutlookSMIME_smime.p7m.png
2012-10-16 11:38 Christian Mack Description Updated
2014-06-09 19:56 ludovic Target Version => 2.2.6
2014-06-26 14:24 ludovic Target Version 2.2.6 => 2.2.7
2014-10-20 14:41 paravis Note Added: 0007619
2014-10-20 15:12 Christian Mack Note Added: 0007620
2014-10-20 19:52 paravis Note Added: 0007621
2014-12-07 14:20 franta Tag Attached: email
2014-12-07 14:20 franta Tag Attached: S/MIME
2014-12-07 14:20 franta Tag Attached: signature
2014-12-07 16:30 franta Note Added: 0007785