[Dovecot] Confusion when trying to set up a first postfix+dovecot mailserver
Thomas Leuxner
tlx at leuxner.net
Sat Jul 21 22:00:28 EEST 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://dovecot.org/pipermail/dovecot/attachments/20120721/b73f375c/attachment-0004.bin>
More information about the dovecot
mailing list