• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PGP in Horde/IMP

D

death

Guest
Hello

Does anybody know how to enable the PGP Funktionality in Horde/IMP (Plesk Version 7.5.3)?

Is this somehow possible with Plesks Horde/IMP? Do I have to install additional software like GnuPG?

thx, Stefan
 
Enable PGP in Horde-IMP webmail

Put the following line into the file /usr/share/psa-horde/imp/config/conf.php

Code:
$conf['utils']['gnupg'] = true;

I guess this is a mistake of SW-Soft...
 
Unable to import PGP key

The next problem that I'm unable to import my private or any other public key. Has anyone a solution for that? It says that tha key is invalid. Here is one of them:

Code:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.2 (MingW32)

mQGiBEEOjOcRBAD9vA2qjd8XtoMkfKBhdY9oQzULqtnRMn7IQSv/VImgmtxmII1G
iKne0E8aIuaHV5HnmdVEWVjyTYYJJccqRe8OQ9mnwZuf4yTgampeuNfIRg0hri3v
cyXaP19WfPtwT3P8v6TQxe50kmoxNOOO0Jq2dQRGYPzsNECXdiQw4Yxr5wCg5T/x
akouo1c5nxkylrW7b3TaIDsEAIGj8asJvQZCYl3I7vcgn3ODxDnFqTSz7lsgCHqF
oJ9zBxqFz7lSrIABYZ3QdHeoMzBoPNtA/CBhK/Jvf/BZUX2OzgkpLPB7Z8tO3+Sj
5jOsIZh3hppoXS1wPA/iMbd7GENjNFrv75tMWNl8APmV+7lKlIVstXcNwlJrwnlB
k0I1A/0ehcOtH0yqJrWYAW6M6u6ou7CFb8kG/1f2B1iD/rI6El+EI3D4DmPdSUlE
ZDrzC6AMXCAwkXDwhZjaU6/hK74SxTLRCvfuZhf93jm+XdFi+411BhouJx+Uzcjq
wjXlXjZiaeD8Q9wlBx9tkT5nQSnCjnzm+k9g37UPVi5fvqkFarQlVsFNT1MgQmFs
4XpzIDx2YW1vcy5iYWxhenNAenVyaWVsLmh1PohbBBMRAgAbBQJBDoznBgsJCAcD
AgMVAgMDFgIBAh4BAheAAAoJEKgyCVSNdJq1JS8AoIfvXgcZGAkpC+bM5pl3yR4E
Eo0sAKCliDBkeCBMvJSyO3o8wrTH77/Sp7kBDQRBDozpEAQAm5On4/Xdb/ulhGsB
NkqtwHCmF+1lr8Higos++hJvwNT217h5bSrb+H+DjCyz+E1UwFcRQoTiNz+WxEVP
6+xYdCuo+ZMUcNsXolUmz+zEXlwUssCfNM2C01LD4mb7m696fuehByfVPj0F3zLl
qgEBf+VSl/X0Aqm7K4KpMYcdFf8AAwUD/0Z5Qa3+HQhEwSFVXZY6bWXcpX3ItASe
k6lcqeDpkbjR2WVmBgq9Tj/wPn13/GR8Rywf/GYVHUylxLVFgkWSQjpBs8WFkOJd
xinj3EzoGXmu+ttbrNu/dyyHrxVc2CI4Njkz9g8+8b+2TCvc0EjIz+c/aGMjnqka
yCR7JFU5TtcIiEYEGBECAAYFAkEOjOkACgkQqDIJVI10mrUd9gCghLYlVBozsO0j
0CTbQzZ8KvGJmuYAn0mFe5/JTFqkN8fpFUBPtYpO3Lip
=zBk5
-----END PGP PUBLIC KEY BLOCK-----
 
I correct myself

This is the correct configuration setting:

Code:
$conf['utils']['gnupg'] = '/usr/local/bin/gpg';

Path can be vary...
 
@vamosb: I additionally had problems with generating the private/public key pair online. Importing other peoples public key worked.

I will now try to set the gpg Path as you described above. But I'm behind a */"&ç firewall right now :(
 
location of keyring?

We have a client who uses a sendmail script which encrypts the outgoing mail using pgp. We have his key, but since we cant find pgpe or the pgp executables on the plesk 7.5 server, were a little confused on how this is done.

We could just install pgp but are concerned whether or not it will screw up the horde pgp scripts.

Has anyone tried using pgp keys on a per domain level, and if so, how did you do it?
 
Hi PGP Guru Guys,

I have PGP on Linux system

I have added new public key to the main user account and tested it successfully.

The issue is when developers is trying to use it from there own private account (same server) they failing with error key not found.
Developer do not have access to the account that i added the new key, they have access only to there own private account on that server.

Is it possible to configure the PGP to work for all user on that server and not only on the main account?

Appreciate your help.
 
I have followed the instructions here, but the PGP entry in the horde preferences don't show.

Any ideas ?
 
This is a very old thread. Which OS, Plesk and Horde version are you using? What exactly did you change or add in the configuration files?
 
I run Horde 5.2.17 on an ubuntu system with PLESK.

I added
$conf['utils']['gnupg'] = '/usr/local/bin/gpg';
to the
/usr/share/psa-horde/imp/config/conf.php
file.

EDIT: I did use find to verify that this is the location of the gpg executable. ;)
 
Last edited:
So, activated
'pgp_inline' => true,
in /config/mime_drivers.php
no emails with inline PGP also tell me PGP is deaktivated. <sarcasm>Yeah!</sarcasm>
 
refs.php tells us, that the PGP options only show, when
$GLOBALS['conf']['gnupg']['path']
is not set, so back in conf.php I set:
$conf['gnupg']['path'] = '/usr/bin/gpg';

and, voila.
 
Back
Top