Commit Graph

16 Commits

Author SHA1 Message Date
Paul Rodger 29e21fddc0 Changed '_options' to 'options' since it makes more sense when using
archivemail from a library. Yeah, I know -- I'm a spoon.
2002-04-09 12:59:26 +00:00
Paul Rodger 35a9f14982 We now preserve the last-accessed and last-modified timestamps correctly.
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.
2002-04-08 13:39:03 +00:00
Paul Rodger 92e86986e5 Updated documentation and version number to reflect new version: 0.2.1 2002-04-04 11:19:29 +00:00
Paul Rodger 4ac9643118 Fixed a bug where if you ran: 'archivemail.py foo/mbox' it would create
the archive file in the current directory instead of the directory 'foo'.
2002-04-04 11:14:00 +00:00
Paul Rodger 81c82ddaf5 check to see if we are running as root -- if so, change our effective
userid and groupid to that of the owner of the original mailbox
2002-04-04 07:40:13 +00:00
Paul Rodger 1ed695b748 Since we might not have a parse-able 'Date-Received' or 'Date' field,
use 5 different ways to guess the date of a message.
2002-04-04 02:41:37 +00:00
Paul Rodger 16999ce35b Don't assume we will always have a Delivery-Date header when constructing
the 'From_' line from a 'maildir' folder. Use the 'Date' header when we
dont.
2002-04-03 11:12:25 +00:00
Paul Rodger 842cda8a37 Complain if we are creating temporary files in world-writable
directories.
2002-04-03 10:51:26 +00:00
Paul Rodger f90bd01a74 Added MH mailbox support. 2002-04-02 13:37:49 +00:00
Paul Rodger 57ed36ea53 Check the python version before we do an 'import atexit', because that
could fail on older versions.
2002-03-31 05:32:14 +00:00
Paul Rodger 17bb56d33c Complain earlier if the output directory does not exist. 2002-03-31 05:01:22 +00:00
Paul Rodger 23e6f58c91 Print a friendlier message when an uncompressed archive already exists.
Make maildir message deletion more robust.
2002-03-31 04:32:31 +00:00
Paul Rodger 3911a2f381 I was not honouring absolute 'output-dir' requests. Fixed. 2002-03-31 03:56:04 +00:00
Paul Rodger 4fdde09fc4 Do not warn about duplicate Message-IDs by default. 2002-03-31 03:46:59 +00:00
Paul Rodger 1b7ab09f24 Added maildir support, cache message-Ids, and lots of other stuff. 2002-03-31 01:31:11 +00:00
Paul Rodger 902a81b4bc Initial revision 2002-03-26 03:53:09 +00:00