aboutsummaryrefslogtreecommitdiffstats
path: root/archivemail.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Let's use the UnixMailbox class instead of PortableUnixMailbox to readPaul Rodger2002-04-201-4/+4
| | | | | | mbox messages. PortableUnixMailbox gets confused with messages that have 'From ' in the message body unquoted.
* Complain if an mbox file being read changes sizes. (Nobody should be writingPaul Rodger2002-04-191-0/+9
| | | | | to these files - we have locked them)
* Fixed a bug where when archiving messages from maildir mailboxes, we werePaul Rodger2002-04-181-1/+49
| | | | | | | not preserving the status information contained in the filename suffix to Status and X-Status mbox headers. This means we forgot if we had read or replied to the message.
* Made sure that we don't archive messages flagged important unless we arePaul Rodger2002-04-171-10/+37
| | | | | given the --include-flagged option.
* Added an option '--no-compress' if you don't want gzipped archives.Paul Rodger2002-04-171-34/+107
| | | | | | Added an option '--preserve-unread' to always preserved (don't archive) unread messages.
* Added a lot more documentation, fixed up usage messages and expanded a lotPaul Rodger2002-04-131-3/+3
| | | | | on the man page.
* Stopped calling gzip externally and started using the 'gzip' modulePaul Rodger2002-04-121-104/+51
| | | | | | directly. Removed bzip2 and compress support since they were complicating things and you don't really need them much anyway.
* Changed '_options' to 'options' since it makes more sense when usingPaul Rodger2002-04-091-47/+51
| | | | | archivemail from a library. Yeah, I know -- I'm a spoon.
* We now preserve the last-accessed and last-modified timestamps correctly.Paul Rodger2002-04-081-51/+87
| | | | | | | | | | | | Fixed a bug where lockfiles were being created that were not world-readable. Made archivemail work better when used as a python module so it can integrate better with unittest. Renamed unittest script 'test_archivemail' instead of 'archivemail_test' and added about 20 more tests.
* Updated documentation and version number to reflect new version: 0.2.1Paul Rodger2002-04-041-1/+1
|
* Fixed a bug where if you ran: 'archivemail.py foo/mbox' it would createPaul Rodger2002-04-041-17/+42
| | | | | the archive file in the current directory instead of the directory 'foo'.
* check to see if we are running as root -- if so, change our effectivePaul Rodger2002-04-041-0/+16
| | | | | userid and groupid to that of the owner of the original mailbox
* Since we might not have a parse-able 'Date-Received' or 'Date' field,Paul Rodger2002-04-041-53/+53
| | | | | use 5 different ways to guess the date of a message.
* Don't assume we will always have a Delivery-Date header when constructingPaul Rodger2002-04-031-2/+13
| | | | | | the 'From_' line from a 'maildir' folder. Use the 'Date' header when we dont.
* Complain if we are creating temporary files in world-writablePaul Rodger2002-04-031-24/+27
| | | | | directories.
* Added MH mailbox support.Paul Rodger2002-04-021-9/+30
|
* Check the python version before we do an 'import atexit', because thatPaul Rodger2002-03-311-15/+16
| | | | | could fail on older versions.
* Complain earlier if the output directory does not exist.Paul Rodger2002-03-311-2/+4
|
* Print a friendlier message when an uncompressed archive already exists.Paul Rodger2002-03-311-28/+25
| | | | | Make maildir message deletion more robust.
* I was not honouring absolute 'output-dir' requests. Fixed.Paul Rodger2002-03-311-1/+1
|
* Do not warn about duplicate Message-IDs by default.Paul Rodger2002-03-311-5/+7
|
* Added maildir support, cache message-Ids, and lots of other stuff.Paul Rodger2002-03-311-268/+529
|
* Initial revisionPaul Rodger2002-03-261-0/+569