murder frontend CAPABILITY check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I recognized that IDLE was not working as expected on our murder setup. We've
two frontends, 3 backends and a dedicated mupdate server, all running 2.3.13.
idled is active on the backends.

I did some strace'ing on front- and backends and as far as I can tell, the
frontends do not proxy the IDLE command to the backends, because the frontends
think the backends are not CAPAable to do IDLE.

I searched the source and it seems that there is a problem with the capability
check the frontends do on the backends.

On one hand cyrus announces CAPABILITY in the greeting banner. But
CAPA_PREAUTH doesn't contain all of the caps the frontend wants to know. eg.
IDLE, MULTIAPPEND, RIGHTS and LIST-SUBSCRIBED.

On the other hand, the frontend is told by the protocol definition in
imap_proxy.c:107, that it should exclusively check the banner in backend.c:400
for the CAPS, which doesn't contain the needed info in pre_auth state.

Am I right, that either
capa_response(CAPA_PREAUTH);
should return the needed caps for the frontends, too, or the frontends
should'nt believe blindly in the banner capabilites?

Regards, Wolfgang Breyha
-- 
Wolfgang Breyha <wbreyha@xxxxxxx> | http://www.blafasel.at/
Vienna University Computer Center | Austria

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux