On Wed, 2011-11-16 at 15:54 +0100, Bambero wrote: > >> Error: userdb lookup: connect(/var/dovecot/auth-userdb) failed: No > >> such file or directory > > > > This is done because you used %%h, to look up home directory from > > userdb. If you don't use %%h, it's not done. > > > > Thanks but my db backend returns home dir in chroot like > /[email protected] > > while the realpath with no chroot is: > /var/mail/[email protected] > > So both locations in this case are the same > location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u > location = maildir:/%%u/Maildir:INDEX=~/Maildir/shared/%%u
Yes, they are the same, but the difference is that with the second one you shouldn't fail with the userdb lookup error. Right?
