fetchmail-friends
[Top] [All Lists]

[fetchmail]Re: Bug in doing CAPA /w fetchmail-5.9.11?

2002-05-03 03:08:26
Birger Toedtmann schrieb am Thu, May 02, 2002 at 05:48:04PM +0200:

Hi,

lately I had some problems with fetchmail and the new STLS feature.  Because
with a qpopper server at hand, it just didn't work.  When I did some "-vv",
I was surprised that fetchmail never sent a CAPA to qpopper.  So I went and
read some lines in pop3.c where the STLS/CAPA stuff is detailed:

[...]
:: if (ctl->server.authenticate == A_ANY
::             && strchr(greeting, '<')
::             && gen_transact(sock, "CAPA") == 0)
::         {
[...]

If I comment out the "&& strchr(greeting, '<')" line, STLS with the qpopper
works fine, BTW.  So who is repsonsible here:  qpopper for not announcing any
"<nfiowd(_at_)8320582340958>" in its greeting or fetchmail for expecting it even
if servers could do CAPA/STLS without?


Regards,

Birger

[...]
:: $ telnet 10.10.10.10 110
:: Trying 10.10.10.10...
:: Connected to 10.10.10.10.
:: Escape character is '^]'.
:: +OK Qpopper (version 4.0.3) at 10.10.10.10
:: CAPA
:: +OK Capability list follows
:: TOP
:: USER
:: LOGIN-DELAY 0
:: EXPIRE 0
:: UIDL
:: RESP-CODES
:: AUTH-RESP-CODE
:: X-MANGLE
:: X-MACRO
:: X-LOCALTIME Thu, 2 May 2002 17:34:51 +0200
:: STLS
:: IMPLEMENTATION Qpopper-version-4.0.3
[...]