1

Topic: Cannot log into Roundcube 1.6.0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.1
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version:  Ubuntu 20.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi
Just finished upgrading iremail and ireadmin to the latest versions.
Thought I would also upgrade RoundCube to 1.6.0 ( currently on 1.5.3).
But after the upgrade and fixing the line for "$config["auto_create_user"] = true;" it still will not allow  me to log in., reverted back to 1.5.3 and all is working again.

Any help will be appreciated.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Cannot log into Roundcube 1.6.0

Please show us related error triggered by Roundcube.

3

Re: Cannot log into Roundcube 1.6.0

ZhangHuangbin wrote:

Please show us related error triggered by Roundcube.

Hi Zhang,

I have reinstall roundcube 1.6 and can log in, but now I cannot send any emails.
I get the following error
"Connection Error (failed to reach the server)!"

I made a backup copy of the RC1.5.3 cna compared the config
I check the config with the original one  before  and there is no difference between them.
I have attached the error messages and the config file.
These are the last few lines of the mail.log file

Sep 13 21:16:59 insmail roundcube: PHP Error: Failed to load plugin file /opt/www/roundcubemail/plugins/plugin-installer/plugin-installer.php in /opt/www/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php on line 193 (POST /mail/?_task=mail&_action=refresh)
Sep 13 21:16:59 insmail roundcube: PHP Error: Failed to load plugin file /opt/www/roundcubemail/plugins/new_user_autosubscribe/new_user_autosubscribe.php in /opt/www/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php on line 193 (POST /mail/?_task=mail&_action=refresh)
Sep 13 21:16:59 insmail roundcube: <0pcsl2ap> PHP Error: Can use only one plugin for attachments/file uploads! Using 'database_attachments', ignoring others. in /opt/www/roundcubemail/plugins/filesystem_attachments/filesystem_attachments.php on line 39 (POST /mail/?_task=mail&_action=refresh)
Sep 13 21:17:03 insmail postfix/postqueue[96336]: warning: /etc/postfix/main.cf, line 375: overriding earlier entry: smtpd_recipient_restrictions=reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated check_policy_service inet:127.0.0.1:12340 permit_mx_backup
Sep 13 21:17:13 insmail postfix/postqueue[96344]: warning: /etc/postfix/main.cf, line 375: overriding earlier entry: smtpd_recipient_restrictions=reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated check_policy_service inet:127.0.0.1:12340 permit_mx_backup
Sep 13 21:17:23 insmail postfix/postqueue[96352]: warning: /etc/postfix/main.cf, line 375: overriding earlier entry: smtpd_recipient_restrictions=reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated check_policy_service inet:127.0.0.1:12340 permit_mx_backup
Sep 13 21:17:33 insmail postfix/postqueue[96361]: warning: /etc/postfix/main.cf, line 375: overriding earlier entry: smtpd_recipient_restrictions=reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated check_policy_service inet:127.0.0.1:12340 permit_mx_backup
Sep 13 21:17:43 insmail postfix/postqueue[96369]: warning: /etc/postfix/main.cf, line 375: overriding earlier entry: smtpd_recipient_restrictions=reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated check_policy_service inet:127.0.0.1:12340 permit_mx_backup
Sep 13 21:17:53 insmail postfix/postqueue[96377]: warning: /etc/postfix/main.cf, line 375: overriding earlier entry: smtpd_recipient_restrictions=reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated check_policy_service inet:127.0.0.1:12340 permit_mx_backup
Sep 13 21:17:59 insmail roundcube: PHP Error: Failed to load plugin file /opt/www/roundcubemail/plugins/plugin-installer/plugin-installer.php in /opt/www/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php on line 193 (POST /mail/?_task=mail&_action=refresh)
Sep 13 21:17:59 insmail roundcube: PHP Error: Failed to load plugin file /opt/www/roundcubemail/plugins/new_user_autosubscribe/new_user_autosubscribe.php in /opt/www/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php on line 193 (POST /mail/?_task=mail&_action=refresh)
Sep 13 21:17:59 insmail roundcube: <0pcsl2ap> PHP Error: Can use only one plugin for attachments/file uploads! Using 'database_attachments', ignoring others. in /opt/www/roundcubemail/plugins/filesystem_attachments/filesystem_attachments.php on line 39 (POST /mail/?_task=mail&_action=refresh)
Sep 13 21:18:03 insmail postfix/postqueue[96413]: warning: /etc/postfix/main.cf, line 375: overriding earlier entry: smtpd_recipient_restrictions=reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated check_policy_service inet:127.0.0.1:12340 permit_mx_backup
Sep 13 21:18:13 insmail postfix/postqueue[96427]: warning: /etc/postfix/main.cf, line 375: overriding earlier entry: smtpd_recipient_restrictions=reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated check_policy_service inet:127.0.0.1:12340 permit_mx_backup
Sep 13 21:18:23 insmail postfix/postqueue[96435]: warning: /etc/postfix/main.cf, line 375: overriding earlier entry: smtpd_recipient_restrictions=reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated check_policy_service inet:127.0.0.1:12340 permit_mx_backup
Sep 13 21:18:33 insmail postfix/postqueue[96444]: warning: /etc/postfix/main.cf, line 375: overriding earlier entry: smtpd_recipient_restrictions=reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated check_policy_service inet:127.0.0.1:12340 permit_mx_backup
Sep 13 21:18:43 insmail postfix/postqueue[96452]: warning: /etc/postfix/main.cf, line 375: overriding earlier entry: smtpd_recipient_restrictions=reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated check_policy_service inet:127.0.0.1:12340 permit_mx_backup

Post's attachments

rb1.png
rb1.png 6.29 kb, file has never been downloaded. 

rc1.png
rc1.png 43.73 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

4

Re: Cannot log into Roundcube 1.6.0

Roundcube 1.6.0 introduces few breaking changes: https://github.com/roundcube/roundcubem … /tag/1.6.0

1) /opt/www/roundcubemail/config/config.inc.php

- Remove smtp_server and smtp_port parameters , add new parameter "smtp_host".
- Remove default_host and default_port, add "imap_host".
- Set auto_create_user to true (default value is false). Otherwise newly created mail users can not login to Roundcube.

$config["smtp_host"] = "tls://127.0.0.1:587";
$config["imap_host"] = "tls://127.0.0.1:143";
$config['auto_create_user'] = true;

2) /opt/www/roundcubemail/plugins/managesieve/config.inc.php

- Remove managesieve_port and managesieve_usetls, add new parameter "managesieve_host".

$config["managesieve_host"] = "tls://127.0.0.1:4190";