[REBOL] Re: Core 2.5 Released.
From: holger:rebol at: 26-Mar-2001 16:08
On Tue, Mar 27, 2001 at 10:18:13AM +1200, Graham Chiu wrote:
> I get this with 2.5 Win32
>
> >> mailbox: open pop://test:[test--compkarori--com]
> connecting to: compkarori.com
> ** User Error: Server error: tcp connection failed
> ** Near: mailbox: open pop://test:[test--compkarori--com]
> >>
We added support for APOP (POP with encrypted passwords) in this version
of REBOL. The support is usually transparent, i.e. REBOL only uses APOP
if the server declares that it supports it, and even then falls back to
regular POP if an error occurs with APOP.
It seems that in your case the server claims that it supports APOP, but
then when REBOL sends the request it closes the connection instead of
handling the request of at least returning a proper error :-(. Chances
are this is because your server does support APOP, but your POP account
has not been configured for it.
Here is a quick (and ugly) workaround to put into your user.r that disables
APOP support in REBOL, until we can provide a clean, configurable way to
enable/disable APOP in the next release. Make sure you replace the last two
numbers in the version number check with the numbers on your system. "3.1"
refers to Windows.
if system/version = 2.5.0.3.1 [
change pick find second get in system/schemes/pop/handler 'open 'if 3 true
]
Of course a better solution would be to ask the sysadmin responsible for the
POP server to enable APOP (encrypted passwords) for your POP account. That
way you could use REBOL to retrieve mail without sending your password in
the clear every time you poll for mail.
--
Holger Kruse
[holger--rebol--com]