Roundcube Community Forum
News and Announcements => General Discussion => Topic started by: r2zvi on February 03, 2021, 08:31:55 AM
-
environment: postfix + dovecot + postfixadmin + mysql + roundcube
two domains set up, i can login every account in both domains with thunderbird
config.inc.php:
// system error reporting, sum of: 1 = log; 4 = show
$config['debug_level'] = 4;
// Log SQL queries
$config['sql_debug'] = true;
// Log IMAP conversation
$config['imap_debug'] = true;
// Log LDAP conversation
$config['ldap_debug'] = true;
// Log SMTP conversation
$config['smtp_debug'] = true;
$config['db_dsnw'] = 'mysql://roundcube:PASS@localhost/roundcubemail';
$config['default_host'] = 'localhost';
$config['default_port'] = 143;
$config['smtp_server'] = 'localhost';
$config['smtp_port'] = 25;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['plugins'] = array(
'archive',
'zipdownload',
);
maillog:
Feb 3 21:22:43 mx dovecot: imap-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<user@domain.ltd>, method=CRAM-MD5, rip=127.0.0.1, lip=127.0.0.1, secured, session=<bB5Je266ioN/AAAB>
where should i start to figure out the problem? Thanks
-
default_host='tls://localhost'
-
i tried that, no luck, "Connection to storage server failed"
and in maillog, there is no user name presented, the same applies to "ssl://localhost"
Feb 4 02:28:23 mx dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, TLS, session=<A3QrdXm6lIN/AAAB>
-
Look into Roundcube error log, and/or enable imap_debug there. It may give you some hints.
-
well, if you look closely, i've already turned on all the log options in config.inc.php, but no any other logs found except the ones posted here.
Thanks for your help anyway
-
Did you disable the SSL certificate verification? see imap_conn_options
-
i added the following code in config.inc.php, but still got the same error and logs
$config['imap_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
);
-
logs in maillog look just like login failed with wrong password, but with the same password i can login with thunderbird and python imaplib in remote client
there is no extra info/logs to analyze so i have no clue where to start debugging
i have another machine running dovecot + postfix + sqlite + roundcube(1.4.9) with single domain which works well, copy and modify config.inc.php didn't make the problem disappear
-
i actually replaced it with rainloop and it works well and smoothly :-\