[REBOL] POP proxy -- was reading POP mail headers
From: gchiu::compkarori::co::nz at: 17-Sep-2002 14:15
>work. I just changed
>the read-message function to use TOP instead of RETR. The
>other stuff I just
Thanks Greg. I wonder why RT haven't implemented the TOP
command.
On another point, I was wondering how to write a POP proxy
server.
Copying some of RT's code, I tried the following:
pop-port: open/lines join tcp://: 110
forever [
connection-port: first pop-port
until [
wait connection-port
error? try [print first connection-port]
]
close connection-port
]
close pop-port
which should echo every thing sent to port 110, but when I
do this from another console session:
open pop://me:[password--127--0--0--1]
I get nothing echo'd back.
--
Graham Chiu