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

it doesn' t make a difference, whether I choose INLINE or MIME.

Kind regards,

Stefan

···

-----Ursprüngliche Nachricht-----
Von: Martijn Brinkers <martijn(a)djigzo.com>
Gesendet: Do 14.08.2014 12:55
Betreff: Re: Ciphermail-VM as IMAP server: PGP encrypted emails don't get decrypted
An: users(a)lists.djigzo.com;

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?

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

You mean choose from the sending application? If the incoming email is
PGP/INLINE encrypted, you need to enable "Incoming PGP/INLINE enabled"
otherwise the gateway will not scan the message for PGP inline parts.
Can you send me (off list) the message that was not decrypted?

Kind regards,

Martijn Brinkers

···

On 08/14/2014 01:19 PM, Stefan Michael Guenther wrote:

-----Ursprüngliche Nachricht-----
Von: Martijn Brinkers <martijn(a)djigzo.com>
Gesendet: Do 14.08.2014 12:55
Betreff: Re: Ciphermail-VM as IMAP server: PGP encrypted emails don't get decrypted
An: users(a)lists.djigzo.com;

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?

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

it doesn' t make a difference, whether I choose INLINE or MIME.

--
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

Twitter: http://twitter.com/CipherMail