Thanks for the reply Actually, YES, I didn’t put one and one together immediately - but I DID have postfix stop working. I am a beginner and I could not work out how to fix it. Thankfully I had only just setup, so I could start-over.
Knowing now that an attempt to change password can break your database IF I WERE YOU I’D CONSIDER DISABLING THE PASSWORD APP FOR NOW so no-one breaks things for you again (sudo nano /usr/local/lib/roundcubemail/config.inc.conf and comment out the ‘password’ in the plugin array - or delete it if the plugins are in one line. no need to restart… but check if roundcubemail loads in your browser because a typo will break it)
After re-doing an install with Ubuntu 22.04 and MIAB v60 I confirmed the same thing happened a second time. So I dropped back to Ubuntu 20.04 - but then the installer would not run - it says it requires Ubuntu 22.04 and 18.04 but not 20.04 (using ‘curl -s https://mailinabox.email/setup.sh | sudo -E bash’ and not the latest from Github).
So I dropped back to Ubuntu 18.04 and MIAB v57 installed.
On Ubuntu 18.04 with MIAB v57 changing the password through Roundcubemail works fine.
I’m guessing the move to Ubuntu 22.04 is recent and there’s still some bugs to iron out. So I’ll start with 18.04 for now.
Before downgrading, and while I was having a look around in v60 on Ubuntu 22.04 I also noticed (in /usr/local/lib/roundcubemail/plugins/password/config.inc.php) that there is a miab ‘driver’ available, but that the setup uses mysql. I read the instructions (also in config.inc.php.dist) and changed the driver to ‘miab’ and added %u and %p under user and password further down in the miab section. But it didn’t work either. It did not occur to me at the time though, that I may have already ‘broken’ postfix/the database with a failed attempt at changing the password. If I had a clean install and tried the miab driver - who knows it may have worked? Or perhaps instead of %u and %p it may want admin user and an api password.