diff --git a/archivemail.1 b/archivemail.1
index cb937f5..27b53ce 100644
--- a/archivemail.1
+++ b/archivemail.1
@@ -3,7 +3,7 @@
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
-.TH "ARCHIVEMAIL" "1" "06 November 2006" "SP" ""
+.TH "ARCHIVEMAIL" "1" "24 October 2007" "SP" ""
.SH NAME
archivemail \- archive and compress your old email
@@ -220,11 +220,14 @@ Display brief summary information about how to run \fBarchivemail\fR\&.
.PP
To archive an \fBIMAP\fR-format mailbox, use the format
\fBimap://username:password@server/mailbox\fR to specify the
-mailbox. You can omit the password from the URL; use the
-\fB--pwfile\fR option to make \fBarchivemail\fR read the
-password from a file, or just enter it upon request. Substitute 'imap\&'
-with 'imaps\&', and \fBarchivemail\fR will establish a secure
-SSL connection.
+mailbox. If your username or password contains the '@' or ':' character,
+you can double-quote it like this:
+\fBimap://"username@bogus.com":"password"@server/mailbox\fR\&. Use a
+backslash to escape double-quotes that are part of a quoted username or password.
+You can omit the password from the URL; use the \fB--pwfile\fR
+option to make \fBarchivemail\fR read the password from a file, or just
+enter it upon request. Substitute 'imap\&' with 'imaps\&', and
+\fBarchivemail\fR will establish a secure SSL connection.
.PP
When reading an \fBmbox\fR-format mailbox, \fBarchivemail\fR will
create a lockfile with the extension \fI\&.lock\fR so that
diff --git a/archivemail.sgml b/archivemail.sgml
index 8b100ee..ff3ecd5 100644
--- a/archivemail.sgml
+++ b/archivemail.sgml
@@ -35,7 +35,7 @@
-2 November 2006
+23 October 2007
archivemail
@@ -349,11 +349,14 @@ Display brief summary information about how to run
To archive an imap://username:password@server/mailbox to specify the
-mailbox. You can omit the password from the --pwfile option to make 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