Closed imyller closed 7 months ago
To check whether disabled php functions are affecting snappymail, modify /etc/php/PHP_VERSION/fpm/php.ini
Example for PHP version 8.2:
sed -i 's/^disable_functions =.*/disable_functions = /' /etc/php/8.2/fpm/php.ini
To check whether disabled php functions are affecting snappymail, modify
/etc/php/PHP_VERSION/fpm/php.ini
Example for PHP version 8.2:
sed -i 's/^disable_functions =.*/disable_functions = /' /etc/php/8.2/fpm/php.ini
We changed the owner to hestiamail instead of www-data due to the security issue
chown -R hestiamail:www-data /etc/snappymail/data should probally solve..
Seems also rainloop affected.
Just leaving this here to get the update/notifications, how to solve? For now, I don't have clients on my server, so I plan to wait it out.
chown -R hestiamail:www-data /etc/snappymail/data
Will solve the issue .... Probally will test tomorrow...
First, I confirmed that Roundcube worked while Snappymail did not work.
Roundcube worked. Snappymail did not work.
chown -R hestiamail:www-data /etc/snappymail/data Will solve the issue .... Probally will test tomorrow...
This did indeed fix the problem with Snappymail.
chown -R hestiamail:www-data /etc/snappymail/data
Fixing the owner solved the issue for Snappymail.
Owner of the data folder was www-data
by default.
Snappymail installer script also needs to be adjusted. v-add-sys-snappymail
Describe the bug
After HestiaCP 1.8.10 upgrade Snappymail fails to load with error:
Owner of both
/var/lib/snappymail/data
(symlink) and/etc/snappymail/data
iswww-data:www-data
v-add-sys-snappymail
reports that the installation is latest and ok:Could this be caused by new security hardening from
secure_php.sh
?Tell us how to replicate the bug
Which components are affected by this bug?
Webmail (Roundcube, SnappyMail)
Hestia Control Panel Version
1.8.10
Operating system
Ubuntu 22.04
Log capture
No response