Re: [Dovecot] Dovecot 1.0 beta3 and SUBSCRIBE
Thanks but for mbox it is ".subscriptions", "subscriptions" is for maildir, but I found the BUG !!!
~/mail/.subscriptions is on an NFS mounted filesystem, it keeps on getting deleted... does not like NFS (the files are renamed .nfsXXXXX when deleted)
if I patch the code to get it on a local filesystem, like my indexes (in storage->index_dir instead of storage->dir): /var/indexes/%u/.subscriptions
then it stays alive and work.
Bertrand
Bertrand Leboeuf wrote:
Ah, NFS bites again :)
So previously the 'subscriptions' file was not kept with the indexes? It's understandable, but your patch should help those of us (myself and Mark Lidstone, to name two:) who want shared folders with individual subscription files.
then it stays alive and work.
Perhaps this could be made a config option... Timo?
-- Curtis Maloney cmaloney@cardgate.net
On Wed, 2006-03-22 at 09:40 +1100, Curtis Maloney wrote:
Umm. Last I tried, it worked fine with NFS.. It's updated by creating first a temp file and them rename()ing it over the original file. Unless you're using 0.99.x, then it's done differently I think.
That also means then that if you're running Dovecot in multiple servers, the subscription file isn't kept in sync between them.
then it stays alive and work.
Perhaps this could be made a config option... Timo?
With maildir it should perhaps be in controldir, but with mboxes it really doesn't belong to indexes, because it's kind of important data that shouldn't be lost. Maybe I should add controldir setting to mboxes too.
participants (3)
-
Bertrand Leboeuf
-
Curtis Maloney
-
Timo Sirainen