26/10/2025: New Build of the custom EHCP force, for Ubuntu 26.04.
I have created a build of EHCP force that works on Ubuntu 26.06.
There is no install for phpMyAdmin as yet, although there is a simple manual fix for this: -
sudo apt-get install phpMyAdmin
Wait for the installer to stall out with dbconfig-common: flushing administrative password
Hit CTRL+Z, then enter this command to force a reboot of the server.
sudo systemctl reboot -i
When the server had rebooted, enter this command.
sudo dpkg --configure -a
phpMyAdmin in now properly installed.
phpMyAdmin SHOULD be fixed in the release version of Ubuntu Server 26.04.
My test build of EHCP force has all the latest updates incorporated, and both SMTP and FTP Auth are working fine, courier is installed using the apt package manger (let’s hope it does not get pulled again).
Anyway I will keep you posted on progress.
26/10/2025: Installing legacycrypt breaks ftp-auth.
This is somewhat annoying but there is a solution.
After installing legacycrypt run this command.
pip3 install --upgrade passlib --force-reinstall --break-system-packages
Now they both work ok.
I may be necessary to lock legacycrypt in apt, to stop any future issues.
25/10/2025: SMTP Auth rears its ugly head again.
For once, it is not a problem with the saslauthd service, this runs fine using the 24.04 setup method.
EHCP force uses a custom Python script for SMTP auth (/etc/security/pam_dbauth_smtp.py).
The problem is that Ubuntu 26.04 uses Python 3.13, and crypt (encryption system) has been removed in this version.
Line 67 of the custom script says import crypt.
This is a simple thing to fix however, by replacing crypt with legacycrypt.
So, the fix is as follows from the command line.
sudo apt-get install python3-legacycrypt
Then, change line 67 of /etc/security/pam_dbauth_smtp.py to:-
import legacycrypt as crypt
Last, restart the saslautd service, and we are all fixed.
We don’t actually even need any of this of course in my version of EHCP force as Roundcube does not require SMTP auth, however I will include the fix in my modified version of EHCP force for Ubuntu Server 26.04. This means that SMTP auth will function as intended in my version, if you need to use it.
22/10/2025: Ubuntu Server 26.04, is looking quite good.
The courier MTA (email system) has returned in the developer (beta) version of 26.04, which is good, however we have been here before with 24.04, so I do not know if it will be included in the final release version.
At the moment, installing PhpMyAdmin using the apt package manager does not work, this is something that should be fixed later down the line (hopefully). There are other ways to install PhpMyAdmin, if it does not get fixed in time for the release in April 2026.
There is a slight problem with this line of code (on Ubuntu 26.04) in the EHCP force installer.
rPass=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 | head -c "$PLENGTH")
Basically, the above code is used to generate passwords at install time, however it causes a permanent loop and the installer can go no further. There is a very easy fix for this using a package called pwgen (password generator) though, so this is not really an issue.
At a test, I have managed to install and get working a pre Ubuntu 24.04 version of EHCP force (uses the original courier install method), be it without phpMyAdmin.
I will keep you posted on any developments.
GN Latest News