From 9b7768e07318f3c75e957024db8407191354764a Mon Sep 17 00:00:00 2001 From: Nikolaus Schulz Date: Wed, 24 Oct 2007 14:58:47 +0000 Subject: Rewrote and reordered parts of the manpage: * Move paragraph about archiving IMAP folders before the option list * Added section subsection about IMAP URL handling * Added IMAP example command line --- archivemail.sgml | 67 +++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 52 insertions(+), 15 deletions(-) (limited to 'archivemail.sgml') diff --git a/archivemail.sgml b/archivemail.sgml index ff3ecd5..3ef7fac 100644 --- a/archivemail.sgml +++ b/archivemail.sgml @@ -35,7 +35,7 @@ -23 October 2007 +24 October 2007 archivemail @@ -80,6 +80,22 @@ mailboxes, but it will always write archive files to + +To archive an imap://username:password@server/mailbox + to specify the mailbox. +You can omit the password from the --pwfile option to make --pwfile option is set, + + - -To archive an imap://username:password@server/mailbox to specify the -mailbox. If your username or password contains the '@' or ':' character, -you can double-quote it like this: -imap://"username@bogus.com":"password"@server/mailbox. Use a -backslash to escape double-quotes that are part of a quoted username or password. -You can omit the password from the --pwfile -option to make - When reading an .lock so that @@ -396,6 +399,26 @@ will use the last-modified file timestamp on + +<acronym/IMAP/ <acronym/URL/s + +RFC 2882 (Internet Message +Format) rules for the local-part of email addresses +in mind. +So, rather than enforcing an imap://"username@bogus.com":"password"@imap.bogus.com/mailbox +. +You can use a backslash to escape double-quotes that are part of a quoted +username or password. +Note that quoting only a substring will not work, and be aware that your shell +will probably remove unprotected quotes or backslashes. + + + @@ -471,6 +494,19 @@ that are older than 90 days to compressed mailboxes in the + + To archive all mails older than 180 days from the given $HOME/Mail/Archive directory, quoting the password and + reading it from the environment variable PASSWORD: + + + +bash$ archivemail -o $HOME/Mail/Archive imaps://user:'"'$PASSWORD'"'@example.org/INBOX + + + Note the protected quotes. + @@ -527,7 +563,8 @@ removal. Author This manual page was written by Paul Rodger <paul at paulrodger dot -com>. Updated by Nikolaus Schulz microschulz@web.de +com>. Updated and supplemented by Nikolaus Schulz +microschulz@web.de -- cgit v1.2.3