smime webapp kopano

@thctlo if i understand correctly. I have uploaded the certificate to webapp. how does this involve with servername inside apache?


it all works except when i mail from the webapp. ?

just a check for the servernames and certs, thats was why im asking.

The imported smime cert is a p12 (pfx) with the full chain?
and/or is the Root cert available on the computer?

you could try to verify you cert with gmail.
here is an example how.
just to make sure its not in your certs.


Hi its ondead a p12 Pfx certificate. I installed iT on my iPhone and in outlook. If i send mail from these devices all is ok and trusted. Except when sending from webapp. However in webapp i installed the same certificate


did you prepare your WebApp as described here: ?
My S/MIME in WebApp works for me as expected.


Yes i have done this. my certificate comes from comodo.

@walterhof nevermind. i tested some further and it seems that the incoming mailserver does something to the mail from the mailaccount that tels me that the mail is untrusted. if i send to other mailservers all is wel.

I have the same problem
send via webapp or deskapp works, but the receiver gets the indication that the mail could be manipulated.

via ios it works perfectly and signed correctly.

only clue when sending via web / deskapp is the e-mail header, here are 2 entries for Mime version


X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: “MIME-Version”
Subject: TEST
From: " anonymisiert "
To: ""
Date: Fri, 28 Dec 2018 13:13:27 +0000
Mime-Version: 1.0
X-Priority: 3 (Normal)
Message-Id: kcis.ID@anonym
MIME-Version: 1.0
Content-Type: multipart/signed; protocol=“application/x-pkcs7-signature”; micalg=“sha-256”; boundary="----88A2CFE0C5AF6C2296458FD5099A2592"

Subject: TEST
From: " anonymisiert "
To: ""
Date: Fri, 28 Dec 2018 13:13:26 +0000
Mime-Version: 1.0
Content-Type: multipart/alternative;
X-Priority: 3 (Normal)
Message-Id: <>


php-kopano-smime 1.0.00+14.3

any ideas or workarounds?


nope i also still have the same isue.

Deskapp the same problem.
iOS Mail & Thunderbird works fine