Commit Graph

27 Commits

Author SHA1 Message Date
Paul Rodger 64d87da307 Use the archive cut-off date rather than the current time with the
--suffix option.
2002-11-21 22:57:13 +00:00
Paul Rodger 60f119d64a Don't assume that root's grpid is '0' -- on solaris it can be different. 2002-11-07 22:54:03 +00:00
Paul Rodger 799f4affcd Removed a test rule that says we can confidently archive messages
older than the unix epoch. (New versions of python return OverFlow
error instead)
2002-10-30 23:51:08 +00:00
Paul Rodger 485b7f882a Opps - forgot to commit the new version number changes (0.5.1) 2002-09-19 00:10:06 +00:00
Paul Rodger 3939c48518 Fixed a bug where mailbox locking would fail under Solaris, also fixed
a bug where archiving maildir mailboxes without a 'Received Date' or
'From' header would fail.
Removed another assert() statement that would crash on the unix epoch.
2002-09-15 06:14:57 +00:00
Paul Rodger 5264ab35cd Fixed a bug where we would throw an exception if a message was dated
exactly on the unix epoch. Also fixed a bug where trailing slashes
were being passed to the archive file name.
2002-08-18 12:17:56 +00:00
Paul Rodger 604e11428f Updated version numbers. 2002-05-20 06:15:54 +00:00
Paul Rodger 518654df61 We now call mkdir() to create a temporary directory to store any generated
tempfiles. This should be a lot more secure.
2002-05-20 06:14:54 +00:00
Paul Rodger 7c8b58dea3 Fixed a bug where archivemail would abort if it got a date header
with a completely blank value.
2002-05-07 12:14:29 +00:00
Paul Rodger e4adb7b222 Fixed a bug where the os.rename() calls could fail if we are moving files
between partitions.
2002-05-06 03:06:40 +00:00
Paul Rodger dcff0c0c85 Added a --size option to only archive messages over a certain byte size. 2002-04-29 12:20:45 +00:00
Paul Rodger bc41b68389 Fixed a bug where the long --suffix option was not working (although the
short option, '-s' was).

Added time-based format directives to the --suffix option, so that you
can do things like specify --suffix='%B%Y' to create archives named
after the current month and year.

Added some more tests to test_archivemail.py
2002-04-27 06:08:45 +00:00
Paul Rodger 9736dff04d Fixed bugs where archivemail would refuse to work on python version less than
2.2.
2002-04-26 03:04:02 +00:00
Paul Rodger 2bfde528cd Added the ability to archive messages older than a given absolute date with
the new option '--date' and fixed a bug where archivemail would complain about
messages older than 1970.
2002-04-23 03:01:26 +00:00
Paul Rodger 1bd93b6d08 Got ready for release of version 4.1 in a couple of days. 2002-04-19 07:12:49 +00:00
Paul Rodger ee9757de78 Added an option '--no-compress' if you don't want gzipped archives.
Added an option '--preserve-unread' to always preserved (don't archive)
unread messages.
2002-04-17 06:26:31 +00:00
Paul Rodger d7bd2d407c Got ready for release of v0.3.1 2002-04-12 14:59:13 +00:00
Paul Rodger 9e534977ef Stopped calling gzip externally and started using the 'gzip' module
directly. Removed bzip2 and compress support since they were complicating
things and you don't really need them much anyway.
2002-04-12 05:31:59 +00:00
Paul Rodger 07ab0ae773 Getting ready for v0.3 release. 2002-04-11 10:23:16 +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 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 8bc23385dc Remembered some more stuff to do. 2002-04-03 11:15:17 +00:00
Paul Rodger 68b96c2120 Updated tasks to reflect release of version 0.2.0 2002-04-03 10:59:00 +00:00
Paul Rodger d212ae060e Added headings & heaps more todo points. 2002-04-02 13:49:29 +00:00
Paul Rodger 9cbc21d0b4 Added MH mailbox support, but we need a testing framework. 2002-04-02 13:39:11 +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