[Dovecot] Migrating to Maildir -> path
Hello,
I'm in the process of migrating to Maildir, and I wondered what would be an acceptable path. I want to do virtual-accounts only, so $HOME/Maildir/ is not an option.
I was thinking of /some/path/username@domain.tld/Maildir/ and later perhaps /some/path/(firstletter)/username@domain.tld/Maildir/
but perhaps Maildir/ is a bit too redundant here....
Anyone who could advice ?
Many thanks,
Wouter
Hi Wouter,
We do this already, whereby mail is stored like, for user@domain.com, in /some/path/domain.com/user. The paths are stored in a virtual user database in PostgreSQL which Dovecot authenticates against. And yes, /Maildir is redundant, unless you plan on storing any non-mail stuff in the same user directories (e.g. web pages or something.)
Andy.
Wouter de Jong wrote:
Hello,
I'm in the process of migrating to Maildir, and I wondered what would be an acceptable path. I want to do virtual-accounts only, so $HOME/Maildir/ is not an option.
I was thinking of /some/path/username@domain.tld/Maildir/ and later perhaps /some/path/(firstletter)/username@domain.tld/Maildir/
but perhaps Maildir/ is a bit too redundant here....
Anyone who could advice ?
Many thanks,
Wouter
!DSPAM:37,46471c47343946823710742!
On Sun, 2007-05-13 at 15:14 +0100, Andy Shellam wrote:
Hi Wouter,
We do this already, whereby mail is stored like, for user@domain.com, in /some/path/domain.com/user. The paths are stored in a virtual user database in PostgreSQL which Dovecot authenticates against. And yes, /Maildir is redundant, unless you plan on storing any non-mail stuff in the same user directories (e.g. web pages or something.)
It's not necessarily redundant. It's good to have a home directory that isn't the same as the mail directory. See http://wiki.dovecot.org/VirtualUsers#homedirs
participants (3)
-
Andy Shellam
-
Timo Sirainen
-
Wouter de Jong