# Incoming mail not decripted

**URL:** <https://community.ciphermail.com/t/incoming-mail-not-decripted/534>\
**Category:** Gateway\
**Created:** [March 16, 2017, 10:44pm UTC](https://community.ciphermail.com/t/incoming-mail-not-decripted/534 "2017-03-16T22:44:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabi\_Munteanu](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@Gabi\_Munteanu](https://community.ciphermail.com/u/Gabi_Munteanu)\
**Post date:** [March 16, 2017, 10:44pm UTC](https://community.ciphermail.com/t/incoming-mail-not-decripted/534/1 "2017-03-16T22:44:37Z")

</div>

Hello,I'm currently trying to setup the virtual appliance version of the gateway. So far the gateway is successfully encrypting the outgoing messages, but unfortunately the incoming messages come up only with the -----BEGIN/END PGP MESSAGE-----, not the decripted version.  
I imported the sender's public key and set it as trusted.  
Any thoughts on what I could be missing ?  
Thanks !

---

<div class="post-metadata">

**Author:** ![Sebastian\_Nielsen1](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@Sebastian\_Nielsen1](https://community.ciphermail.com/u/Sebastian_Nielsen1)\
**Post date:** [March 16, 2017, 11:10pm UTC](https://community.ciphermail.com/t/incoming-mail-not-decripted/534/2 "2017-03-16T23:10:05Z")

</div>

I think you have not fully understand PGP encryption.  
You of course need to import YOUR private key.

Also, you need to set settings on users and/or domain, so mails to incoming mail to your domain is decrypted.

-----Ursprungligt meddelande-----

> **···**
>
> Från: users-bounces(a)lists.djigzo.com [mailto:users-bounces(a)[lists.djigzo.com](http://lists.djigzo.com)] För Gabi Munteanu  
> Skickat: den 16 mars 2017 23:45  
> Till: users(a)lists.djigzo.com  
> Ämne: Incoming mail not decripted
> 
> Hello,I'm currently trying to setup the virtual appliance version of the gateway. So far the gateway is successfully encrypting the outgoing messages, but unfortunately the incoming messages come up only with the -----BEGIN/END PGP MESSAGE-----, not the decripted version. I imported the sender's public key and set it as trusted.  
> Any thoughts on what I could be missing ?  
> Thanks !
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Users mailing list  
> Users(a)lists.djigzo.com  
> [https://lists.djigzo.com/lists/listinfo/users](https://lists.djigzo.com/lists/listinfo/users)

---

<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:** [March 17, 2017, 9:17am UTC](https://community.ciphermail.com/t/incoming-mail-not-decripted/534/3 "2017-03-17T09:17:01Z")

</div>

For one, make sure you have the correct private key installed.

The most likely reason is that you did not enable "Enable PGP/INLINE to  
internal" (do this for the global settings).

As to why "PGP/INLINE to internal" is not enabled by default see FAQ  
item "Why is Incoming PGP/INLINE not enabled by default?":

[https://www.ciphermail.com/documents/html/faq/#pfc](https://www.ciphermail.com/documents/html/faq/#pfc)

Kind regards,

Martijn Brinkers

> **···**
>
> On 03/16/2017 11:44 PM, Gabi Munteanu wrote:
> 
> > Hello,I'm currently trying to setup the virtual appliance version of  
> > the gateway. So far the gateway is successfully encrypting the  
> > outgoing messages, but unfortunately the incoming messages come up  
> > only with the -----BEGIN/END PGP MESSAGE-----, not the decripted  
> > version. I imported the sender's public key and set it as trusted.  
> > Any thoughts on what I could be missing ? Thanks !
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[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)

---

<div class="post-metadata">

**Author:** ![Gabi\_Munteanu](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@Gabi\_Munteanu](https://community.ciphermail.com/u/Gabi_Munteanu)\
**Post date:** [March 17, 2017, 9:49am UTC](https://community.ciphermail.com/t/incoming-mail-not-decripted/534/4 "2017-03-17T09:49:16Z")

</div>

Hi Martijn,  
Your answer was spot on, indeed I was missing the "Enable PGP/INLINE to  
internal" option.  
Many thanks for your help!

&nbsp;&nbsp;On Fri, Mar 17, 2017 at 10:17, Martijn Brinkers\<martijn(a)ciphermail.com\> wrote: On 03/16/2017 11:44 PM, Gabi Munteanu wrote:

> Hello,I'm currently trying to setup the virtual appliance version of  
> the gateway. So far the gateway is successfully encrypting the  
> outgoing messages, but unfortunately the incoming messages come up  
> only with the -----BEGIN/END PGP MESSAGE-----, not the decripted  
> version. I imported the sender's public key and set it as trusted.  
> Any thoughts on what I could be missing ? Thanks !

For one, make sure you have the correct private key installed.

The most likely reason is that you did not enable "Enable PGP/INLINE to  
internal" (do this for the global settings).

As to why "PGP/INLINE to internal" is not enabled by default see FAQ  
item "Why is Incoming PGP/INLINE not enabled by default?":

[https://www.ciphermail.com/documents/html/faq/#pfc](https://www.ciphermail.com/documents/html/faq/#pfc)

Kind regards,

Martijn Brinkers

> **···**
>
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[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)
