[Dovecot] Shared folders, please help.!

Timo Sirainen tss at iki.fi
Mon Oct 25 19:13:26 EEST 2010

On Wed, 2010-10-20 at 09:06 +0200, Johan Hendriks wrote:
> > (or really, you should be using home directories to avoid that
> > whole /usr/local/virtual/%u/%n everywhere)
> I have read the the wiki and tried to use the home folder.
> I created a dir /usr/home/virtual/ gave it the right permissions.

My idea was more like:

mail_home = /usr/local/virtual/%d/%n
mail_location = maildir:~/

Even better would be:

mail_location = maildir:~/Maildir

but you'd have to move existing maildirs below the Maildir/ then.

> hans at domain.com: Initialization failed: Namespace '': mkdir(
> home=/usr/home/virtual/domain.com/hans/
> mail=/usr/local/virtual/domain.com/hans) in directory /var/run/dovecot

Above it's trying to create a directory called
mail=/usr/local/virtual/domain.com/hans", which is of course completely

More information about the dovecot mailing list