Subscription not immediately reflected

Timo Sirainen tss at iki.fi
Thu Oct 27 10:07:05 UTC 2016


> On 27 Oct 2016, at 12:55, Timo Sirainen <tss at iki.fi> wrote:
> 
> I can't reproduce this. Can you send your doveconf -n output and also an example IMAP session showing what goes wrong? I tested with Maildir and mdbox, and with and without mailbox_list_index=yes:
> 
> x lsub "" *
> * LSUB () "/" INBOX
> x OK Lsub completed (0.000 + 0.000 secs).
> x subscribe Trash
> x OK Subscribe completed (0.000 + 0.000 secs).
> x lsub "" *
> * LSUB () "/" INBOX
> * LSUB (\Trash) "/" Trash
> x OK Lsub completed (0.000 + 0.000 secs).

Although you could try if the attached patch happens to help? I think you'd then have to be using NFS or some other remote storage where time is >1 seconds different from Dovecot server's time.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 2046 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20161027/684161fc/attachment-0001.obj>
-------------- next part --------------

> 
>> On 26 Oct 2016, at 17:52, John van der Kamp <jkamp at amazon.nl> wrote:
>> 
>> I was able to find some time to debug this more, and I found the change that breaks it was introduced in 2.2.25:
>> If I revert 18856082d632ac60996637547098688148826b5a from release-2.2.25 branch, the test works again.
>> 
>> John
>> 
>> -----Original Message-----
>> From: dovecot [mailto:dovecot-bounces at dovecot.org] On Behalf Of John van der Kamp
>> Sent: Friday, 7 October, 2016 18:00
>> To: dovecot at dovecot.org
>> Subject: Subscription not immediately reflected
>> 
>> Hello,
>> 
>> 
>> I noticed that somewhere between 2.2.22 and 2.2.25 the workings of subscriptions seem to have changed.
>> 
>> In version 2.2.25, when a client subscribes to a folder, and then does an LSUB command, it will not see that subscribed folder.
>> 
>> If you retry the LSUB command, the change is there.
>> 
>> Same with unsubscribes.
>> 
>> In version 2.2.22 I did not see this weird behavior.
>> 
>> 
>> John
>> 



More information about the dovecot mailing list