Gnus development mailing list
 help / color / mirror / Atom feed
* bug with pop3/ssl and capabilities
@ 2011-08-30 20:51 Denys Duchier
  2011-09-10 21:32 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Denys Duchier @ 2011-08-30 20:51 UTC (permalink / raw)
  To: ding

I am using gnus (from the git repository) in emacs 24 (from the bzr
repository).  my mail source is a pop3 server on port 995 (i.e. :stream
ssl) which supports the CAPA command.  yet, opening the server gets
stuck unless, in pop3-open-server, I comment out the line:

    :capability-command "CAPA\r\n"

when it is stuck and I ^G out of it, the " trace of POP session to ..."
buffer contains:

+OK Dovecot ready.
+OK
CAPA
TOP
UIDL
RESP-CODES
PIPELINING
USER
SASL PLAIN
.

which looks alright to me.  I don't know how to debug this.  Any ideas?

Cheers,

--Denys



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bug with pop3/ssl and capabilities
  2011-08-30 20:51 bug with pop3/ssl and capabilities Denys Duchier
@ 2011-09-10 21:32 ` Lars Magne Ingebrigtsen
  2011-09-12 12:32   ` Denys Duchier
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-10 21:32 UTC (permalink / raw)
  To: Denys Duchier; +Cc: ding

Denys Duchier <denys.duchier@univ-orleans.fr> writes:

> I am using gnus (from the git repository) in emacs 24 (from the bzr
> repository).  my mail source is a pop3 server on port 995 (i.e. :stream
> ssl) which supports the CAPA command.  yet, opening the server gets
> stuck unless, in pop3-open-server, I comment out the line:
>
>     :capability-command "CAPA\r\n"
>
> when it is stuck and I ^G out of it, the " trace of POP session to ..."
> buffer contains:
>
> +OK Dovecot ready.
> +OK
> CAPA
> TOP
> UIDL
> RESP-CODES
> PIPELINING
> USER
> SASL PLAIN
> .

Does your Dovecot not include \r on the lines?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bug with pop3/ssl and capabilities
  2011-09-10 21:32 ` Lars Magne Ingebrigtsen
@ 2011-09-12 12:32   ` Denys Duchier
  2011-09-21 18:23     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Denys Duchier @ 2011-09-12 12:32 UTC (permalink / raw)
  To: ding

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Denys Duchier <denys.duchier@univ-orleans.fr> writes:
>
>> I am using gnus (from the git repository) in emacs 24 (from the bzr
>> repository).  my mail source is a pop3 server on port 995 (i.e. :stream
>> ssl) which supports the CAPA command.  yet, opening the server gets
>> stuck unless, in pop3-open-server, I comment out the line:
>>
>>     :capability-command "CAPA\r\n"
>>
>> when it is stuck and I ^G out of it, the " trace of POP session to ..."
>> buffer contains:
>>
>> +OK Dovecot ready.
>> +OK
>> CAPA
>> TOP
>> UIDL
>> RESP-CODES
>> PIPELINING
>> USER
>> SASL PLAIN
>> .
>
> Does your Dovecot not include \r on the lines?

it does. however, looking at the code again, I realized that it is in
fact:

	     :end-of-command "^\\(-ERR\\|+OK \\).*\n"

which must be replaced by:

	     :end-of-command "^\\(-ERR\\|+OK\\).*\n"

I tried it, and it worked with capabilities back on.

Cheers,

--Denys



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bug with pop3/ssl and capabilities
  2011-09-12 12:32   ` Denys Duchier
@ 2011-09-21 18:23     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-21 18:23 UTC (permalink / raw)
  To: Denys Duchier; +Cc: ding

Denys Duchier <denys.duchier@univ-orleans.fr> writes:

> it does. however, looking at the code again, I realized that it is in
> fact:
>
> 	     :end-of-command "^\\(-ERR\\|+OK \\).*\n"
>
> which must be replaced by:
>
> 	     :end-of-command "^\\(-ERR\\|+OK\\).*\n"
>
> I tried it, and it worked with capabilities back on.

Thanks; I've now applied this to No Gnus.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-21 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-30 20:51 bug with pop3/ssl and capabilities Denys Duchier
2011-09-10 21:32 ` Lars Magne Ingebrigtsen
2011-09-12 12:32   ` Denys Duchier
2011-09-21 18:23     ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).