Commit Graph

365 Commits

Author SHA1 Message Date
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
Brandon Knitter fe773d4822 index.html, style.css: initial import. 2003-10-29 03:03:43 +00:00
Nikolaus Schulz 3fd26dcb45 Files added:
db2html.dsl (DSSSL stylesheet)
    manpage.css (HTML stylesheet)
Updated Makefile to let docbook2html use db2html.dsl.
2007-11-04 22:13:59 +00:00
Nikolaus Schulz f582fd75c9 archivemail.sgml: wrap examples in <informalexample>. 2007-11-03 00:51:23 +00:00
Nikolaus Schulz 3f5f591728 archivemail.sgml: edited and reordered 'Notes' section so that it looks nicer. 2007-11-03 00:24:37 +00:00
Nikolaus Schulz be4aabc20f archivemail.sgml: document that the conversion from other formats to mbox
overwrites existing 'Status' and 'X-Status' messages headers.
2007-11-02 23:46:17 +00:00
Nikolaus Schulz 74c871644e When converting from other formats to mbox, don't preserve existing 'Status' and
'X-Status' mbox headers, we better overwrite them with correct values.
2007-11-02 23:35:50 +00:00
Nikolaus Schulz c0552fcd06 With IMAP no IdentityCache object was initialized, causing a crash if
--warn-duplicates was used.  Closes: Debian bug #434786.
2007-11-02 21:53:20 +00:00
Nikolaus Schulz 3e0288e21b TODO: removed obsolete items:
- documentation of IMAP server side search peculiarities
    - Debian bug #255944, which has been recorded as unreproducible, and fixed
      in rev. 186.
2007-11-02 21:26:12 +00:00
Nikolaus Schulz b40da3124a archivemail.py: added --copy option to the usage message. 2007-11-02 21:21:17 +00:00
Nikolaus Schulz aae08fe3fb Let archivemail accept --days=0. 2007-11-02 21:18:23 +00:00
Nikolaus Schulz 59e9715021 Expand tilde in argument of long option --pwfile. 2007-11-02 21:06:59 +00:00
Nikolaus Schulz e25367fcb8 Documented the new --copy option in the manpage. 2007-11-02 20:50:30 +00:00
Nikolaus Schulz c5002cdefb Updated manpage: note that IMAP server internal message dates may differ from
user-visible date headers, and that there exist servers not supporting searches.
2007-11-02 20:42:16 +00:00
Nikolaus Schulz c97b10f253 Hm, forgot the autogenerated manpage in the previous commit. 2007-11-02 20:27:37 +00:00
Nikolaus Schulz b2f94206b1 Deprecate the old automatic seteuid feature; document this in the manpage and
changelog, and let archivemail spit a warning when it changes the effective user
id.
2007-11-02 20:26:40 +00:00
Nikolaus Schulz dfec62850e Updated manpage: document that archivemail will implicitly unset the \Recent
message flag of all messages in an IMAP folder.
2007-11-02 19:21:10 +00:00
Nikolaus Schulz 3ee105d766 If running as root, only switch the effective uid and gid back if we have
actually switched them before.
2007-11-02 18:47:23 +00:00
Nikolaus Schulz a1641450ed Added simple unittest for the --copy option. Mbox only. :-/ 2007-11-02 18:21:21 +00:00
Nikolaus Schulz bcb00dbbed CHANGELOG: updated to cover fixed IMAP message flag handling and new --copy
option.
2007-11-02 17:53:29 +00:00
Nikolaus Schulz 3240b24d9f New option --copy: archive mail, but don't delete it from the mailbox.
Closes: #981865, #988803, #1764851, Debian bug #434798
2007-11-02 17:44:38 +00:00
Nikolaus Schulz 0eba452d93 IMAP: first fetch message flags, then the body. Doing it together always
returns the \Seen flag set.  
Closes: Debian bug #434807 (well, the outstanding part of it).
2007-11-02 13:21:18 +00:00
Nikolaus Schulz 130a5ef117 When converting from maildir or IMAP to mbox, report existing 'Status' and
'X-Status' headers in verbose mode, since they are preserved, which can give
surprising results.
2007-11-02 12:27:32 +00:00
Nikolaus Schulz 82e3be1987 IMAP: fixed message flags retrieval, which failed to extract the right string
from the server response.  Tough.
2007-11-02 12:00:12 +00:00
Nikolaus Schulz 6ea7c7d810 If dry-running, open IMAP mailboxes read-only. This uses EXAMINE instead of
select, thus preserving the \Recent flag.
2007-11-02 11:44:21 +00:00
Nikolaus Schulz 9e70e576af add_status_headers_imap():
* mark message 'old' iff it's not \Recent (drop requirement that it's
      unread; this probably confused mutt's message status flags in the index
      with mbox status flags). 
    * a message not \Seen and not \Recent was marked as 'N', but there is no
      such thing like an mbox status flag 'N'.
2007-11-02 11:26:20 +00:00
Nikolaus Schulz 1d89f59b53 TODO: drop paragraph about reworking the IMAP URL parser (done). 2007-11-01 12:01:44 +00:00