bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] pop/imap problem: user name contains '@'


From: Paul Vojta
Subject: Re: [bug-mailutils] pop/imap problem: user name contains '@'
Date: Sat, 14 Feb 2009 13:08:50 -0800
User-agent: Mutt/1.4.2.1i

On Sat, Feb 14, 2009 at 11:30:37AM +0200, Sergey Poznyakoff wrote:
> Paul Vojta <address@hidden> 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}
address@hidden://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
address@hidden@@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}
address@hidden://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}}
address@hidden://var/mail/user}
address@hidden://home/obelix/Mail}
address@hidden:///var/mail/user}
address@hidden:///home/obelix/Mail}
 @end group
 @end smallexample
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]