aboutsummaryrefslogtreecommitdiffstats
path: root/archivemail.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Added new option --dont-mangle-from to turn off From_ mangling.Nikolaus Schulz2006-10-121-7/+12
|
* Made From_ mangling work reliably with large messages, too. Nikolaus Schulz2006-10-121-1/+6
|
* Mangle From_ in message bodies. Nikolaus Schulz2006-10-121-0/+5
|
* Terminate each message in newly written mbox with an empty line.Nikolaus Schulz2006-10-121-0/+1
|
* Implemented --dry-run and --delete for IMAP, both do no not download messages. Nikolaus Schulz2006-10-121-25/+25
| | | | | Stats are still missing.
* Preparing the implementation of IMAP --delete: Nikolaus Schulz2006-10-111-8/+8
| | | | | if not dry-running, delete messages whether we archived them or not.
* Kindly shutdown IMAP connection when doing a --dry-run, too. Nikolaus Schulz2006-10-111-2/+2
|
* _archive_imap(): deleted unused variable. Nikolaus Schulz2006-10-111-1/+0
|
* Fixed invalid IMAP filter string for large messages (--size option). Nikolaus Schulz2006-10-021-1/+1
| | | | | Closes: #863813
* Convert on-the-wire CRLF to native EOL when saving messages from an IMAP ↵Nikolaus Schulz2006-09-281-1/+4
| | | | folder.
* Fixed IMAP authentication/URL parsing. Require username encoded in URL, but beNikolaus Schulz2006-09-281-6/+7
| | | | | | flexible with the password: handle both --pwfile and URL-encoded password, and fallback to querying the user if neither is present.
* Fixed guess_return_path() to actually extract 'Return-path' and 'From' headers. Nikolaus Schulz2006-09-281-1/+1
|
* Fixed long options --filter-append and --pwfile to accept their arguments.Nikolaus Schulz2006-09-281-1/+1
|
* bump version to 0.6.2Peter Poeml2006-06-271-1/+1
|
* new command line option: -F, --filter-append=STRING append arbitrary string ↵Peter Poeml2006-06-271-2/+9
| | | | to the IMAP filter string
* don't delete more than a certain number of messages at a time. The max ↵Peter Poeml2006-06-181-3/+8
| | | | command len is limited. Fixes bug 942403 (Archiving large IMAP folders fails)
* - fix last patch: don't fail if server URL doesn't contain username of ↵Peter Poeml2006-06-161-6/+4
| | | | password; try plain as well as cram-md5 login
* - add SSL support per imaps URL (after patch by Tobias Gruetzmacher)Peter Poeml2006-06-161-7/+34
| | | | | - add -P/--pwfile option to supply the IMAP password, so it does not end up in the shell history
* fix SyntaxWarning: assignment to None (bug #843890)Peter Poeml2006-04-251-1/+1
|
* Use the archive cut-off date rather than the current time with thePaul Rodger2002-11-211-1/+6
| | | | | --suffix option.
* Don't assume that root's grpid is '0' -- on solaris it can be different.Paul Rodger2002-11-071-1/+4
|
* Removed a test rule that says we can confidently archive messagesPaul Rodger2002-10-301-1/+1
| | | | | | older than the unix epoch. (New versions of python return OverFlow error instead)
* Added IMAP support.Paul Rodger2002-10-031-5/+128
|
* Opps - forgot to commit the new version number changes (0.5.1)Paul Rodger2002-09-191-1/+1
|
* If we are running as root we setuid() to the user who owns the mailbox. But IPaul Rodger2002-09-161-14/+15
| | | | | | forgot to make sure we create our temporary container directory as that user too.
* Fixed a bug where mailbox locking would fail under Solaris, also fixedPaul Rodger2002-09-151-12/+22
| | | | | | | 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.
* Fixed a bug where we would throw an exception if a message was datedPaul Rodger2002-08-181-2/+7
| | | | | | exactly on the unix epoch. Also fixed a bug where trailing slashes were being passed to the archive file name.
* We now call mkdir() to create a temporary directory to store any generatedPaul Rodger2002-05-201-29/+20
| | | | | tempfiles. This should be a lot more secure.
* Fixed a bug where archivemail would abort if it got a date headerPaul Rodger2002-05-071-5/+5
| | | | | with a completely blank value.
* Fixed a bug where the os.rename() calls could fail if we are moving filesPaul Rodger2002-05-061-4/+13
| | | | | between partitions.
* Added a --size option to only archive messages over a certain byte size.Paul Rodger2002-04-291-7/+51
|
* Fixed a bug where if you use the '--delete' option to completely cleanPaul Rodger2002-04-281-3/+7
| | | | | an mbox mailbox you would get a python error.
* Fixed a bug where the long --suffix option was not working (although thePaul Rodger2002-04-271-3/+7
| | | | | | | | | | | 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
* Fixed bugs where archivemail would refuse to work on python version less thanPaul Rodger2002-04-261-6/+6
| | | | | 2.2.
* Added a lot more system tests.Paul Rodger2002-04-241-1/+1
| | | | | | Hopefully I haven't gone too overboard with 957 lines of testing code for a 1100 line program :)
* Complain if the mailbox to be read does not look like a valid mbox-formatPaul Rodger2002-04-231-0/+2
| | | | | mailbox when it is a singular file.
* Added the ability to archive messages older than a given absolute date withPaul Rodger2002-04-231-25/+78
| | | | | | the new option '--date' and fixed a bug where archivemail would complain about messages older than 1970.
* Getting ready for release of version 0.4.1Paul Rodger2002-04-211-4/+4
|
* 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