YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.71k stars 743 forks source link

[bug] Impossible to autologin in Roundcube after deleting smtp account #17525

Closed vslonska closed 2 months ago

vslonska commented 2 months ago

Hello,

I created a mail server from index.php?module=MailServers&parent=Settings&view=List but with wrong credentials. I tried to use it from Mailbox tab, "server" dropdown setting on index.php?module=Users&view=PreferenceDetail&record=1 and in the settings of Roundcube, in identities (index.php?module=OSSMail&view=Index).

I deleted the mail server without changing it. The dropdown menu for server in mailbox was blank.

From now on, I'm anable to autologin. I have an error "the conexion have failed", but if I log in from the login page of roundcube, I can access my mailbox. If I change for an other mailbox (autologin), and come back, I have the same error. I can't send mail, even when I manage to login for a while.

In logs I have : [20-Jun-2024 18:19:07 +0200]: <van53nka> IMAP Error: Login failed for email@*********.fr against mail.infomaniak.com from XX.XXX.XX.XXX. AUTHENTICATE PLAIN: A0003 NO Invalid login or password in path/public_html/modules/OSSMail/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (GET /modules/OSSMail/roundcube/?cuid=1&_autologin=1&_autologinKey=97c9fea4b396260f2f2d8bcfa6dea7f4) [20-Jun-2024 18:24:55 +0200]: <van53nka> IMAP Error: Login failed for email@*********.fr against mail.infomaniak.com from XX.XXX.XX.XXX. AUTHENTICATE PLAIN: A0003 NO Invalid login or password in path/public_html/modules/OSSMail/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (GET /modules/OSSMail/roundcube/?cuid=1&_autologin=1&_autologinKey=2d52d2b7c8b3a5c21344c95442ab35a3) [20-Jun-2024 18:24:59 +0200]: <van53nka> IMAP Error: Login failed for email@*********.fr against mail.infomaniak.com from XX.XXX.XX.XXX. AUTHENTICATE PLAIN: A0003 NO Invalid login or password in path/public_html/modules/OSSMail/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (GET /modules/OSSMail/roundcube/?cuid=1&_autologin=1&_autologinKey=5e7c3cd0be109d274522f9544a90e72a) [20-Jun-2024 18:26:16 +0200]: <van53nka> IMAP Error: Login failed for email@*********.fr against mail.infomaniak.com from XX.XXX.XX.XXX. AUTHENTICATE PLAIN: A0003 NO Invalid login or password in path/public_html/modules/OSSMail/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (GET /modules/OSSMail/roundcube/?cuid=1&_autologin=1&_autologinKey=36f488bc0e75b7dbe7993faf9573c495) [20-Jun-2024 18:29:51 +0200]: <t43d7o3l> IMAP Error: Login failed for email@*********.fr against mail.infomaniak.com from XX.XXX.XX.XXX. AUTHENTICATE PLAIN: A0003 NO Invalid login or password in path/public_html/modules/OSSMail/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (GET /modules/OSSMail/roundcube/?cuid=1&_autologin=1&_autologinKey=2f34a4744e7ecb9544131c4ac19fc189) [20-Jun-2024 18:31:27 +0200]: <t43d7o3l> IMAP Error: Login failed for email@*********.fr against mail.infomaniak.com from XX.XXX.XX.XXX. AUTHENTICATE PLAIN: A0003 NO Invalid login or password in path/public_html/modules/OSSMail/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (GET /modules/OSSMail/roundcube/?cuid=1&_autologin=1&_autologinKey=f28af5b54726747b2500b90f51ca9a71) [20-Jun-2024 18:31:59 +0200]: <t43d7o3l> IMAP Error: Login failed for email@*********.fr against mail.infomaniak.com from XX.XXX.XX.XXX. AUTHENTICATE PLAIN: A0003 NO Invalid login or password in path/public_html/modules/OSSMail/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (GET /modules/OSSMail/roundcube/?cuid=1&_autologin=1&_autologinKey=3eb6ea1967a2a8a6ecdfcf16cd55babb) [20-Jun-2024 18:32:22 +0200]: <t6utodbj> IMAP Error: Login failed for email@*********.fr against mail.infomaniak.com from XX.XXX.XX.XXX. AUTHENTICATE PLAIN: A0003 NO Invalid login or password in path/public_html/modules/OSSMail/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (GET /modules/OSSMail/roundcube/?cuid=1&_autologin=1&_autologinKey=b5faef2566d6a44fb1ece4a3bfaf19a4) [20-Jun-2024 18:32:36 +0200]: <t6utodbj> IMAP Error: Login failed for email@*********.fr against mail.infomaniak.com from XX.XXX.XX.XXX. AUTHENTICATE PLAIN: A0003 NO Invalid login or password in path/public_html/modules/OSSMail/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (GET /modules/OSSMail/roundcube/?cuid=1&_autologin=1&_autologinKey=79e66475942c246e9fc3d68bf2501b52) [20-Jun-2024 18:32:44 Europe/Paris] PHP Warning: Undefined array key "_autologin" in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 395 [20-Jun-2024 18:32:44 Europe/Paris] PHP Warning: Trying to access array offset on value of type bool in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 421 [20-Jun-2024 18:32:44 Europe/Paris] PHP Warning: Trying to access array offset on value of type null in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 421 [20-Jun-2024 18:32:44 Europe/Paris] PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 421 [20-Jun-2024 18:32:44 Europe/Paris] PHP Warning: Undefined array key 1 in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 422 [20-Jun-2024 18:32:44 Europe/Paris] PHP Deprecated: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 422 [20-Jun-2024 18:33:15 +0200]: <31r0u8io> PHP Error: Invalid response code received from server (POST /modules/OSSMail/roundcube/?_task=mail&_unlock=loading1718901193740&_framed=1&_lang=fr_FR&_action=send) [20-Jun-2024 18:33:15 +0200]: <31r0u8io> SMTP Error: Authentication failure: Incorrect authentication data (Code: 535) in path/public_html/modules/OSSMail/roundcube/program/lib/Roundcube/rcube.php on line 1794 (POST /modules/OSSMail/roundcube/?_task=mail&_unlock=loading1718901193740&_framed=1&_lang=fr_FR&_action=send) [20-Jun-2024 18:42:36 Europe/Paris] PHP Warning: Undefined array key "_autologin" in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 395 [20-Jun-2024 22:05:36 Europe/Paris] PHP Warning: Undefined array key "_autologin" in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 395 [20-Jun-2024 22:05:36 Europe/Paris] PHP Warning: Trying to access array offset on value of type bool in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 421 [20-Jun-2024 22:05:36 Europe/Paris] PHP Warning: Trying to access array offset on value of type null in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 421 [20-Jun-2024 22:05:36 Europe/Paris] PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 421 [20-Jun-2024 22:05:36 Europe/Paris] PHP Warning: Undefined array key 1 in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 422 [20-Jun-2024 22:05:36 Europe/Paris] PHP Deprecated: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in path/public_html/modules/OSSMail/roundcube/plugins/yetiforce/yetiforce.php on line 422 [20-Jun-2024 22:06:12 Europe/Paris] PHP Warning: Undefined array key 11 in path/public_html/modules/OSSMail/roundcube/plugins/identity_smtp/identity_smtp.php on line 77 [20-Jun-2024 22:06:12 Europe/Paris] PHP Warning: Trying to access array offset on value of type null in path/public_html/modules/OSSMail/roundcube/plugins/identity_smtp/identity_smtp.php on line 77

I tried everything : deleting the email account, resetting it, I searched in the database differences with the other emails accounts, which work... nothing.

Can you help me ? Thank you, Regards,

vslonska commented 2 months ago

Hello, Nothing to see with what I thought... I don't know why it worked and then not, but the problem was caused by a special character that Roundcube didn't like in the password of the email account.

Roundcube is great and the fact it's included in Yetiforce makes it better than many other CRM, but that's a little bug... Thanks,