Am 21.07.2012 um 16:49 schrieb Hans J. Albertsson:
location = maildir:/var/vmail/public:LAYOUT=fs:INDEX=~/public
This namespace is defined for "public/shared" mailboxes <> private mailboxes:
See: http://wiki2.dovecot.org/SharedMailboxes/Public
Basically something different from the setting you appear to be looking for.
User Home directory structure:/var/vmail/<domain>/<user>/
This is indeed the structure used in this example. The mail location is set to:
mail_location = maildir:~/Maildir
In this configuration this translates to the actual location being read from the userdb (dynamically):
[…] args = username_format=%u /var/vmail/auth.d/%d/passwd
[ file: /var/vmail/auth.d/<domain>/passwd ] <user>@<domain>:{SSHA}xxxx:5000:5000::/var/vmail/<domain>/<user>/... […]
While this may not be the easiest configuration example to start with, it is a quite scalable and flexible approach though. You may find more background on this here:
http://wiki2.dovecot.org/MailLocation http://wiki2.dovecot.org/UserDatabase
Regards Thomas