Weird issue with webmail
AnsweredHi, I've got a weird webmail issue.
Logging into webmail it is asking for username and password, after entering this it says successful but the page goes straight to roundcube page and asking again for username and password and now, with the same credentials, the page says "login failed".
I've tried it also with different browsers, same result.
I've tried it with deleting the email account and creating it new, same result.
The other email accounts have not this issue, just the one email account.
Question? How can I deactivate the opening of the roundcube straight away? Obviously I can't deactivate the "Open my inbox when I log in" when clicking on the account because it doesn't allow me to. Secondly, why does it say successful and then login failed, but the credentials are correct and also the email software have the same credentials and works, just not the login to webmail for this one account.
Normally if you click on an account webmail/jupiter/ is opening and you can click on the roundcube to open the mail account inbox.
With all other accounts it works fine, just one account, if you click on the account for "check mail" this one account goes directly to roundcube and says "login failed" doesn't matter what credentials I try, nothing works and I can't login to webmail.
Thanks for any help
-
Hey there! Do you have root access to the server? In the past I have seen where cPHulk was restricting access to a mailbox due to brute force login attempts, so that is one possible explanation as t why only one email account is experiencing the issue. If you don't have root access to the server, you would need to have your hosting provider check this behavior.
If you have command line access for your account and are comfortable using that tool there are manual ways to stop the redirect from happening. But once again, if not, you would need to speak with your host, and I doubt that changing that setting will get the login working normally.
1 -
Hi, yes root access is available, command line is also possible.
So what to do?
0 -
You can run the following command to remove the automatic login from the account:
echo "" > /home/username/.cpanel/nvdata/email@address.com_default_webmail_app
This is the same as editing the file and removing the "roundcube" entry present there.
I would also recommend checking WHM >> cPHulk Brute Force Detection to see if there are any entries related to that user or email account.
0 -
Thanks, now at least the jupiter platform is opening for this particular account, but when I click on roundcube, to check through webmail the emails, then its still opening with asking for username and password and still shows "login failed" even when its the right credentials. cPHulk did show me an IP address today from the netherlands witch tried to access this particular email account, I did block this IP address.
0 -
In the History Reports for cPHulk, do you see anything related to that email address? If you reset the password for the account does that get things working?
0 -
ok, now it worked, after I've blocked the IP address from the netherlands. Thank you very much for your help
0 -
I'm glad I was able to get you pointed in the right direction!
0 -
Hello!, I have the exact same problem right now, only one email on a cpanel account with dozens of other emails that works fine.
I searched cphulk for the user and found nothing, I flushed cphulk tables and still nothing, I even disabled cphulk entirely and still not working, I tries different browsers, I tried private windows... nothing..
This is the maillog of the event, this happens when I click on the roudcube logo inside webmail:
tail -f maillog | grep username
Jun 25 16:12:52 hostname dovecot[1592012]: imap-login: Login: user=<username@domain.com>, method=PLAIN, rip=::1, lip=::1, mpid=1602974, secured, session=<iovyMr4bWpAAAAAAAAAAAAAAAAAAAAAB>
Jun 25 16:12:52 hostname dovecot[1592012]: imap(username@domain.com)<1602974><iovyMr4bWpAAAAAAAAAAAAAAAAAAAAAB>: Disconnected: Logged out in=29, out=611, bytes=29/611
0 -
BTW Logging in with an email client works fine (airmail)
0 -
Luis Falcon - does accessing the email account through the cPanel interface work?
0 -
It happens in any scenario:
- Logging into whm, then clicking on the cpanel link on list accounts, then on the "check email" in the email section inside cpanel.- Logging into domain.com/cpanel then clicking the "check email" button by the email section (in a different browser)
- Logging into domain.com/webmail with the particular user credentials. You can log into webmail without problems, but when you click on the roundcube link it happens. (different browser and/or private window)
All with the same result
BTW, how do you tag someone on this forum?
0 -
As with most forums, typing "@" followed by the username will tag the user.
Since the issue is also happening with webmail, do you see anything in the cPanel log (/usr/local/cpanel/logs/error_log) or the Roundcube log (https://support.cpanel.net/hc/en-us/articles/360054983694-Where-can-I-find-the-Roundcube-error-log) ?
0 -
Just to clarify: the user can log into webmail section without a problem, the problem is when he tries to enter roundcube.
Okay, the cpanel error log shows nothing at the time of clicking the link, but rouncube error log shows a very weird error.
The log is in: /home/username/logs/roundcube/errors.logThe error:
tail -f /home/username/logs/roundcube/errors.log
[27-Jun-2024 02:25:54 -0600]: <f37c53ea> DB Error: [1] no such table: session (SQL Query: SELECT "vars", "ip", "changed", datetime('now') AS ts, CASE WHEN "changed" < datetime('now', '-600 seconds') THEN 1 ELSE 0 END AS expired FROM "session" WHERE "sess_id" = 'f37c53eaaccdeb1cda5be2c9a1e3e91c') in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsessxxxxxxxxxx/3rdparty/roundcube/index.php)
[27-Jun-2024 02:25:54 -0600]: <f37c53ea> DB Error: [1] no such table: session (SQL Query: DELETE FROM "session" WHERE "sess_id" = 'f37c53eaaccdeb1cda5be2c9a1e3e91c') in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsessxxxxxxxxxx/3rdparty/roundcube/index.php)
[27-Jun-2024 02:25:54 -0600]: <f37c53ea> DB Error: [1] no such table: users (SQL Query: SELECT * FROM "users" WHERE "mail_host" = 'localhost' AND "username" = 'user@domain.com') in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsessxxxxxxxxxx/3rdparty/roundcube/index.php)
[27-Jun-2024 02:25:54 -0600]: <f37c53ea> DB Error: [1] no such table: users (SQL Query: INSERT INTO "users" ("created", "last_login", "username", "mail_host", "language", "preferences") VALUES (datetime('now'), datetime('now'), 'user@domain.com', 'localhost', 'en_US', 'a:0:{}')) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsessxxxxxxxxxx/3rdparty/roundcube/index.php)
[27-Jun-2024 02:25:54 -0600]: <f37c53ea> PHP Error: Failed to create new user in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_user.php on line 726 (GET /cpsessxxxxxxxxxx/3rdparty/roundcube/index.php)
[27-Jun-2024 02:25:54 -0600]: <f37c53ea> PHP Error: Failed to create a user record. Maybe aborted by a plugin? in /usr/local/cpanel/base/3rdparty/roundcube/program/include/rcmail.php on line 813 (GET /cpsessxxxxxxxxxx/3rdparty/roundcube/index.php)
[27-Jun-2024 02:25:54 -0600]: <f37c53ea> DB Error: [1] no such table: session (SQL Query: DELETE FROM "session" WHERE "sess_id" = 'f37c53eaaccdeb1cda5be2c9a1e3e91c') in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsessxxxxxxxxxx/3rdparty/roundcube/index.php)
[27-Jun-2024 02:25:54 -0600]: <f37c53ea> DB Error: [1] no such table: session (SQL Query: INSERT INTO "session" ("sess_id", "vars", "ip", "changed") VALUES ('f37c53eaaccdeb1cda5be2c9a1e3e91c', 'bGFuZ3VhZ2V8czo1OiJlbl9VUyI7dGVtcHxiOjE7cmVxdWVzdF90b2tlbnxzOjMyOiJUNnVwUU1wQzBTTTN3RDBLeVRpOGt5UWZiZ3pzOWN1SCI7', '111.222.333.144', datetime('now'))) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db.php on line 577 (GET /cpsessxxxxxxxxxx/3rdparty/roundcube/index.php)
That "no such table --" is a little bizarre since all other users on the same account have no problems at all.
0 -
Thanks for those details - that's exactly what I needed to see. Can you try the fix mentioned here?
0 -
Bingo!
Thanks for your help cPRex !
0 -
I'm glad it worked!
0
Please sign in to leave a comment.
Comments
16 comments