-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes unable to login #1640
Comments
Looking at the detailed log it seems that actually the IMAP login succeeds but the error happens while fetching the folder list. |
That is weird.
That should return
And php says it's an array. i wonder how that is possible at all. For now i just made a workaround. |
I still have often issues logging in with a lot of this:
Is this another place with the same problem? |
When it's not working I often see this error (but the server is not busy at all):
|
FolderStatus and FolderList could potentially produce your issue.
|
I didn't want to post the full log here, can I send it somehow by private message/email? |
With the new patch I get a number of messages like below:
These messages are random, the folders work fine. |
Your response has:
https://datatracker.ietf.org/doc/html/rfc8474#section-7
It seems your cyrus-imapd is at fault and crashes the SnappyMail parser. Go to Admin -> Domains -> Domain and disable the |
As a note: due to the bug in Cyrus the response is completely broken:
While it should have been:
|
I don't have |
Read https://github.com/the-djmaze/snappymail/wiki/IMAP-capabilities |
Thanks, got it and now the errors are gone. So, this is a bug then in my version of cyrus-imapd? It's the version of RHEL9 and if I know exactly what is wrong maybe I can report the bug there. |
Thanks a lot for reporting the bug to cyrusimap! |
Any chance you could make a release with this change? Thanks! |
Done |
Describe the bug
It's quite strange that I can sometimes not login as mail user and sometimes it works.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
User should be logged in.
Please complete the following information:
Debug/logging information
I see these error in PHP log:
[20-Jun-2024 12:11:46 UTC] PHP Warning: Undefined array key 0 in /usr/share/snappymail/2.36.3/app/libraries/MailSo/Imap/Traits/Status.php on line 122
[20-Jun-2024 12:11:46 UTC] PHP Warning: Undefined array key 9 in /usr/share/snappymail/2.36.3/app/libraries/MailSo/Imap/Traits/Status.php on line 165
[20-Jun-2024 13:10:50 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /usr/share/snappymail/2.36.3/app/libraries/MailSo/Imap/Traits/ResponseParser.php on line 199
Find attached a slightly shortened log file. I hope this is useful to find what is causing the issue.
log-2024-06-20-info.txt
Thanks!
The text was updated successfully, but these errors were encountered: