Commit Graph

341 Commits

Author SHA1 Message Date
Nikolaus Schulz 2719645f2c Updated copyright notes to include year 2008. 2008-03-15 19:39:28 +00:00
Nikolaus Schulz 9ac3a68228 Documented the new option --debug-imap in the manpage. 2008-03-15 19:35:22 +00:00
Nikolaus Schulz c0f0ad33d7 Fixed crash when archiving an empty maildir with python 2.5.
The incompatible changes in mailbox.Maildir triggered an assertion in
_archive_dir(); removing that assertion since it looks not useful anyway.
2008-03-15 18:42:56 +00:00
Nikolaus Schulz 22e23d9d38 Sanitized parsing some IMAP server responses by switching to regular
expressions.
2008-03-15 15:59:05 +00:00
Nikolaus Schulz f6f7903f58 test_archivemail.py: removed nested calls to setUp() and tearDown(). 2008-03-06 20:09:44 +00:00
Nikolaus Schulz afa61f8597 TODO: added items:
* perhaps integrate --debug-imap into -vv switch
* graceful IMAP connection termination upon error
2008-02-14 22:31:11 +00:00
Nikolaus Schulz 704d5a961e Added --debug-imap option which just sets imaplib.Debug. 2008-02-14 22:26:10 +00:00
Nikolaus Schulz 6abf732d2e IMAP: catch LOGINDISABLED, and suggest using imaps. 2008-02-14 22:24:16 +00:00
Nikolaus Schulz 533628c2fc Only try CRAM-MD5 authentication if the server advertises it. 2008-02-14 22:19:34 +00:00
Nikolaus Schulz 1fcd5b7292 TODO: added issues:
- no locking with archives
- no validation of existing archives
- discomfort with current mbox class design and usage
2008-01-19 00:12:35 +00:00
Nikolaus Schulz 77481169d8 _archive_imap() used SSL only if the 'imaps://' url scheme was all lowercase.
Fixed.
2008-01-19 00:04:01 +00:00
Nikolaus Schulz ce02aba226 Updated TODO list. Added:
* rework locking
 * IMAP SEARCH BEFORE matching dates only, no time
 * document mbox format issues
2007-11-15 04:15:25 +00:00
Nikolaus Schulz 8e5c870057 guess_delivery_time():
* 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.
2007-11-13 21:13:38 +00:00
Nikolaus Schulz 4584dffe14 Fixed date header parsing to be precise with timezone information. Also, when
writing From_ line timestamps, don't use UTC but local time, without timezone
information.
2007-11-13 02:59:31 +00:00
Nikolaus Schulz 5178c956bc !%&$*# Repair previous broken commit where an unrelated hunk slipped through.
Reverted that hunk.
2007-11-13 00:36:51 +00:00
Nikolaus Schulz d9ffaf4a3b When converting from other formats to mbox, re-use existing 'Status' and
'X-Status' headers if appropriate (instead of deleting and re-generating them).
2007-11-13 00:32:49 +00:00
Nikolaus Schulz ead112daba If running as root, only call seteuid/setegid if the if the owner of the mailbox
is not root.
2007-11-09 17:04:52 +00:00
Nikolaus Schulz 0ae7edab86 Bumped version to 0.7.2, and updated release info on the webpage. 2007-11-09 14:54:54 +00:00
Nikolaus Schulz 8cc36126ec RELNOTES: slightly re-edited to be more consistent. 2007-11-09 14:52:38 +00:00
Nikolaus Schulz f1784f3093 RELNOTES, CHANGELOG: updated for v0.7.2, which fixes a crash with IMAP and
python << 2.5.
2007-11-09 14:46:17 +00:00
Nikolaus Schulz e0c75a1001 IMAP: fixed crash by working around python bug #1277098, which is still pending
in python << 2.5.
2007-11-09 14:33:13 +00:00
Nikolaus Schulz 5db3d2fe63 Makefile: made the htdocs rule a little bit more intelligent. 2007-11-08 18:23:15 +00:00
Nikolaus Schulz c19a9873b0 Makefile: declare phony targets. 2007-11-08 18:09:45 +00:00
Nikolaus Schulz 796f60f8c8 Makefile: added rule to generate htdocs tarball. 2007-11-07 23:59:45 +00:00
Nikolaus Schulz c4841fe4cd CHANGELOG: added entry about IMAP delimiter detection and recovery. 2007-11-07 23:58:48 +00:00
Nikolaus Schulz 4b64da911e Debug message improvements. Explicitely say if we're selecting an IMAP mailbox
read-only.  Improve some formatting.
2007-11-07 23:57:03 +00:00
Nikolaus Schulz adf6515746 Added more debugging messages to the IMAP flag conversion. 2007-11-07 23:51:41 +00:00
Nikolaus Schulz 9439e1fa8a Minor code cleanup. 2007-11-07 23:50:18 +00:00
Nikolaus Schulz 11ebc2e011 New release notes for v0.7.1. 2007-11-07 22:33:04 +00:00
Nikolaus Schulz 5b72c8287c Updated and edited manpage:
* drop prominent note about being a python program; 
* extended description a bit;
* Document issue with slashes in IMAP mailbox paths.
2007-11-07 22:32:07 +00:00
Nikolaus Schulz d5cb3dad61 IMAP: if selecting a mailbox fails with both the original path name and with
replaced path delimiters, report failure for the original path.
2007-11-07 21:10:08 +00:00
Nikolaus Schulz 8596d68092 TODO: update for the upcoming release. Added new item:
* fix possible wrong names for IMAP mailbox archives
2007-11-07 19:59:18 +00:00
Nikolaus Schulz f47de26676 Minor code cleanups. 2007-11-07 19:52:52 +00:00
Nikolaus Schulz fbb00e08f4 IMAP: if selecting the mailbox fails, then detect the server's mailbox hierarchy
delimiter, replace slashes in the mailbox name with the delimiter and try again.
2007-11-07 16:31:49 +00:00
Nikolaus Schulz 1e5cb090e7 Fixed IMAP --verbose mode to say what we're *intending* to do next, instead of
reporting success after the fact.  This makes a lot more sense for debugging. 
Also added some more messages.
2007-11-07 14:33:17 +00:00
Nikolaus Schulz bcb01613d0 archivemail.py, setup.py, test_archivemail.py:
bumped version to 0.7.1, and updated copyright.
2007-11-07 00:57:44 +00:00
Nikolaus Schulz d57987be04 TODO: new items:
* 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 (?)
2007-11-06 23:54:50 +00:00
Nikolaus Schulz 2d608bffe7 Makefile: run HTML tidy on the autogenerated HTML manpage. This spews quite
some errors and exits with nonzero, but the result is still very useful, and I
managed to tranquilize tidy. :-)
2007-11-06 23:49:47 +00:00
Nikolaus Schulz 5f929f6697 Makefile: added note that python/distutils bug #644744 prevents using the
bdist_rpm target.
2007-11-06 23:45:21 +00:00
Nikolaus Schulz 54fbaf5844 manpage.css, style.css:
* moved some rules from the first to the latter, and @import the latter for the
  manpage. 
* added some further formatting for index.html.
2007-11-06 23:38:05 +00:00
Nikolaus Schulz 61d0e803c6 db2html.dsl: override $refentry-body$ from dbrfntry.dsl to add a <hr> after the
refentry title <h1>.
2007-11-06 23:33:33 +00:00
Nikolaus Schulz 372b45d7b0 index.html: major overhaul: re-edited and partly rewritten.
Some notably changes: 
* don't make so much noise about archivemail being a python program; 
* add little box with current version information; 
* partly reworded for a more friendly, inviting tone (hopefully); 
* removed some superfluous links to trivial information like the pyhon.org
  website; 
* link changelog and TODO file to HEAD in the svn browser instead of using
  (obsolete) copies; 
* warmly encourage svn access; 
* drop dead link to article about archivemail.
2007-11-06 23:24:48 +00:00
Nikolaus Schulz 75e3ae94a9 index.html: fixed to be valid HTML 4 strict. 2007-11-06 02:50:15 +00:00
Nikolaus Schulz 373695a64d index.html: finally committed the updated download link to the Opensuse build
service.  (This version is online since 2006-11-03.)
2007-11-05 21:24:59 +00:00
Nikolaus Schulz 204893eeab index.html: removed obsolete note that the testsuite requires Python >= 2.1. 2006-11-03 03:49:07 +00:00
Nikolaus Schulz 5abff64e5a Added new file RELNOTES (release notes for v0.7.0) and linked to it in
index.html.
2006-11-03 00:36:00 +00:00
Nikolaus Schulz 4bbc0216ef index.html: added maintainer email addresses.
(Left out Brandon because he's not active.)
2006-11-03 00:22:18 +00:00
Nikolaus Schulz b10c66aa35 index.html: synced with README and updated for v0.7.0. 2006-11-03 00:11:29 +00:00
Nikolaus Schulz 9e8649cb92 For what it's worth, I've committed the htdocs state before the release of
v0.7.0.  The htdocs were not imported in svn, and the latest changes there not
committed to cvs.  Oh well, for now I'll use the RCS that's there (cvs).
2006-11-02 22:06:49 +00:00
Brandon Knitter ab0f6dbf98 index.html: added in some maintainer comments, as well as the current release
section
2003-10-29 03:12:49 +00:00