Commit graph

20 commits

Author SHA1 Message Date
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
Daniel Ruf
167c927d46
Quote the foldername to prevent issues with spaces #28 2021-07-18 15:33:37 +02:00
Loïc PIREZ
2c2470223b
Fix typo in parse_list comment 2021-03-02 15:53:56 +08:00
Rui Carmo
fb8594432f
Fix #19
Stop throwing an extra exception upon network error
2021-01-03 14:26:21 +00:00
ezzra
dd8fb37080 make code PEP8 compliant 2020-02-19 13:26:07 +01: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
Mark Feit
d820b7a832 Format dates in From lines more like most mail programs do 2018-12-25 18:10:51 -05:00
Mark Feit
941509bd63 Allow password to be read from a file 2018-12-25 18:07:00 -05:00
kuttti
a9f9dc4fe1
Update imapbackup.py
Fix Error on Windows: "object of type 'cStringIO.StringO' has no len()"
2018-12-12 13:19:46 +01:00
C-Duv
f5aeab9e26
Makes the timeout option optional
The `--timeout` / `-t` option was made mandatory (by code) when introduced.
Omitting the option would cause a `KeyError: 'timeout`.

This commit makes it optional by adding a default value (of 60) when option is not given.
2018-01-11 14:44:27 +01:00
Rui Carmo
e1ad2d3e5f
arg specs 2018-01-11 13:32:42 +00:00
Rui Carmo
edbb92844c added timeout option in an attempt to fix #3 2017-12-29 11:30:41 +00:00
Rui Carmo
b2ab83412b Fix attribution 2017-07-29 21:32:47 +01:00
Rui Carmo
ad09fca79c Add @andrewbaxter to contributors 2017-07-29 19:57:05 +01:00
Rui Carmo
5762b005e6 Bumped version 2017-07-29 19:55:50 +01:00
Rui Carmo
82e6071fb3 Fix #2 2017-07-29 19:47:51 +01:00
Rui Carmo
5c7129d24c Added Andy Bovett's Thunderbird and Windows fixes 2013-12-09 16:23:09 +00:00
Rui Carmo
066cb8529e Merged in Christian's target directory patch 2013-12-09 16:14:07 +00:00
Rui Carmo
2fa7bbdf83 re-licensed as MIT 2013-10-25 00:25:21 +01:00