mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-16 09:45:24 -04:00
53fd856ea8
Python's imaplib._MAXLINE defaults to 1 MB. Mailboxes with tens of thousands of messages exceed this on UID SEARCH ALL, crashing with 'got more than 1000000 bytes'. Set _MAXLINE to 50 MB after opening the connection so large mailboxes work without error. Fixes #2883 Co-authored-by: michaelxer <michaelxer@users.noreply.github.com>