El dilluns, 11 de abril del 2011 a les 09:39, Michael Elkins va escriure:

> On Mon, Apr 11, 2011 at 10:14:56AM +0200, [email protected] wrote:
> >Is there any limit to the port length in an imap url?
> >
> >My email server is configured at port 52003. If I use this url:
> >
> >imaps://llistes.generatech.org:52003
> >
> >I get an error about not being a valid url. On the other hand, if I use
> >
> >imaps://llistes.generatech.org:5200
> >
> >I get connection refused.
> 
> I just tried doing the following to make sure the ciss parsing was 
> correct:
> 
>    $ mutt -f imaps://localhost.localdomain:52003
>    Could not connect to localhost.localdomain (Connection refused).
> 
>    $ mutt -f imaps://localhost.localdomain:520039
>    imaps://localhost.localdomain:520039 is an invalid IMAP path
> 
> It appears that mutt has no problem parsing port 52003.  Can you 
> double check the actual error message again?

Thanks very much for your test. It seems that it has something to do
with mutt versions. With Mutt 1.5.20, I get these messages:

-----
% mutt -f imaps://localhost.localdomain:52003 
«imaps://localhost.localdomain:52003» no és un camí IMAP vàlid.
% mutt -f imaps://localhost.localdomain:520039
«imaps://localhost.localdomain:520039» no és un camí IMAP vàlid.

(In both cases, it says it is an invalid IMAP path).
-----

After your message, I have upgraded to Mutt 1.5.21, and now I get the
expected:

-----
% mutt -f imaps://localhost.localdomain:52003 
No s’ha pogut trobar l’estació «localhost.localdomain».
% mutt -f imaps://localhost.localdomain:520039
«imaps://localhost.localdomain:520039» no és un camí IMAP vàlid.

(Could not connect in the first case, an invalid IMAP path in the
second).
------

I will report it to gentoo bugzilla for new version stabilisation.

Thanks very much for testing it!

-- 
Mimosinnet
Linux User: #463211
41:25:16N (41.421110) 2:11:28E (2.188333)

Attachment: pgpfoKzxuJSA0.pgp
Description: PGP signature

Reply via email to