bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] mailutils v0.3 mailbox opening bug: pop://<user>


From: Alain Magloire
Subject: Re: [bug-mailutils] mailutils v0.3 mailbox opening bug: pop://<user>
Date: Thu, 11 Sep 2003 19:48:32 -0400 (EDT)

> 
> Hi, guys !
> 
> There is such a problem with mailutils v0.3:
> 
> When we try to open mailbox with mailbox_create (&mbox, mailbox_name) =
> using such POP URL form for mailbox_name (as described at: =
> http://www.gnu.org/manual/mailutils-0.2/html_node/URL.html):
> 
> <pop://[<user>[;AUTH=3D<auth>address@hidden<host>[:<port>]>=20
> 
> ...evrything is right if <user> field doesnt contain "@" symbol... for =
> instance, when we use such POP URl:
> 
> pop://zabava:address@hidden/
> 
> we open mailbox and read all mails succesfully, but if our <user> looks =
> so: "address@hidden", for example:
> 
> pop://address@hidden:address@hidden/
> 
> there we have such error when we run program:
> 
> opening pop://address@hidden:address@hidden/ failed: =
> No such file or directory
> 
> 
> Version of the package we are using:
> mailutils v0.3 compiled on Linux Redhat v9
> 
> Compilation options used when configuring the package:
> gcc `/opt/bt/mailutils-0.3/bin/mailutils-config --compile` =
> `/opt/bt/mailutils-0.3/bin/mailutils-config --link` mbox7.c -o m
> 
> 
> 
> Is it not possible to open mailbox if user contains "@" ?
> 

Well as you can see the RFC for a pop URL says that
chars: '@', ';', ':' and string "://" are reserved.

A small excerpt of RFC2384:

   Note that if unsafe or reserved characters such as " " or ";" are
   present in the user name or authentication mechanism, they MUST be
   encoded as described in RFC 1738 [BASIC-URL].

The encoding is describe in RFC1738, basically "%" follow by the hexadecimal 
value.







reply via email to

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