Open quzhi1 opened 2 months ago
Hm, it seems like they are sending 1713632002544 as UIDVALIDITY, which exceeds the maximum value that a uint32 can store (4294967295).
Our error message is far from ideal here, but not sure how to handle these cases…
Thank you for taking a look! This makes sense.
I have seen this error when I try to connect to an imap server:
I suspect there is some error when parsing the server response. This is my test script that can reproduce this error: https://github.com/quzhi1/ImapPlayground/blob/main/benchmark/idle_v2/main.go#L56. I am not able to select an folder because the client is not able to parse the server response.
I configured
DebugWriter: os.Stdout
. This is the full response:The email hosting service I am using is https://www.dynadot.com/. I tried to directly use
open_ssl
to connect to their IMAP server, and their response seems to comply with the IMAP standard. This is their server's response when I select a folder:Is there something wrong this line? https://github.com/emersion/go-imap/blob/v2/imapclient/client.go#L831
Thank you for taking a look 🙏