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
On Tue, 21 Mar 2006 11:40:05 -0500 (EST) Bertrand Leboeuf <leboeuf@emt.inrs.ca> wrote:
Any clues
Rename .subscriptions to subscriptions
--
Brian Morrison
Bertrand Leboeuf wrote:
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)
Ah, NFS bites again :)
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
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:
Bertrand Leboeuf wrote:
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)
Ah, NFS bites again :)
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.
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
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.
Timo Sirainen wrote:
On Wed, 2006-03-22 at 09:40 +1100, Curtis Maloney wrote:
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.
Yeah... not long after I posted this someone made a post which reminded me of the CONTROL option, which I immediately realised was more appropriate.
-- Curtis Maloney cmaloney@cardgate.net
participants (3)
-
Bertrand Leboeuf
-
Curtis Maloney
-
Timo Sirainen