Commit Graph

383 Commits

Author SHA1 Message Date
Nikolaus Schulz dbe3c9ce4b Fixed typo in description of IMAP URL syntax. 2006-09-28 23:43:50 +00:00
Nikolaus Schulz 140596178c Convert on-the-wire CRLF to native EOL when saving messages from an IMAP folder. 2006-09-28 23:31:47 +00:00
Nikolaus Schulz 8d5b36dc3a Fixed IMAP authentication/URL parsing. Require username encoded in URL, but be
flexible with the password: handle both --pwfile and URL-encoded password, and
fallback to querying the user if neither is present.
2006-09-28 23:26:58 +00:00
Nikolaus Schulz dc023db895 Fixed guess_return_path() to actually extract 'Return-path' and 'From' headers. 2006-09-28 22:26:07 +00:00
Nikolaus Schulz 8f47290956 Fixed long options --filter-append and --pwfile to accept their arguments. 2006-09-28 22:19:12 +00:00
Peter Poeml 75506d9be2 check in the man page, so it doesn't need to be generated locally 2006-06-27 05:38:56 +00:00
Peter Poeml 83ac69d0f8 fix setup.py 2006-06-27 05:25:10 +00:00
Peter Poeml 933aa18259 bump version to 0.6.2 2006-06-27 04:44:28 +00:00
Peter Poeml e00581acb2 new command line option: -F, --filter-append=STRING append arbitrary string to the IMAP filter string 2006-06-27 04:40:24 +00:00
Peter Poeml adfb7a63d7 don't delete more than a certain number of messages at a time. The max command len is limited. Fixes bug 942403 (Archiving large IMAP folders fails) 2006-06-18 11:36:57 +00:00
Peter Poeml 07aca153f6 - fix last patch: don't fail if server URL doesn't contain username of password; try plain as well as cram-md5 login 2006-06-16 09:22:47 +00:00
Peter Poeml a91b2064cb - add SSL support per imaps URL (after patch by Tobias Gruetzmacher)
- add -P/--pwfile option to supply the IMAP password, so it does not end up in the shell history
2006-06-16 08:34:22 +00:00
Peter Poeml 05c599028e fix SyntaxWarning: assignment to None (bug #843890) 2006-04-25 21:13:53 +00:00
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 9d08aca3b9 Fixed date typo. 2002-10-30 23:54:23 +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 6a91347b88 Added IMAP support. 2002-10-03 06:27: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 baeb03abd4 If we are running as root we setuid() to the user who owns the mailbox. But I
forgot to make sure we create our temporary container directory as that user
too.
2002-09-16 11:35:03 +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 ccea93db68 Got ready for release of 0.4.7 2002-05-09 04:16:46 +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 7187dd8f6f Let's try to get my email address a bit less easy to get by spammers. 2002-04-30 23:55:52 +00:00
Paul Rodger ca6933b50f Opps - forgot to put the size option in the manpage. 2002-04-29 12:42:43 +00:00
Paul Rodger 3c91240e66 Added info about test_archivemail.py 2002-04-29 12:25:15 +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 244c88d4b9 Added a lot more tests to test_archivemail.py. 2002-04-28 04:04:49 +00:00
Paul Rodger 15be93bd0d Fixed a bug where if you use the '--delete' option to completely clean
an mbox mailbox you would get a python error.
2002-04-28 04:00:11 +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 a9920b731d Point to the manpage a bit more. 2002-04-26 03:05:15 +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 f1f2b97b1b Added another test, got ready for 0.4.2 release. 2002-04-24 13:22:11 +00:00
Paul Rodger 14d58baee1 Added a lot more system tests.
Hopefully I haven't gone too overboard with 957 lines of testing code for
a 1100 line program :)
2002-04-24 07:44:59 +00:00
Paul Rodger a79e730127 Complain if the mailbox to be read does not look like a valid mbox-format
mailbox when it is a singular file.
2002-04-23 04:30:42 +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 623f3ba4be Getting ready for release of version 0.4.1 2002-04-21 01:14:54 +00:00
Paul Rodger e07cdd7a2b Let's use the UnixMailbox class instead of PortableUnixMailbox to read
mbox messages. PortableUnixMailbox gets confused with messages that have
'From ' in the message body unquoted.
2002-04-20 11:52:51 +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 0cee3de4e7 Complain if an mbox file being read changes sizes. (Nobody should be writing
to these files - we have locked them)
2002-04-19 00:19:44 +00:00
Paul Rodger 04c22934f1 Fixed a bug where when archiving messages from maildir mailboxes, we were
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.
2002-04-18 12:02:33 +00:00
Paul Rodger 80b2b99194 Made sure that we don't archive messages flagged important unless we are
given the --include-flagged option.
2002-04-17 13:15:04 +00:00
Paul Rodger fd61a98c46 Grouped together tests more into their respective classes. 2002-04-17 13:13:36 +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 21193abf5e *** empty log message *** 2002-04-13 11:58:09 +00:00
Paul Rodger ba5426db3f Added a lot more documentation, fixed up usage messages and expanded a lot
on the man page.
2002-04-13 11:36:32 +00:00