From 8d01846e3f88975437d217dd691cc334c3d113ec Mon Sep 17 00:00:00 2001 From: Nikolaus Schulz Date: Mon, 9 Aug 2010 11:40:40 +0200 Subject: Manpage, TODO, CHANGELOG: document and record wildcard expansion in IMAP mailbox names --- CHANGELOG | 3 +++ TODO | 2 -- archivemail.sgml | 19 ++++++++++++++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 216259e..1ad6daf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -68,6 +68,9 @@ Version 0.8.0 - UNRELEASED Like the --suffix and --prefix options, it is expanded with strftime(). This option conflicts with archiving multiple mailboxes. Closes: feature request #1306538. + * archivemail now expands wildcards in IMAP mailbox names. For example, the + url imaps://user@server/foo/* will expand to all subfolders of foo. + Closes: feature request #1978540. Obsoletes: patch #1918937. Version 0.7.2 - 9 November 2007 diff --git a/TODO b/TODO index e650636..e6950ed 100644 --- a/TODO +++ b/TODO @@ -50,8 +50,6 @@ date-string"). This should be done without any real network I/O. Try to port archivemail to email.message and the new mailboxes in Python 2.5. Is these flexible enough for our needs? -Add recursive archiving of mail subfolders? - Line out what we want with respect to multiple selection criteria. Some make sense, but this easily gets too complex, and if only it's a hassle with adding all the options. Hm. diff --git a/archivemail.sgml b/archivemail.sgml index 543cfc5..94f03a8 100644 --- a/archivemail.sgml +++ b/archivemail.sgml @@ -35,7 +35,7 @@ -31 July 2010 +9 August 2010 archivemail @@ -97,6 +97,11 @@ mailboxes, but always writes imap://username:password@server/mailbox to specify the mailbox. +RFC 3501, which says: +The character "*" is a wildcard, and matches zero or more characters at this +position. The character "%" is similar to "*", but it does not match a +hierarchy delimiter. You can omit the password from the --pwfile option to make + + + + To archive all mails older than 180 days in subfolders of "foo" on the + given ~/imap-pass.txt: + + + bash$ archivemail --pwfile=~/imap-pass.txt imaps://user@example.org/foo/* + + -- cgit v1.2.3