mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-08 14:38:42 -04:00
43c31ae008
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>