I have a fairly mature Postfix server which has been running postfixadmin since 2010. After a recent update, postifxadmin has stopped working as shown by the two attached screenshots.
The server runs normally for existing mail accounts, but I am unable to add new ones or manage the existing ones. I don't know if this happened with the latest update or the one before that because our user list had been stable for the last 3 years and I only found out when suddenly trying to add more users.
The first error about not using https: is false - the screenshot is the result of accessing the setup screen over https,
I have tried addressing the second error about the changed password format by entering the new format password hash in config.local.php but it had no effect - the same error comes up in the postfixadmin setup screen.
Any suggestions for what to try next will be more than welcome - I suspect the slew of php errors in the postfixadmin setup screen might look familiar to someone and suggest what the culprit new setting or permission might be...
Many thanks in advance
(by the way - the system is running Ubuntu on kernel 5.15.0-91, postfix, dovecot, and mysql, with spamassassin as the spam filter and all packages on the latest version in the ubuntu stable release )
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Many thanks for the very prompt reply
php version 8.1.2-1ubuntu2.14
postfixadmin is the latest on Ubuntu - upgraded in the last week or two. Don't know how to positively confirm the version without accessing the (non-working) postfixadmin setup screen -but it should be the latest one for my version of Ubuntu (22.04 jammy) , which is 3.3.10-2
Do you think I should copy this to github instead?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On the back of your comment above I have checked my php.ini files (there are three) and in all of them short_ope_tags is set to Off. I have three in the following locations :
/etc/php/8.1/apache2/php.ini
/etc/php/8.1/cli/php.ini
/etc/php/7.4/apache2/php.ini
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a fairly mature Postfix server which has been running postfixadmin since 2010. After a recent update, postifxadmin has stopped working as shown by the two attached screenshots.
The server runs normally for existing mail accounts, but I am unable to add new ones or manage the existing ones. I don't know if this happened with the latest update or the one before that because our user list had been stable for the last 3 years and I only found out when suddenly trying to add more users.
The first error about not using https: is false - the screenshot is the result of accessing the setup screen over https,
I have tried addressing the second error about the changed password format by entering the new format password hash in config.local.php but it had no effect - the same error comes up in the postfixadmin setup screen.
Any suggestions for what to try next will be more than welcome - I suspect the slew of php errors in the postfixadmin setup screen might look familiar to someone and suggest what the culprit new setting or permission might be...
Many thanks in advance
(by the way - the system is running Ubuntu on kernel 5.15.0-91, postfix, dovecot, and mysql, with spamassassin as the spam filter and all packages on the latest version in the ubuntu stable release )
Hi James ...
What version of Postfixadmin are you trying to use, and what version of PHP are you trying to use?
It looks like there's an issue with PHP coping with shorttags (<? vs <?php) - which feels like it was an issue a long time ago.
Note - you'll get a better/quicker answer on github.com/postfixadmin/postfixadmin - we're not using the sourceforge site any longer.
Many thanks for the very prompt reply
php version 8.1.2-1ubuntu2.14
postfixadmin is the latest on Ubuntu - upgraded in the last week or two. Don't know how to positively confirm the version without accessing the (non-working) postfixadmin setup screen -but it should be the latest one for my version of Ubuntu (22.04 jammy) , which is 3.3.10-2
Do you think I should copy this to github instead?
On the back of your comment above I have checked my php.ini files (there are three) and in all of them short_ope_tags is set to Off. I have three in the following locations :
/etc/php/8.1/apache2/php.ini
/etc/php/8.1/cli/php.ini
/etc/php/7.4/apache2/php.ini