# Cipher Mail not decrypting PGP

**URL:** <https://community.ciphermail.com/t/cipher-mail-not-decrypting-pgp/391>\
**Category:** Gateway\
**Created:** [August 31, 2014, 6:52am UTC](https://community.ciphermail.com/t/cipher-mail-not-decrypting-pgp/391 "2014-08-31T06:52:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Dasher](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Dasher](https://community.ciphermail.com/u/James_Dasher)\
**Post date:** [August 31, 2014, 6:52am UTC](https://community.ciphermail.com/t/cipher-mail-not-decrypting-pgp/391/1 "2014-08-31T06:52:24Z")

</div>

I'm having issues getting Cipher Mail to decrypt PGP it's sending on as encrypted. Tried enabling Inline didn't help. Cipher Mail will encrypt outgoing but it won't decrypt incoming. I have public and private keys loaded and trusted for the applicable emails. I have our internal domain set as internal and others set as external. Everything seems to be working minus decrypting incoming. Not sure if I'm missing a setting or what. Suggestions or leads welcome! I can send over logs if helpful.

Very sorry if this shows up twice, wasn't sure it went through the first time.

> **···**
>
> --  
> James Dasher \<jdasher(a)pulseresearchers.org\<mailto:jdasher(a)[pulseresearchers.org](http://pulseresearchers.org)\>\>

---

<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 31, 2014, 7:21am UTC](https://community.ciphermail.com/t/cipher-mail-not-decrypting-pgp/391/2 "2014-08-31T07:21:41Z")

</div>

Hi James,

Ar you absolutely certain that you have enabled the option "Incoming  
PGP/INLINE enabled"?

If so, can you send me the djigzo.log file off-list to me?

Kind regards,

Martijn Brinkers

> **···**
>
> On 08/31/2014 08:52 AM, James Dasher wrote:
> 
> > I'm having issues getting Cipher Mail to decrypt PGP it's sending on  
> > as encrypted. Tried enabling Inline didn't help. Cipher Mail will  
> > encrypt outgoing but it won't decrypt incoming. I have public and  
> > private keys loaded and trusted for the applicable emails. I have our  
> > internal domain set as internal and others set as external.  
> > Everything seems to be working minus decrypting incoming. Not sure if  
> > I'm missing a setting or what. Suggestions or leads welcome! I can  
> > send over logs if helpful.
> 
> --  
> 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)

---

<div class="post-metadata">

**Author:** ![James\_Dasher](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Dasher](https://community.ciphermail.com/u/James_Dasher)\
**Post date:** [August 31, 2014, 9:25am UTC](https://community.ciphermail.com/t/cipher-mail-not-decrypting-pgp/391/3 "2014-08-31T09:25:14Z")

</div>

Martijn,

I've sent you the log file off-list. I've tried enabling Incoming PGP/INLINE at both the global and the domain specific level with no change.

Thanks!

James

> **···**
>
> --  
> James Dasher \<jdasher(a)pulseresearchers.org\>
> 
> -----Original Message-----  
> From: Martijn Brinkers [mailto:martijn(a)[djigzo.com](http://djigzo.com)]  
> Sent: Sunday, August 31, 2014 11:22 AM  
> To: users(a)lists.djigzo.com  
> Cc: James Dasher  
> Subject: Re: Cipher Mail not decrypting PGP
> 
> On 08/31/2014 08:52 AM, James Dasher wrote:
> 
> > I'm having issues getting Cipher Mail to decrypt PGP it's sending on  
> > as encrypted. Tried enabling Inline didn't help. Cipher Mail will  
> > encrypt outgoing but it won't decrypt incoming. I have public and  
> > private keys loaded and trusted for the applicable emails. I have our  
> > internal domain set as internal and others set as external.  
> > Everything seems to be working minus decrypting incoming. Not sure if  
> > I'm missing a setting or what. Suggestions or leads welcome! I can  
> > send over logs if helpful.
> 
> Hi James,
> 
> Ar you absolutely certain that you have enabled the option "Incoming PGP/INLINE enabled"?
> 
> If so, can you send me the djigzo.log file off-list to me?
> 
> Kind regards,
> 
> Martijn Brinkers
> 
> --  
> 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)

---

<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:** [September 2, 2014, 8:19am UTC](https://community.ciphermail.com/t/cipher-mail-not-decrypting-pgp/391/4 "2014-09-02T08:19:35Z")

</div>

Just for the record (in the hope it might help others as well), it  
turned out that the email was PGP/MIME encrypted (with PGP Universal  
gateway) in a non standard way. PGP Universal gateway uses a  
multipart/mixed encoding for PGP/MIME encrypted email instead of  
multipart/encrypted as defined by RFC 3156. A PGP proprietary header  
x-pgp-encoding-format is used to specify the actual encoding. The fix  
for this issue will be included with the upcoming release (if someone  
need this fix before the new version is released, please contact us).

Kind regards,

Martijn Brinkers

> **···**
>
> On 08/31/2014 08:52 AM, James Dasher wrote:
> 
> > I'm having issues getting Cipher Mail to decrypt PGP it's sending on  
> > as encrypted. Tried enabling Inline didn't help. Cipher Mail will  
> > encrypt outgoing but it won't decrypt incoming. I have public and  
> > private keys loaded and trusted for the applicable emails. I have our  
> > internal domain set as internal and others set as external.  
> > Everything seems to be working minus decrypting incoming. Not sure if  
> > I'm missing a setting or what. Suggestions or leads welcome! I can  
> > send over logs if helpful.
> 
> --  
> 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)
