[Dovecot] More AFS maildir debugging

Aaron Solochek aarons-dovecot at aberrant.org
Tue Jan 23 11:56:25 UTC 2007


Timo Sirainen wrote:
> On Mon, 2007-01-22 at 20:24 -0500, Aaron Solochek wrote:
>   
>>> So there's something weird which causes newly created files to be
>>> broken. Does it work if you append :INDEX=MEMORY to mail_location? What
>>> about if you add :INDEX=/tmp/dovecot-%u or something so that the indexes
>>> aren't in AFS?
>>>
>>>       
>> Both modifications fix the index problem on rc18.  However, a new problem I'm
>> noticing now with thunderbird is that subscriptions are not persistent.  It
>> seems whenever thunderbird connects to dovecot, it gets an empty subscription
>> list.  Any advice on how to fix this?
>>     
>
> Does the subscription file contain anything? Or does Thunderbird just
> break it by subscribing mailboxes?
>
> Anyway, I can think of two possibilities: pread() is broken, or link()
> is broken. Try if dotlock_use_excl=yes helps? If not, try removing
> HAVE_PREAD from config.h and recompiling.
>   

It looks like setting that config option solved the subscription
problem.  So, in summary, to put the maildir in AFS you need to keep the
indexes on the local disk (or memory) disable mmap and any hardlinks,
use dotlocks, and set the dotlock_use_excl=yes option. 

Now I can start testing dovecot with a couple users so I can hopefully
replace bincimap. 

Thank you!

-Aaron


More information about the dovecot mailing list