Closed hampoelz closed 1 month ago
Enable debu logging through admin or application.ini
It should show why it fails. There were changes handling SCRAM because of some failing errors and it seems SCRAM is correct now, but will see if your SCRAM is handled differently compared to Mox server.
IMAP[INFO]: > TAG1 AUTHENTICATE PLAIN *******\r\n
IMAP[INFO]: < TAG1 NO [AUTHENTICATIONFAILED] Authentication failed.\r\n
It seems the wrong login username or password is passed.
In application.ini turn off hide_passwords
and check your log to see which username and password is used.
Don't post the data here as it reveals your credentials.
And after turning on hide_passwords again, remove your logs for safety.
The username was already displayed previously and is correct, but the displayed password seems to be a hash and not the actual password.
Great, now i can look into it.
I've got more like that: Undefined variable $aTokenData at /data/apps/snappymail/app/snappymail/v/2.36.2 . My dovecot log complains login failed:
Disconnected: Connection closed (auth failed, 1 attempts in 5 secs): user=<firstname.lastname>
where I would expect (and had before): user=f.l@domain.tld which would work. The configuration setting short/long is set correct, and the email of the user is NOT firstname.lastname@domain.tld but fl@domain.tld.
Edit: downgraded to the .1 version - this works perfectly. MAYBE it is a side effect of my using OIDC for login but NOT using OIDC for the imap connection (which I will like to do when declared stable and documented)
Edit2: if you feel this is disconnected, I'm ready to open just another issue ;-)
Got same issue.
[PHP] Errore: Undefined variable $aTokenData at /home/domainuser/web/office.domain.it/public_html/apps/snappymail/app/snappymail/v/2.36.2/app/libraries/RainLoop/Actions/UserAuth.php#345
POST /apps/snappymail/?/Json/&q[]=/0/
from xx.xx.xx.143 by aaa.bbbat 2024-05-26T20:45:57+02:00
Same here. Problem here is that the Nextcloud username is now used by 2.36.2 to log in to the IMAP server, instead of the (different) username actually needed for IMAP. For another Nextcloud/Snappymail user for which Nextcloud and IMAP username are identical, there is no issue on my instance. Indeed downgrading to 2.36.1 resolves the issue
same here. AUTHENTICATIONFAILED Authentication failed. after update, nothing change on the IMAP Server or User/Password.
The username was already displayed previously and is correct, but the displayed password seems to be a hash and not the actual password.
Have had something similar, maybe this helps to find the problem: https://github.com/the-djmaze/snappymail/issues/1544#issuecomment-2108042898
v2.36.3 fixed it for me. I'm not sure if anyone else still has authentication problems, otherwise the issue can be closed.
Describe the bug After updating to v2.36.2, I cannot log in to my email account. I get the following error message on the login page:
Everything works when I test the domain in the admin settings. Other email clients also work fine. I have not found any relevant error log messages.
Please complete the following information: