Recent posts
#71
Pending Issues / Re: Bad Gateway - Ubuntu 22.04
Last post by SKaero - November 17, 2025, 12:57:11 PMIs there anymore details in the nginx or php-fpm error logs, hard to point to anything without more information on why its failing.
#72
Pending Issues / Re: Login from external site/f...
Last post by ballouhosting - November 17, 2025, 12:30:07 PMThank you. I had one before but that one isn't working now.
I posted the user info to a file on the roundcube and from there it logged in.
Do you have help info or links?
I posted the user info to a file on the roundcube and from there it logged in.
Do you have help info or links?
#73
Pending Issues / Re: Bad Gateway - Ubuntu 22.04
Last post by CairoBlues - November 17, 2025, 10:05:02 AMPS: All mailboxes are functioning normally, SSL is configured properly, etc.. There are no mail issues.
#74
Pending Issues / Bad Gateway - Ubuntu 22.04
Last post by CairoBlues - November 17, 2025, 10:01:04 AMHi, folks.
Hoping someone can help me figure this one out.
One of our mail servers has an issue with RC webmail, following disaster recovery. There was never a problem with the webmail service before DR and nothing has been changed on the server since the previous DR backup was made, so there's no logical reason for things not to work, now.
The server is nginx and the configs I believe to be relevant are here:
/etc/nginx/sites-enabled/mail.domain.com.conf
/etc/nginx/sites-enabled/00-default-ssl.conf
/etc/nginx/templates/roundcube.tmpl
Php7.4-fpm is running and the path to it is correct in the sites-enabled config files. Permissions are 660 on /var/run/php/php7.4-fpm.sock.
When I visit domain.com/iredadmin, I can sign in and everything works.
When I visit domain.com/mail, I get 502 Bad Gateway.
If there's any further information I can provide, please let me know.
Thank you!
Hoping someone can help me figure this one out.
One of our mail servers has an issue with RC webmail, following disaster recovery. There was never a problem with the webmail service before DR and nothing has been changed on the server since the previous DR backup was made, so there's no logical reason for things not to work, now.
The server is nginx and the configs I believe to be relevant are here:
/etc/nginx/sites-enabled/mail.domain.com.conf
Code Select
server {
server_name _;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php-fpm/php7.4-fpm.sock;
include fastcgi_params;
}
default_type text/html;
include /etc/nginx/templates/iredadmin.tmpl; # <- iRedAdmin
include /etc/nginx/templates/roundcube.tmpl; # <- Roundcube webmail
# certbot stuff...
}
/etc/nginx/sites-enabled/00-default-ssl.conf
Code Select
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name _;
index index.php;
include /etc/nginx/templates/misc.tmpl;
include /etc/nginx/templates/ssl.tmpl;
include /etc/nginx/templates/iredadmin.tmpl;
include /etc/nginx/templates/roundcube.tmpl;
include /etc/nginx/templates/sogo.tmpl;
include /etc/nginx/templates/netdata.tmpl;
include /etc/nginx/templates/php-catchall.tmpl;
include /etc/nginx/templates/stub_status.tmpl;
}
/etc/nginx/templates/roundcube.tmpl
Code Select
location ~ ^/mail/(bin|config|installer|logs|SQL|temp|vendor)($|/.*) { deny all; }
location ~ ^/mail/(CHANGELOG|composer.json|INSTALL|jsdeps.json|LICENSE|README|UPGRADING)($|.*) { deny all; }
location ~ ^/mail/plugins/.*/config.inc.php.* { deny all; }
location ~ ^/mail/plugins/enigma/home($|/.*) { deny all; }
location = /mail {
return 301 /mail/;
}
location ~ ^/mail/(.*\.php)$ {
include /etc/nginx/templates/hsts.tmpl;
include /etc/nginx/templates/fastcgi_php.tmpl;
fastcgi_param SCRIPT_FILENAME /opt/www/roundcubemail/$1;
}
location ~ ^/mail/(.*) {
alias /opt/www/roundcubemail/$1;
index index.php;
}
Php7.4-fpm is running and the path to it is correct in the sites-enabled config files. Permissions are 660 on /var/run/php/php7.4-fpm.sock.
When I visit domain.com/iredadmin, I can sign in and everything works.
When I visit domain.com/mail, I get 502 Bad Gateway.
If there's any further information I can provide, please let me know.
Thank you!
#75
Pending Issues / Re: Login from external site/f...
Last post by SKaero - November 17, 2025, 09:39:18 AMThe autologon plugin is an example of how the Roundcube plugin api allows auto login but will not work out of the box.
Roundcube needs the username and password to login so you need to design and build a way for your billing system to pass that to Roundcube and then build a custom plugin to get that data and login the user in.
Roundcube needs the username and password to login so you need to design and build a way for your billing system to pass that to Roundcube and then build a custom plugin to get that data and login the user in.
#76
General Discussion / Re: How to solve 'PHP Error: P...
Last post by SKaero - November 17, 2025, 09:36:38 AMCan you post how you have the password plugin configured?
#77
General Discussion / How to solve 'PHP Error: Passw...
Last post by simonleung - November 17, 2025, 08:16:19 AMI find the error message PHP Error: Password plugin: Hash method not supported in the log file of Roundcube. Is it about wrong configuration of Roundcube password plugin? How do I solve it?
#78
Pending Issues / Login from external site/form?
Last post by ballouhosting - November 17, 2025, 08:12:08 AMHi, I'm looking for a way for clients to be able to login from our billing system to the mail account.
Without the need of entering the login credentials again.
I've tried to use the autologon etc but without any luck.
Running the Roundcube 1.6.11.
Without the need of entering the login credentials again.
I've tried to use the autologon etc but without any luck.
Running the Roundcube 1.6.11.
#79
General Discussion / How to change password of Zim...
Last post by simonleung - November 17, 2025, 03:08:12 AMI have enabled the password plugin for Roundcube. I want to change the password of Zimbra mailbox on Roundcube with LDAP. How should I configure?
#80
Roundcube Discussion / Re: Setup Cardav on RoundCube ...
Last post by alec - November 12, 2025, 02:04:54 AMTry kolabnow.com, it has Roundcube with calendar and DAV support, and some more.