Commit graph

12 commits

Author SHA1 Message Date
Rui Carmo
7cccc9d92d
Merge pull request #40 from samsonjs/fix/mbox-from-quoting
Perform >From quoting as described by RFC 4155 (closes #37)
2022-01-08 10:59:14 +00:00
Rui Carmo
f91e5ec567
Merge pull request #42 from samsonjs/perf/fetch-all-at-once
Improve performance on large folders by 10x or more
2022-01-08 10:58:20 +00:00
c7a53d6a3b Don't silently ignore --exclude-folders when --folders is used too 2022-01-02 13:45:25 -08:00
92cd9fb6cb
Improve performance on large folders by 10x or more
IMAP allows fetching message IDs for all messages in a folder at once
and it's quite a bit faster than making individual requests. Running
this on a folder with 4441 messages takes 26s for me now compared to
over 8 minutes before this change.
2022-01-01 17:15:56 -08:00
8a080fb076
Perform >From quoting as described by RFC 4155
https://www.rfc-editor.org/rfc/rfc4155.txt
http://qmail.org/qmail-manual-html/man5/mbox.html

> The program then copies the message, applying >From quoting
> to each line.  >From quoting ensures that the resulting
> lines are not From_ lines:  the program prepends a > to any
> From_ line, >From_ line, >>From_ line, >>>From_ line, etc.
2022-01-01 15:33:20 -08:00
962b7adc6c
Add --exclude-folders option to skip specified folders
Based on code in #36 by @C-Duv
2022-01-01 15:32:02 -08:00
Daniel Ruf
167c927d46
Quote the foldername to prevent issues with spaces #28 2021-07-18 15:33:37 +02:00
pofilo
0f07508b14 fix for non utf8 content in raw email 2021-05-26 21:42:34 +02:00
mmachicao@m19r.de
5a1ac84332 Issuing the LIST command to query the hierarchy delimiter is redundant and has been removed 2021-05-16 16:06:12 +02:00
mmachicao@m19r.de
98040d2ad6 new option -d for download directory 2021-05-15 18:07:57 +02:00
mmachicao@m19r.de
9e10c68532 removed dependency six.string_types 2021-05-14 02:21:47 +02:00
mmachicao@m19r.de
d3576bb9fb Port to Python 3.8. Compression is not supported
Cleanup imports
2021-04-11 12:38:42 +02:00