Daniel Kahn Gillmor <d...@fifthhorseman.net> writes: > ok, in v2 of this patch, imap-dl will accept options.on_size_mismatch, > which can be either "exception" or "warn" or "none". > > If you could set it to "warn" and try it out again, and show me the > statistics it produces, i'd be interested in seeing it.
There seems to be no consistent amount of extra bytes, but every message has some. I'll try to remember to grab a log, but right now I can't because o365 is failing to recognize my password. This happened with intermittendly with getmail also, so I don't think it's an imap-dl bug. Note that imap-dl could handle this more gracefully: INFO:root:pulling from config file /home/bremner/.getmail/getmailrc Traceback (most recent call last): File "/home/bremner/.config/scripts/imap-dl", line 221, in <module> pull_msgs(confname) File "/home/bremner/.config/scripts/imap-dl", line 119, in pull_msgs conf.get('retriever', 'password')) File "/usr/lib/python3.7/imaplib.py", line 598, in login raise self.error(dat[-1]) imaplib.error: b'LOGIN failed.'