At 01:10 PM 12/9/2009, Timo Sirainen wrote:
On Wed, 2009-12-09 at 13:05 -0800, Richard Stockton wrote:
> I just tried: concat('mail/', home) as userdb_home

Was it really 'mail/', not '/mail/'? I forgot those / characters above..

Yes, I figured the "maildir:~/" was putting in the first "/".

> If I try: concat('maildir:/mail/', home) as userdb_mail
> (leaving the old config mail_location = maildir:/mail/:INDEX=MEMORY)
>
> I get the same squirrelmail error and this in dovecot-info.log
> Dec  9 12:49:13 webmail02 dovecot: Fatal: Mailbox indexes in
> /mail/r/l/rls/Maildir/ are in NFS mount. You must set
> mail_nfs_index=yes (and mail_nfs_storage=yes) to avoid index
> corruptions. If you're sure this check was wrong, set nfs_check=no.
>
> which I assume is due to there being no "INDEX=MEMORY" anywhere.

Right, you should have added that to the concat() also. The point of
userdb_mail is that it completely overrides mail_location setting's
value.

Hey!  I think I got it!
concat('maildir:/mail/', home, ':INDEX=MEMORY') as userdb_mail,
seems to do the trick, and should be compatible with 1.2.x, right?

Next step, update to 1.2...  Anything else I should be watching out for?

Thanks for sticking with me through all this, I really appreciate it.
 - Richard

Reply via email to