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.