# Ciphermail-VM as IMAP server: PGP encrypted emails don't get decrypted

**URL:** <https://community.ciphermail.com/t/ciphermail-vm-as-imap-server-pgp-encrypted-emails-dont-get-decrypted/384>\
**Category:** Gateway\
**Created:** [August 14, 2014, 10:50am UTC](https://community.ciphermail.com/t/ciphermail-vm-as-imap-server-pgp-encrypted-emails-dont-get-decrypted/384 "2014-08-14T10:50:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Gunther](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Stefan\_Gunther](https://community.ciphermail.com/u/Stefan_Gunther)\
**Post date:** [August 14, 2014, 10:50am UTC](https://community.ciphermail.com/t/ciphermail-vm-as-imap-server-pgp-encrypted-emails-dont-get-decrypted/384/1 "2014-08-14T10:50:07Z")

</div>

Hello,

we had to configure a ciphermail vm as an imap server, which is already working perfectly.

Our problem is, that we have created the internal account guenther(a)in-put.de in the ciphermail webinterface and the corresponding imap account guenther.  
Then we uploaded the private gpg key and told ciphermail that it is a trusted key.

When we now send an gpg encrypted email, the MPA log contains the following line:

14 Aug 2014 12:54:56 | INFO incoming; MailID: 7d8b2b64-9023-41e4-b415-c95f5a0f003c; Recipients: [guenther(a)in-put.de]; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Subject: TEST A 9; Message-ID: \<53EC9567.2070502(a)in-put.de\>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #0]  
14 Aug 2014 12:54:56 | INFO Subject filter is disabled for the sender; MailID: 7d8b2b64-9023-41e4-b415-c95f5a0f003c; Recipients: [guenther(a)in-put.de] (mitm.application.djigzo.james.mailets.Default) [Spool Thread #0]  
14 Aug 2014 12:54:56 | INFO To internal recipient(s); MailID: 7d8b2b64-9023-41e4-b415-c95f5a0f003c; Recipients: [guenther(a)in-put.de] (mitm.application.djigzo.james.mailets.Default) [Spool Thread #0]  
14 Aug 2014 12:54:57 | INFO Message handling is finished. Sending to final recipient(s); MailID: 7d8b2b64-9023-41e4-b415-c95f5a0f003c; Recipients: [guenther(a)in-put.de]; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Subject: TEST A 9; Message-ID: \<53EC9567.2070502(a)in-put.de\>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #0]

Hm, ciphermail doesn't even try to decrypt it, but sends it to the local IMAP server.  
Probably it is just a single option that is missing, but which is it?

Thanks for any hints,

Stefan

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [August 14, 2014, 11:08am UTC](https://community.ciphermail.com/t/ciphermail-vm-as-imap-server-pgp-encrypted-emails-dont-get-decrypted/384/2 "2014-08-14T11:08:54Z")

</div>

Could it be that the message is PGP/INLINE encrypted (as opposed to  
PGP/MIME) and you did not select "Incoming PGP/INLINE enabled"?

Kind regards,

Martijn Brinkers

> **···**
>
> On 08/14/2014 12:50 PM, Stefan Michael Guenther wrote:
> 
> > we had to configure a ciphermail vm as an imap server, which is already working perfectly.
> > 
> > Our problem is, that we have created the internal account guenther(a)in-put.de in the ciphermail webinterface and the corresponding imap account guenther.  
> > Then we uploaded the private gpg key and told ciphermail that it is a trusted key.
> > 
> > When we now send an gpg encrypted email, the MPA log contains the following line:
> > 
> > 14 Aug 2014 12:54:56 | INFO incoming; MailID: 7d8b2b64-9023-41e4-b415-c95f5a0f003c; Recipients: [guenther(a)in-put.de]; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Subject: TEST A 9; Message-ID: \<53EC9567.2070502(a)in-put.de\>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #0]  
> > 14 Aug 2014 12:54:56 | INFO Subject filter is disabled for the sender; MailID: 7d8b2b64-9023-41e4-b415-c95f5a0f003c; Recipients: [guenther(a)in-put.de] (mitm.application.djigzo.james.mailets.Default) [Spool Thread #0]  
> > 14 Aug 2014 12:54:56 | INFO To internal recipient(s); MailID: 7d8b2b64-9023-41e4-b415-c95f5a0f003c; Recipients: [guenther(a)in-put.de] (mitm.application.djigzo.james.mailets.Default) [Spool Thread #0]  
> > 14 Aug 2014 12:54:57 | INFO Message handling is finished. Sending to final recipient(s); MailID: 7d8b2b64-9023-41e4-b415-c95f5a0f003c; Recipients: [guenther(a)in-put.de]; Originator: s.guenther(a)in-put.de; Sender: s.guenther(a)in-put.de; Remote address: 127.0.0.1; Subject: TEST A 9; Message-ID: \<53EC9567.2070502(a)in-put.de\>; (mitm.application.djigzo.james.mailets.Log) [Spool Thread #0]
> > 
> > Hm, ciphermail doesn't even try to decrypt it, but sends it to the local IMAP server.  
> > Probably it is just a single option that is missing, but which is it?
> 
> --  
> CipherMail email encryption
> 
> Open source email encryption gateway with support for S/MIME, OpenPGP  
> and PDF messaging.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)
