It’s working with PHP73 if we install it with pear(see horde docs). This way IMAP TLS login works with newest TLS policy:
Install nethserver-horde:
yum install https://mrmarkuz.dynu.net/mirror/devtest/nethserver-horde-0.0.2-1.ns7.noarch.rpm
Make rh-php73 work:
yum -y install nethserver-rh-php73-php-fpm
Add
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9003"
</FilesMatch>
to /etc/httpd/conf.d/php-horde-horde.conf
line 41 and reload http:
systemctl reload httpd
PEAR install of horde with rh-php73:
scl enable rh-php73 bash
pear channel-discover pear.horde.org
pear install horde/horde_role
pear run-scripts horde/horde_role
Enter Filesystem location for the base Horde application : /usr/share/horde
pear install -a -B horde/horde
Set permissions - should be optimized as regards security - needed to update the configurations in the ui
chown -R root:apache /usr/share/horde/
chmod -R 775 /usr/share/horde/
Login to UI with ldap/ad user admin and update db schemas and configurations and it should just work.
I tried to automate this process but still not fully working:
To update the DB schemas:
horde-db-migrate
The config files are missing a hash, see horde bug.
This adds the missing hash to the config files:
hordepart=(turba kronolith ingo imp nag .)
for i in "${hordepart[@]}"
do
grep -q "// \$Hash:" /usr/share/horde/$i/config/conf.php || echo "// \$Hash: `sha1sum /usr/share/horde/$i/config/conf.xml | cut -d" " -f1`" >> /usr/share/horde/$i/config/conf.php
done
Looks good except of the missing mail and logout buttons:
In this case you can do a signal-event nethserver-horde-update
and start over with configuring via the UI.