68 Commits

Author SHA1 Message Date
Rui Carmo fc5d02e396 experimental 3.12 update 2025-10-10 23:09:11 +01:00
Rui Carmo 2eba7479f0 Merge pull request #53 from layfellow/master
Switch regexes to raw strings and fix escaping
2024-09-16 07:34:33 +01:00
Marco Bravo Mejías 79f01695ca Switch regexes to raw strings and fix escaping 2024-09-15 17:33:31 -03:00
Rui Carmo a7fe1a8a86 Merge pull request #50 from JanST123/fix_icloud
fix a bug that occured for icloud mail
2024-06-18 09:06:57 +01:00
Jan bc4bcb2be0 use BODY.PEEK to not mark the message as seen 2024-02-17 16:41:15 +01:00
Jan fdf7a48ad8 really fix the icloud problem
the previous commit just resulted in empty mbox as each message was skipped as RFC822 fetching does not work from icloud imap server
2024-02-14 09:02:06 +01:00
Jan fb393e7be7 fix a bug that occured for icloud mail
Testing if data_bytes actually is a string, if not continue to the next message
2024-02-13 14:34:56 +01:00
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
Rui Carmo f3f085e649 Merge pull request #41 from samsonjs/feature/exclude-folders
Add --exclude-folders option to skip specified folders
2022-01-08 10:56:17 +00:00
Sami Samhuri c7a53d6a3b Don't silently ignore --exclude-folders when --folders is used too 2022-01-02 13:45:25 -08:00
Sami Samhuri 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
Sami Samhuri 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
Sami Samhuri 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
Rui Carmo 0cc27cd570 Longer timeouts for stale issues 2021-12-22 11:03:40 +00:00
Rui Carmo 4406f86fc6 Create handle-inactive-issues.yml 2021-12-07 13:59:38 +00:00
Rui Carmo 40b555201b Merge pull request #34 from DanielRuf-forks/fix/28-quote-foldername
Quote the foldername to prevent issues with spaces #28
2021-12-07 13:57:35 +00:00
Daniel Ruf 167c927d46 Quote the foldername to prevent issues with spaces #28 2021-07-18 15:33:37 +02:00
Rui Carmo c042085427 Merge pull request #30 from Pofilo/fix_utf8_raw_content
fix for non utf8 content in raw email
2021-05-27 07:16:32 +01:00
pofilo 0f07508b14 fix for non utf8 content in raw email 2021-05-26 21:42:34 +02:00
Rui Carmo e60ad2c96b Merge pull request #27 from mmachicao/path_option
Removed redundant call to get_hierarchy_delimiter
2021-05-21 08:50:06 +01: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
Rui Carmo 75ed85619c Create FUNDING.yml 2021-05-15 23:04:58 +01:00
Rui Carmo 63f9502909 Merge pull request #26 from mmachicao/path_option
new option -d for download directory
2021-05-15 18:10:40 +01:00
mmachicao@m19r.de 98040d2ad6 new option -d for download directory 2021-05-15 18:07:57 +02:00
Rui Carmo a9d1f9c596 Merge pull request #24 from mmachicao/python3_init
removed dependency six.string_types
2021-05-14 07:43:43 +01:00
mmachicao@m19r.de 9e10c68532 removed dependency six.string_types 2021-05-14 02:21:47 +02:00
Rui Carmo eda804bfec readability tweaks 2021-04-12 21:17:03 +01:00
Rui Carmo d7c7d62c0d Merge pull request #22 from mmachicao/python3_init 2021-04-12 21:04:06 +01:00
mmachicao@m19r.de 9f667f62b4 Merge branch 'python3_init' of https://github.com/mmachicao/imapbackup into python3_init 2021-04-11 12:40:42 +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
mmachicao@m19r.de 380edf0991 cleanup imports 2021-04-11 12:28:55 +02:00
mmachicao@m19r.de 2fb0f577df Port to Python 3.8. Compression is not supported 2021-04-10 20:03:55 +02:00
Rui Carmo 01aa99feb8 Merge pull request #21 from loicpirez/master
Fix typo in `parse_list` comment
2021-03-02 08:08:11 +00:00
Loïc PIREZ 2c2470223b Fix typo in parse_list comment 2021-03-02 15:53:56 +08:00
Rui Carmo 10d262fb09 Update README.md 2021-01-03 14:36:07 +00:00
Rui Carmo fb8594432f Fix #19
Stop throwing an extra exception upon network error
2021-01-03 14:26:21 +00:00
Rui Carmo 19d35008b9 Update README.md 2020-06-04 17:09:42 +01:00
Rui Carmo 4fadc21c74 Merge pull request #11 from ezzra/pep8
make code PEP8 compliant
2020-06-04 17:08:58 +01:00
ezzra dd8fb37080 make code PEP8 compliant 2020-02-19 13:26:07 +01:00
Rui Carmo 81ae9a6b2f Add LGTM badge 2020-02-04 15:09:44 +00:00
Rui Carmo c0328cb4d6 Update README.md 2018-12-28 19:01:21 +00:00
Rui Carmo 83e030ad68 Merge pull request #9 from markfeit/master
Format "From" line date with ctime(3) per RFC 4155.
2018-12-28 18:59:33 +00:00
Mark Feit 1634e51382 Removed unused code that shouldn't have been committed. 2018-12-28 12:22:56 -05:00
Mark Feit 5dd43729ab Format "From" line date with ctime(3) per RFC 4155. 2018-12-27 07:35:03 -05:00
Rui Carmo 5f2360c824 Wording 2018-12-27 12:04:29 +00:00
Rui Carmo 458be298b3 Add note on locales 2018-12-27 12:04:01 +00:00
Rui Carmo 0fe915a39e Merge pull request #7 from markfeit/master
Minor changes
2018-12-27 12:00:19 +00:00
Mark Feit d820b7a832 Format dates in From lines more like most mail programs do 2018-12-25 18:10:51 -05:00
Mark Feit 0b1351717c Ignore mbox files 2018-12-25 18:08:41 -05:00