On Mon, 12 Sep 2011, Timo Sirainen wrote: > On Sun, 2011-09-11 at 21:50 +0200, Lutz Preßler wrote: > > On Fri, 09 Sep 2011, Lutz Preßler wrote: > > > LIST is now working correctly in my setup, but SUBSCRIBE ist not. > > > With subscriptions=no, as written (but same behaviour with > > > subscriptions=yes), > > > SUBSCRIBE INBOX.gmail.INBOX (or others) yields > > > 0 NO [SERVERBUG] Internal error occurred. Refer to server log for more > > > information. [2011-09-09 16:39:40] > > > logging (with mail_debug=yes) only > > > Sep 9 16:39:40 host dovecot: imap(1143, user): Error: stat((null)) > > > failed: Bad address > > After putting (with subscriptions=no) an entry manually into the root > > subscriptions file, everything including UNSUBSCRIBE works fine. > > Yeah, but then remote subscriptions don't work. I think the imapc > subscription problems and namespace prefix problems are now fixed in hg. Not really. No error on SUBSCRIBE anymore, but it does not work permanently:
0 lsub "" "*" * LSUB () "." "INBOX.test.test2" [... further entries ...] 0 OK Lsub completed. 0 subscribe "INBOX.gmail.[Gmail].Spam" 0 OK Subscribe completed. <--- now subscriptions file includes "gmail.[Gmail]/Spam" 0 lsub "" "*" * LSUB () "." "INBOX.test.test2" [... further entries, but NOT INBOX.gmail.[Gmail].Spam ...] 0 OK Lsub completed. <--- now the "gmail.[Gmail]/Spam" line is gone from subscriptions file again! The same happens with INBOX.gmail.INBOX, so it's not the "[]" characters. I have to test with debugging turned on later. Lutz