aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Moved IMAP SELECT code into a separate function.Nikolaus Schulz2008-04-081-15/+20
|
* IMAP: be NAMESPACE-aware; improved probing for guessed mailbox names. Nikolaus Schulz2008-04-084-30/+86
| | | | | | | | * Automatically add NAMESPACE prefix to the mailbox path if necessary, * Explicitely check for guessed mailbox names with LIST instead of just trying to SELECT them. * Updated documentation about NAMESPACE handling.
* archivemail.sgml: warn that multiple passes with --copy will create duplicates. Nikolaus Schulz2008-04-082-1/+5
|
* Code structuring: made a separate group of IMAP functions. Nikolaus Schulz2008-04-071-58/+65
| | | | | No code changes, just moved functions around.
* IMAP: servers should never advertise LOGINDISABLED with SSL; removed the checkNikolaus Schulz2008-03-211-5/+1
| | | | | for it, which was just used to spit a special error message anyway.
* Archiving an IMAP folder with --all didn't archive *any* messages.Nikolaus Schulz2008-03-191-1/+1
| | | | | | The message sequence numbers must be strings, but were generated as integers; fixed.
* Updated year in another copyright note, which I overlooked before.Nikolaus Schulz2008-03-161-1/+1
|
* Updated changelog, which was a little behind. Nikolaus Schulz2008-03-151-0/+7
|
* Removed an assertion which choked upon --days=0. Nikolaus Schulz2008-03-151-3/+0
|
* Added new option --all to archive all messages in a mailbox.Nikolaus Schulz2008-03-154-11/+68
| | | | | | Updated documentation, and added a first simple unittest for this. Closes: #1764846.
* Updated copyright notes to include year 2008.Nikolaus Schulz2008-03-152-2/+2
|
* Documented the new option --debug-imap in the manpage.Nikolaus Schulz2008-03-152-2/+24
|
* Fixed crash when archiving an empty maildir with python 2.5. Nikolaus Schulz2008-03-151-1/+0
| | | | | | The incompatible changes in mailbox.Maildir triggered an assertion in _archive_dir(); removing that assertion since it looks not useful anyway.
* Sanitized parsing some IMAP server responses by switching to regularNikolaus Schulz2008-03-151-8/+8
| | | | | expressions.
* test_archivemail.py: removed nested calls to setUp() and tearDown(). Nikolaus Schulz2008-03-061-68/+0
|
* TODO: added items: Nikolaus Schulz2008-02-141-0/+7
| | | | | | * perhaps integrate --debug-imap into -vv switch * graceful IMAP connection termination upon error
* Added --debug-imap option which just sets imaplib.Debug.Nikolaus Schulz2008-02-141-1/+8
|
* IMAP: catch LOGINDISABLED, and suggest using imaps. Nikolaus Schulz2008-02-141-2/+9
|
* Only try CRAM-MD5 authentication if the server advertises it. Nikolaus Schulz2008-02-141-3/+5
|
* TODO: added issues: Nikolaus Schulz2008-01-191-0/+14
| | | | | | | - no locking with archives - no validation of existing archives - discomfort with current mbox class design and usage
* _archive_imap() used SSL only if the 'imaps://' url scheme was all lowercase.Nikolaus Schulz2008-01-191-1/+1
| | | | | Fixed.
* Updated TODO list. Added: Nikolaus Schulz2007-11-151-0/+29
| | | | | | | * rework locking * IMAP SEARCH BEFORE matching dates only, no time * document mbox format issues
* guess_delivery_time(): Nikolaus Schulz2007-11-134-10/+24
| | | | | | | | | * look for the timestamp of the latest 'Received' header before resorting to 'Date' or 'Resent-Date'. * let 'Resent-date' header take precedence over 'Date'. Document these changes in manpage and changelog. Closes: #1481316, #1764855, Debian bug #272666.
* Fixed date header parsing to be precise with timezone information. Also, whenNikolaus Schulz2007-11-132-9/+16
| | | | | | writing From_ line timestamps, don't use UTC but local time, without timezone information.
* !%&$*# Repair previous broken commit where an unrelated hunk slipped through. Nikolaus Schulz2007-11-131-1/+1
| | | | | Reverted that hunk.
* When converting from other formats to mbox, re-use existing 'Status' andNikolaus Schulz2007-11-131-5/+7
| | | | | 'X-Status' headers if appropriate (instead of deleting and re-generating them).
* If running as root, only call seteuid/setegid if the if the owner of the mailboxNikolaus Schulz2007-11-091-9/+11
| | | | | is not root.
* Bumped version to 0.7.2, and updated release info on the webpage.Nikolaus Schulz2007-11-093-4/+4
|
* RELNOTES: slightly re-edited to be more consistent. Nikolaus Schulz2007-11-091-3/+8
|
* RELNOTES, CHANGELOG: updated for v0.7.2, which fixes a crash with IMAP andNikolaus Schulz2007-11-092-0/+10
| | | | | python << 2.5.
* IMAP: fixed crash by working around python bug #1277098, which is still pendingNikolaus Schulz2007-11-091-0/+3
| | | | | in python << 2.5.
* Makefile: made the htdocs rule a little bit more intelligent. Nikolaus Schulz2007-11-081-1/+2
|
* Makefile: declare phony targets. Nikolaus Schulz2007-11-081-0/+2
|
* Makefile: added rule to generate htdocs tarball. Nikolaus Schulz2007-11-071-1/+9
|
* CHANGELOG: added entry about IMAP delimiter detection and recovery. Nikolaus Schulz2007-11-071-1/+4
|
* Debug message improvements. Explicitely say if we're selecting an IMAP mailboxNikolaus Schulz2007-11-071-3/+5
| | | | | read-only. Improve some formatting.
* Added more debugging messages to the IMAP flag conversion. Nikolaus Schulz2007-11-071-3/+7
|
* Minor code cleanup.Nikolaus Schulz2007-11-071-1/+1
|
* New release notes for v0.7.1.Nikolaus Schulz2007-11-071-43/+27
|
* Updated and edited manpage: Nikolaus Schulz2007-11-072-36/+76
| | | | | | | * drop prominent note about being a python program; * extended description a bit; * Document issue with slashes in IMAP mailbox paths.
* IMAP: if selecting a mailbox fails with both the original path name and withNikolaus Schulz2007-11-071-2/+2
| | | | | replaced path delimiters, report failure for the original path.
* TODO: update for the upcoming release. Added new item: Nikolaus Schulz2007-11-071-6/+11
| | | | | * fix possible wrong names for IMAP mailbox archives
* Minor code cleanups. Nikolaus Schulz2007-11-071-13/+6
|
* IMAP: if selecting the mailbox fails, then detect the server's mailbox hierarchyNikolaus Schulz2007-11-071-6/+48
| | | | | delimiter, replace slashes in the mailbox name with the delimiter and try again.
* Fixed IMAP --verbose mode to say what we're *intending* to do next, instead ofNikolaus Schulz2007-11-071-5/+9
| | | | | | reporting success after the fact. This makes a lot more sense for debugging. Also added some more messages.
* archivemail.py, setup.py, test_archivemail.py: Nikolaus Schulz2007-11-073-5/+5
| | | | | bumped version to 0.7.1, and updated copyright.
* TODO: new items: Nikolaus Schulz2007-11-061-2/+18
| | | | | | | | | * implement --all (?) * implement --include-draft (?) * consider to use target directories for temporary files, this might spare us one copy if they reside on other filesystems than /tmp * fallback if an IMAP server doesn't implement SEARCH (?)
* Makefile: run HTML tidy on the autogenerated HTML manpage. This spews quiteNikolaus Schulz2007-11-061-0/+1
| | | | | | some errors and exits with nonzero, but the result is still very useful, and I managed to tranquilize tidy. :-)
* Makefile: added note that python/distutils bug #644744 prevents using theNikolaus Schulz2007-11-061-0/+1
| | | | | bdist_rpm target.
* manpage.css, style.css: Nikolaus Schulz2007-11-062-22/+55
| | | | | | | * moved some rules from the first to the latter, and @import the latter for the manpage. * added some further formatting for index.html.