On Sat, Feb 14, 2009 at 11:30:37AM +0200, Sergey Poznyakoff wrote:
> Paul Vojta <[email protected]> ha escrit:
>
> > Gnu mailutils (and mailx in particular) seems to be unable to connect
> > to a POP or IMAP server if the user name contains the '@' character.
>
> The '@' character must be represented in URLs as %40, see RFC 1738.
>
> Regards,
> Sergey
Sergey:
Thanks for the explanation.
But, in that case, I would like to suggest that this aspect be
documented, as it is likely to come up more frequently in the future.
A sample patch is included below. (I also changed some other apparent
bugs.)
Sincerely,
Paul Vojta
-------
--- mailutils-2.0/doc/texinfo/url.texi.orig 2008-12-08 11:06:08.000000000
-0800
+++ mailutils-2.0/doc/texinfo/url.texi 2009-02-14 13:05:51.000000000 -0800
@@ -32,10 +32,14 @@
@indicateurl{pop://falbala;AUTH=+APOP@@france.com}
@indicateurl{pop://obelix;AUTH=+APOP@@village.gaulois.org:2000}
@indicateurl{pop://obelix:menhir@@village.gaulois.org:2000}
+...@indicateurl{pop://obelix%40domain.com@@village.gaulois.org}
@end smallexample
For more complete information see @cite{RFC 2368}.
+Note that the @var{user} portion of the last example is
+...@code{obelix@@domain.com}; the '@@' character must be encoded as @code{%40}.
+
@subsubheading POP3S (POP3 Over SSL)
The POP3S URL scheme contains a POP server over SSL, optional port
number and the authentication mechanism. The general form is
@@ -71,6 +75,7 @@
@indicateurl{imap://obelix@@imap.gaulois.org}
@indicateurl{imap://asterix;AUTH=*@@imap.france.com}
@indicateurl{imap://asterix:potion@@imap.france.com}
+...@indicateurl{imap://obelix%40domain.com@@village.gaulois.org}
@end smallexample
For more complete information see @cite{RFC 2192}.
@@ -91,15 +96,15 @@
@subsubheading File
-Local folder should be handle by this URL. It is preferable to let
-the mailbox recognize the type of mailbox and take the appropriate
+Local folders should be handled by this URL. It is preferable to let
+the library recognize the type of mailbox and take the appropriate
action.
@smallexample
@group
@indicateurl{file://@var{path}}
-...@indicateurl{file://var/mail/user}
-...@indicateurl{file://home/obelix/Mail}
+...@indicateurl{file:///var/mail/user}
+...@indicateurl{file:///home/obelix/Mail}
@end group
@end smallexample
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils