Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

POP proxy -- was reading POP mail headers

 [1/3] 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

 [2/3] from: g:santilli:tiscalinet:it at: 17-Sep-2002 11:56


Hi Graham, On Tuesday, September 17, 2002, 4:15:22 AM, you wrote: GC> I get nothing echo'd back. The client expects a hello message from the POP3 server. You may wish to look at the RFC for POP3 (I don't have the number at hand), or maybe just try connecting to a real server and see what it does. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

 [3/3] from: gchiu:compkarori at: 17-Sep-2002 23:39


On Tue, 17 Sep 2002 11:56:07 +0200 Gabriele Santilli <[g--santilli--tiscalinet--it]> wrote:
>The client expects a hello message from the POP3 >server. You may
Hi Gabriele, I've sort of got it going now. Just sent back a "+OK" to say I was waiting for authentication. Now to finish writing my mini pop server :) -- Graham Chiu