Hello

Did you change/renew your certificate since the last test with that sender?
If yes, perhaps the sender does use the old one.
Could you send her/him a signed email and ask for an encrypted reply?


Kind regards,
Christian Mack

Am 10.01.24 um 16:39 schrieb "Per Larsson" (p...@per.pe):

Hi,

I've been using SOGo webmail together with Postfix and Dovecot for a little 
over a year now. When I first set it up, I verified that I could use it 
together with my S/MIME certificate, and it worked fine.

When testing it today, I noticed that I can not read S/MIME encrypted mail that I have received. 
Instead, SOGo webmail just shows me a mail with an smime.p7m attachment. If I click on the 
"View attachment" button, I get the error message "An error occurred during object 
publishing. Did not find mail method or part-reference!"

I can download the attachment by clicking the download button.

I am also able to successfully send an S/MIME signed mail from SOGo to another 
mail account, so I know for sure it is finding my private key. I can also send 
an S/MIME encrypted mail to another mail account.

If I look in /var/log/sogo/sogo.log when opening the encrypted mail, this is 
what it says:
----
Jan 10 16:34:07 sogod [1413]: [ERROR] 
<0x0x563d0bcaeef0[UIxMailRenderingContext]> found no viewer for MIME type: 
application/pkcs7-mime
Jan 10 16:34:07 sogod [1413]: [WARN] UIxMailPartLinkViewer No path specified, 
returning first part
Jan 10 16:34:07 sogod [1413]: [WARN] UIxMailPartLinkViewer No path specified, 
returning first part
Jan 10 16:34:07 sogod [1413]: [WARN] UIxMailPartLinkViewer No path specified, 
returning first part
Jan 10 16:34:07 sogod [1413]: [WARN] UIxMailPartLinkViewer No path specified, 
returning first part
Jan 10 16:34:07 sogod [1413]: [WARN] UIxMailPartLinkViewer No path specified, 
returning first part
Jan 10 16:34:07 sogod [1413]: 10.11.12.2 "GET 
/SOGo/so/per/Mail/0/folderINBOX/87095/view HTTP/1.1" 200 1333/0 0.045 - - 0 - 14
----

I am using SOGo version 5.9.1. There are 4 sogod processes running on the 
server, which is running Ubuntu 22.04.3 LTS (jammy).

Tried searching the mailing list archives for something similar, but no luck. 
The only thing I could find was https://bugs.sogo.nu//view.php?id=5450 but I 
started using SOGo after that change was made.

Any hint on where to start looking would be very helpful.

Thank you.


--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung, Lehre, Infrastruktur
78457 Konstanz
+49 7531 88-4416

Attachment: smime.p7s
Description: Kryptografische S/MIME-Signatur

Reply via email to