Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated changelog about latest bugfix (skipping invalid files in Maildirs). | Nikolaus Schulz | 2007-10-24 | 1 | -0/+4 |
| | |||||
* | Skip invalid messages/files in Maildirs. | Nikolaus Schulz | 2007-10-24 | 1 | -3/+4 |
| | | | | | | Closes: #1783369, Debian bug #255944, and Debian bug #305902 also seems about this issue. | ||||
* | TODO: new items: | Nikolaus Schulz | 2007-10-23 | 1 | -0/+7 |
| | | | | | | | * IMAP unittests * bug triage * Porting to email.message and the new mailbox modules in python 2.5. | ||||
* | Added unittest for the new IMAP URL parser. | Nikolaus Schulz | 2007-10-23 | 1 | -0/+77 |
| | |||||
* | Updated documentation WRT to the new quoted usernames/passwords in IMAP URLs. | Nikolaus Schulz | 2007-10-23 | 2 | -12/+18 |
| | |||||
* | New IMAP URL parser that understands double-quoted usernames and passwords. | Nikolaus Schulz | 2007-10-23 | 2 | -12/+43 |
| | | | | | Closes: #1640878 | ||||
* | Define very simple exception classes, mapping to the error functions | Nikolaus Schulz | 2007-10-23 | 1 | -3/+16 |
| | | | | | | | user_error() and unexpected_error(). If archivemail is used as a module, let the functions raise the corresponding exceptions rather than writing to stderr and calling sys.exit(). | ||||
* | Use a wrapper around rfc822.Message.fp to find the filename for Maildir/MH | Nikolaus Schulz | 2007-10-22 | 2 | -8/+34 |
| | | | | | | emails. Python 2.5 broke backward compatibility for Maildirs. :-/ Closes: #1670422 | ||||
* | TODO: updated with some old items which weren't yet committed to svn. | Nikolaus Schulz | 2007-09-18 | 1 | -0/+42 |
| | |||||
* | Expand tilde in argument of long option --output-dir, the shell doesn't. | Nikolaus Schulz | 2006-11-14 | 1 | -1/+1 |
| | |||||
* | Corrected python dependency in the man page. | Nikolaus Schulz | 2006-11-06 | 2 | -3/+3 |
| | |||||
* | README: Updated python dependency, removed note about the required zlib module | Nikolaus Schulz | 2006-11-02 | 1 | -22/+9 |
| | | | | | since that should be pretty much standard, and added maintainer email addresses. | ||||
* | Bumped version to 0.7.0 | Nikolaus Schulz | 2006-11-02 | 3 | -3/+3 |
| | |||||
* | Renamed __cvs_id__ to __svn_id__. | Nikolaus Schulz | 2006-11-02 | 1 | -1/+1 |
| | |||||
* | Changelog update: added IMAP error reporting | Nikolaus Schulz | 2006-11-02 | 1 | -0/+1 |
| | |||||
* | Added a note to the manpage that --pwfile will not work if archiving folders | Nikolaus Schulz | 2006-11-02 | 2 | -4/+6 |
| | | | | | from several IMAP accounts. | ||||
* | TODO update. Added: IMAP url clutter/password leakage, unfriendly locking | Nikolaus Schulz | 2006-11-02 | 1 | -1/+5 |
| | | | | | practice. Removed: only prompt for IMAP password when running in terminal. | ||||
* | Split the final stats message in two lines, because it might otherwise linewrap. | Nikolaus Schulz | 2006-11-02 | 1 | -1/+1 |
| | |||||
* | Made IMAP password prompt a tad bit more verbose. | Nikolaus Schulz | 2006-11-01 | 1 | -1/+1 |
| | |||||
* | Don't prompt for the IMAP password if in quiet mode or if not running | Nikolaus Schulz | 2006-11-01 | 1 | -0/+2 |
| | | | | | interactively (stdin is not a terminal). | ||||
* | Improved IMAP error handling: pass error messages from the server on to the | Nikolaus Schulz | 2006-11-01 | 1 | -5/+12 |
| | | | | | user, and check if deleting the messages was successful. | ||||
* | Streamlined verbose IMAP messages a bit. | Nikolaus Schulz | 2006-11-01 | 1 | -2/+2 |
| | |||||
* | Removed redundant check if imap login was succesful, since IMAP4.login then | Nikolaus Schulz | 2006-11-01 | 1 | -1/+0 |
| | | | | | raises an exception. | ||||
* | Tightened some blanket exception handlers. | Nikolaus Schulz | 2006-11-01 | 1 | -5/+5 |
| | |||||
* | Changed misleading references to 'message ids' in the IMAP code to the | Nikolaus Schulz | 2006-11-01 | 1 | -4/+5 |
| | | | | | technically correct 'message sequence number'. | ||||
* | Optimized IMAP code: just invert the message list from the SEARCH response | Nikolaus Schulz | 2006-11-01 | 1 | -35/+23 |
| | | | | | | instead of querying the server another time with an inverted search filter. Gather RFC822.SIZE in one big run. | ||||
* | Renamed variable 'filter' to prevent conflicts with the builtin function. | Nikolaus Schulz | 2006-11-01 | 1 | -17/+17 |
| | |||||
* | Updated CHANGELOG and polished it a bit for the upcoming release. | Nikolaus Schulz | 2006-10-31 | 1 | -14/+22 |
| | |||||
* | Added a few items to the TODO list that won't be resolved with the next release. | Nikolaus Schulz | 2006-10-31 | 1 | -0/+8 |
| | |||||
* | Reverted script name change from rev. 101, so we generate a clean tarball again. | Nikolaus Schulz | 2006-10-31 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | The archivemail-devel list is subscribers-only and not very useful as a general | Nikolaus Schulz | 2006-10-30 | 1 | -2/+2 |
| | | | | | | contact address, so better give personal maintainer names and email addresses in setup.py. | ||||
* | Shortened new option name "--dont-mangle-from" to "--dont-mangle". | Nikolaus Schulz | 2006-10-30 | 3 | -7/+7 |
| | |||||
* | Rewrote Mbox.procmail_lock() to fix locking race condition. Should now also be | Nikolaus Schulz | 2006-10-30 | 1 | -12/+33 |
| | | | | | NFS-safe. | ||||
* | Testsuite: fixed testDeleteOldMail to check the right option. | Nikolaus Schulz | 2006-10-30 | 1 | -1/+1 |
| | |||||
* | TODO: added that currently all items are from the original author and still have | Nikolaus Schulz | 2006-10-29 | 1 | -0/+3 |
| | | | | | to be checked. :-) | ||||
* | Testsuite: create temporary directory with prefix. | Nikolaus Schulz | 2006-10-29 | 1 | -2/+3 |
| | |||||
* | Dropped test from testsuite if dotlock file is world-readable, this isn't | Nikolaus Schulz | 2006-10-29 | 1 | -6/+0 |
| | | | | | required. | ||||
* | 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. | ||||
* | Updated CHANGELOG. | Nikolaus Schulz | 2006-10-28 | 1 | -0/+36 |
| | |||||
* | Changelog: added entry for CRAM-MD5 login to the changelog of the latest | Nikolaus Schulz | 2006-10-28 | 1 | -0/+1 |
| | | | | | version 0.6.2. | ||||
* | Replaced all tempfile.mktemp() calls with mkstemp()/mkdtemp(). | Nikolaus Schulz | 2006-10-27 | 2 | -34/+32 |
| | | | | | | | 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. :-) | ||||
* | test_archivemail.py: fixed unsafe creation of temporary files. | Nikolaus Schulz | 2006-10-27 | 1 | -115/+85 |
| | | | | | | | | | | | | | | | | | Derive all testcases that create temporary files from the new class TestCaseInTempdir, which provides standard fixtures to set up a secure temporary root directory for tempfiles and cleaning up afterwards. This also simplifies the code. This addresses Debian bug #385253, and reading the BTS log, it seems this issue was assigned CVE-2006-4245, although I cannot find any further reference to that CVE. Note that the bug was initially reported to affect archivemail itself, too. This is not correct. There *are* race conditions with archivemail, but they were not subject of that report, and are not that critical. Also bumped python dependency to version 2.3 since we use tempfile.mkstemp() and other recent stuff. | ||||
* | test_archivemail.py: added two missing self.setUp() calls in the TestArchiveMbox | Nikolaus Schulz | 2006-10-27 | 1 | -0/+2 |
| | | | | | testcase. | ||||
* | test_archivemail.py: put standard setUp() fixtures in the testcases; the | Nikolaus Schulz | 2006-10-27 | 1 | -38/+61 |
| | | | | | | | matching tearDown() methods were already there. We surely can move more (possibly duplicated) stuff into the setUp() methods later. | ||||
* | test_archivemail.py: don't check for os.fork(), simply use it -- we're targeting | Nikolaus Schulz | 2006-10-27 | 1 | -2/+0 |
| | | | | | posix platforms only. | ||||
* | Fixed unittest TestMboxExclusiveLock: on some systems flock(2) is emulated with | Nikolaus Schulz | 2006-10-20 | 1 | -5/+38 |
| | | | | | | fcntl(2) calls. fcntl locks don't support interlocking within a process, so we need to fork() to correctly test them. |