Hello!

I would appreciate hints/pointers in regards to hacking c-client/pop3.c to
make my c-client project work with a broken pop3 server.

Though I'm RFC ignorant, since c-client (from imap-2002e) doesn't work
with this particular pop server, I'm sure it's broken.

I suspect, the problem is that upon seeing the "+OK <blah blah blah>"
greetings from the pop3 server, c-client will issue a "CAPA" command.  In
response to that, the server would say:

+OK capability list follows
PIPELINING
TOP
UIDL
APOP
.

Since the list didn't include "USER", c-client would stop and say "Can't
login to this server."

So, if I were to change pop3.c, and make it such that:

diff -r1.1 pop3.c
408c408,411
<   if (pop3_send (stream,"CAPA",NIL)) LOCAL->cap.capa = T;
---
>   if (pop3_send (stream,"CAPA",NIL)) {
>     LOCAL->cap.capa = T;
>     LOCAL->cap.user = T;
>   }

to make sure LOCAL->cap.user is always true, what if any other things will
this break?

Many Thanks,

N.








-- 
------------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/c-client-list.html
------------------------------------------------------------------

Reply via email to