Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Always sanity-check each archive destination directory, not only when it's | Nikolaus Schulz | 2006-10-31 | 1 | -9/+19 |
| | | | | | specified with --output-dir. | ||||
* | Make stats report size totals for the mailboxes and the archived messages, and | Nikolaus Schulz | 2006-10-31 | 1 | -18/+81 |
| | | | | | while at it, make stats work with IMAP. | ||||
* | Minor code cleanup in build_imap_filter(). | Nikolaus Schulz | 2006-10-31 | 1 | -5/+2 |
| | |||||
* | Shortened new option name "--dont-mangle-from" to "--dont-mangle". | Nikolaus Schulz | 2006-10-30 | 1 | -3/+3 |
| | |||||
* | Rewrote Mbox.procmail_lock() to fix locking race condition. Should now also be | Nikolaus Schulz | 2006-10-30 | 1 | -12/+33 |
| | | | | | NFS-safe. | ||||
* | Don't run clean_up() by means of atexit, but use a plain finally clause in the | Nikolaus Schulz | 2006-10-29 | 1 | -40/+41 |
| | | | | | | main archive() function. This is simpler, and it works better with the testsuite calling archive() directly, where the atexit handler isn't triggered. | ||||
* | Preparing per-testcase cleanup: made StaleFiles.clean() remember what it | Nikolaus Schulz | 2006-10-29 | 1 | -4/+12 |
| | | | | | | | deleted, so it's idempotent and e.g. doesn't stomp over someone else's files if invoked twice and running as root. Currently I don't see how this could happen, but it will with a per-testcase cleanup. | ||||
* | Replaced all tempfile.mktemp() calls with mkstemp()/mkdtemp(). | Nikolaus Schulz | 2006-10-27 | 1 | -5/+4 |
| | | | | | | | Should just serve as a last security fallback, since we operate in a safe temporary directory and everything should be okay anyway, but that may be less obvious. :-) | ||||
* | When writing messages to mboxes, append os.linesep and mangle From_ only if the | Nikolaus Schulz | 2006-10-18 | 1 | -3/+7 |
| | | | | | | | message source is not an mbox-format folder. Attempts to fix broken mbox-formatted input are only asking for trouble, and that's not our job anyway. | ||||
* | IMAPS and IMAP4.login_cram_md5() are new in Python 2.3; bump Python dependency | Nikolaus Schulz | 2006-10-14 | 1 | -4/+6 |
| | | | | | check to version 2.3. | ||||
* | Updated archivemail.__copyright__ | Nikolaus Schulz | 2006-10-14 | 1 | -1/+4 |
| | |||||
* | Added maintainer entry in setup.py. | Nikolaus Schulz | 2006-10-12 | 1 | -1/+3 |
| | | | | | Updated copyright notices in archivemail.py and test_archivemail.py. | ||||
* | Added new option --dont-mangle-from to turn off From_ mangling. | Nikolaus Schulz | 2006-10-12 | 1 | -7/+12 |
| | |||||
* | Made From_ mangling work reliably with large messages, too. | Nikolaus Schulz | 2006-10-12 | 1 | -1/+6 |
| | |||||
* | Mangle From_ in message bodies. | Nikolaus Schulz | 2006-10-12 | 1 | -0/+5 |
| | |||||
* | Terminate each message in newly written mbox with an empty line. | Nikolaus Schulz | 2006-10-12 | 1 | -0/+1 |
| | |||||
* | Implemented --dry-run and --delete for IMAP, both do no not download messages. | Nikolaus Schulz | 2006-10-12 | 1 | -25/+25 |
| | | | | | Stats are still missing. | ||||
* | Preparing the implementation of IMAP --delete: | Nikolaus Schulz | 2006-10-11 | 1 | -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 Schulz | 2006-10-11 | 1 | -2/+2 |
| | |||||
* | _archive_imap(): deleted unused variable. | Nikolaus Schulz | 2006-10-11 | 1 | -1/+0 |
| | |||||
* | Fixed invalid IMAP filter string for large messages (--size option). | Nikolaus Schulz | 2006-10-02 | 1 | -1/+1 |
| | | | | | Closes: #863813 | ||||
* | Convert on-the-wire CRLF to native EOL when saving messages from an IMAP ↵ | Nikolaus Schulz | 2006-09-28 | 1 | -1/+4 |
| | | | | folder. | ||||
* | Fixed IMAP authentication/URL parsing. Require username encoded in URL, but be | Nikolaus Schulz | 2006-09-28 | 1 | -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 Schulz | 2006-09-28 | 1 | -1/+1 |
| | |||||
* | Fixed long options --filter-append and --pwfile to accept their arguments. | Nikolaus Schulz | 2006-09-28 | 1 | -1/+1 |
| | |||||
* | bump version to 0.6.2 | Peter Poeml | 2006-06-27 | 1 | -1/+1 |
| | |||||
* | new command line option: -F, --filter-append=STRING append arbitrary string ↵ | Peter Poeml | 2006-06-27 | 1 | -2/+9 |
| | | | | to the IMAP filter string | ||||
* | don't delete more than a certain number of messages at a time. The max ↵ | Peter Poeml | 2006-06-18 | 1 | -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 Poeml | 2006-06-16 | 1 | -6/+4 |
| | | | | password; try plain as well as cram-md5 login | ||||
* | - add SSL support per imaps URL (after patch by Tobias Gruetzmacher) | Peter Poeml | 2006-06-16 | 1 | -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 Poeml | 2006-04-25 | 1 | -1/+1 |
| | |||||
* | Use the archive cut-off date rather than the current time with the | Paul Rodger | 2002-11-21 | 1 | -1/+6 |
| | | | | | --suffix option. | ||||
* | Don't assume that root's grpid is '0' -- on solaris it can be different. | Paul Rodger | 2002-11-07 | 1 | -1/+4 |
| | |||||
* | Removed a test rule that says we can confidently archive messages | Paul Rodger | 2002-10-30 | 1 | -1/+1 |
| | | | | | | older than the unix epoch. (New versions of python return OverFlow error instead) | ||||
* | Added IMAP support. | Paul Rodger | 2002-10-03 | 1 | -5/+128 |
| | |||||
* | Opps - forgot to commit the new version number changes (0.5.1) | Paul Rodger | 2002-09-19 | 1 | -1/+1 |
| | |||||
* | If we are running as root we setuid() to the user who owns the mailbox. But I | Paul Rodger | 2002-09-16 | 1 | -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 fixed | Paul Rodger | 2002-09-15 | 1 | -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 dated | Paul Rodger | 2002-08-18 | 1 | -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 generated | Paul Rodger | 2002-05-20 | 1 | -29/+20 |
| | | | | | tempfiles. This should be a lot more secure. | ||||
* | Fixed a bug where archivemail would abort if it got a date header | Paul Rodger | 2002-05-07 | 1 | -5/+5 |
| | | | | | with a completely blank value. | ||||
* | Fixed a bug where the os.rename() calls could fail if we are moving files | Paul Rodger | 2002-05-06 | 1 | -4/+13 |
| | | | | | between partitions. | ||||
* | Added a --size option to only archive messages over a certain byte size. | Paul Rodger | 2002-04-29 | 1 | -7/+51 |
| | |||||
* | Fixed a bug where if you use the '--delete' option to completely clean | Paul Rodger | 2002-04-28 | 1 | -3/+7 |
| | | | | | an mbox mailbox you would get a python error. | ||||
* | Fixed a bug where the long --suffix option was not working (although the | Paul Rodger | 2002-04-27 | 1 | -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 than | Paul Rodger | 2002-04-26 | 1 | -6/+6 |
| | | | | | 2.2. | ||||
* | Added a lot more system tests. | Paul Rodger | 2002-04-24 | 1 | -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-format | Paul Rodger | 2002-04-23 | 1 | -0/+2 |
| | | | | | mailbox when it is a singular file. | ||||
* | Added the ability to archive messages older than a given absolute date with | Paul Rodger | 2002-04-23 | 1 | -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.1 | Paul Rodger | 2002-04-21 | 1 | -4/+4 |
| |