Strange problem with webmail

Hi to all, i have two domains, the one can access the webmail (roundcube) the other not i get this:

Any idea what to check ?

Hi @leros2004,

I would say that you should modify the perms due a bug but if you say one works and another no… you should check the logs for that domain:

chown -R hestiamail:www-data /etc/roundcube/
find /etc/roundcube/ -type f -iname "*php" -exec chmod 640 {} \;
chown -R hestiamail:www-data /var/lib/roundcube/
chown -R hestiamail:www-data /var/log/roundcube/
1 Like

That was fast !!
Thank you, your recommendation fixed the problem.
I also checked the logs (before i tried your solution) at: webmail.domain.gr.error
and the error is:
2024/05/30 01:39:28 [error] 705#705: 683 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “temp_dir” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 233; PHP message: PHP Warning: Undefined array key “temp_dir” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 233; PHP message: PHP Warning: Undefined array key “drafts_mbox” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 243; PHP message: PHP Warning: Undefined array key “junk_mbox” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 243; PHP message: PHP Warning: Undefined array key “sent_mbox” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 243; PHP message: PHP Warning: Undefined array key “trash_mbox” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 243; PHP message: PHP Warning: Undefined array key “log_driver” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 247” while reading response header from upstream, client: 8..., server: webmail.*.gr, request: “GET / HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: "webmail..gr", referrer: "http://webmail.i.gr"

the same error keeps repeating

Rh

You are welcome, but if one domain didn’t work the other too, it’s strange that one works and the other doesn’t.

Those are warnings.

Show the output of these commands:

grep -rE 'temp_dir|drafts_mbox' /etc/roundcube
ls -la /etc/roundcube/
ls -la /var/lib/roundcube/