How to configure email encryption in Horde Groupware

In this post, we will show how to configure Horde Groupware to use email encryption.
Horde Groupware is a free webmail program that you can access via cPanel at yourdomainname.com/webmail.

We will assume that you already generated your key pair in cPanel->Encryption. Look at this KB post: Create public and private GnuPG keys for email encryption in cPanel

  1. Login with your credentials at yourdomain.com/webmail and select the Horde option.
horde groupware 1

2. From the Horde menu go to  Preferences->Mail

horde groupware 2

3. Then choose PGP

horde groupware 3

4. On the PGP page, check the Enable PGP functionality? option and click Save.

horde groupware 4

5. Now on the Horde PGP page you will see more options.

  • Use the Import Public Key button to import public keys. A new entry will be created in the Address Book – entry that will contain the public key of that email.
  • Use the Import Key button to import your private key. It will be used to encrypt messages that you send.
horde groupware 5

Do not give your private key to anyone! Send only your public key.

6. When sending messages you can select if you want to encrypt or not the message. Don’t forget that only recipients that have your public key will be able to read the messages you choose to encrypt.

horde groupware 6

A public/private key looks like:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.22 (GNU/Linux) 
mQGiBFkGByURBACO3t9ym4Yjzd2j2B/0H5rdsrxVCQyM+wca+AdVWq7jMM6maXN4
MZixCh8TgNYErSuDw8tMVKdLfPEYpwkJVkKqc7JyJuOsffPomXdf8IVfAaRnRRQ7
+cM0slgFFriBKyuDbZfuElNuoGTduc3uIQqwYgwYPUd2XtG17+A9ggNdDwCgtUjr
xZrsf7N910vSMzLuAowB1zsD/3QKl0QmDAYdy2Fr/ndoPg4rduHI5v8bUCQ8nPHD
Da+TjpA6TP0IQCW43+ab4BjE6UMn0ZTCP6G0qN5DhJJyONPZgdHK66Faq/Ar8lqP
Oj8PIXOQaVoIWelUnvnZt7iQq2WrxzHqY+zDg8fBdrdtvRBC0CMgI/g8ocLlykmz
HHJzBACLwBjo11gzRZw7l+J7nVBixVApbXGq/L7p/HmjOmgAYEf+cXfrhlME+PKs
tQmwo3vhnZCUI3uopv3eWUZXgzM3V5MHt51a2EvpNCnyuugiUFywR17RgddGOVRJ
GXk6OeoTwb7fQBPxR82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==
=2arU
-----END PGP PUBLIC KEY BLOCK-----

Related KB: Create public and private GnuPG keys for email encryption in cPanel

Leave a Reply