[Dovecot] Capability problems dovecot 2.0

ja nein
Tue, 26 May 2009 11:20:40 -0000

Hi,

I had some problems connecting TB 2.x with dovecot 2.0. TB2 complained about not
being an IMAP4 server. TB 3 worked.
It seems that dovecot 2.0 doesn't return capabilities when queried. Maybe
some wrong config, thoug?


Here are the debug logs from TB2 comparing dovecot 2.0 (not working) and dovecot
1.2 (working):

Dovecot 2.0:

NA:CreateNewLineFromSocket: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR
LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5]
Dovecot ready.

NA:SendData: 1 capability

ReadNextLine [stream=26c2d60 nb=15 needmore=0]
NA:CreateNewLineFromSocket: * CAPABILITY

ReadNextLine [stream=26c2d60 nb=28 needmore=0]
NA:CreateNewLineFromSocket: 1 OK Capability completed.

ProcessCurrentURL: aborting queued urls
NA:SendData: 2 logout

Dovecot 1.2:

NA:CreateNewLineFromSocket: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR
LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5]
Dovecot ready.

NA:SendData: 1 capability

ReadNextLine [stream=27dcf50 nb=303 needmore=0]
NA:CreateNewLineFromSocket: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR
LOGIN-REFERRALS ID ENABLE SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND
UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE
QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH QUOTA AUTH=PLAIN
AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5

ReadNextLine [stream=27dcf50 nb=28 needmore=0]
NA:CreateNewLineFromSocket: 1 OK Capability completed.

NA:SendData: 2 authenticate plain

ReadNextLine [stream=27dcf50 nb=4 needmore=0]
NA:CreateNewLineFromSocket: +

NA:SendData: Logging suppressed for this command (it probably contained
authentication information)
ReadNextLine [stream=27dcf50 nb=266 needmore=0]
NA:CreateNewLineFromSocket: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR
LOGIN-REFERRALS ID ENABLE SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND
UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE
QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH QUOTA] Logged in

A:SendData: 3 namespace

And all goes well...

TB3 seems to be fine without extra capability stuff.

Regards,
Sebastian