[Dovecot] last hope... public namespace and directory structure

Daniel Fischer zimmys76 at web.de
Thu Jun 28 10:41:15 EEST 2012

Hello Timo,

Thanks for your reply. I have the dovewiki a little bit misunderstod.

"Public mailboxes are typically mailboxes that are visible to all users or to large user groups. They are created by defining a public namespace, under which all the shared mailboxes are"


-----Ursprüngliche Nachricht-----
Von: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] Im Auftrag von Timo Sirainen
Gesendet: Donnerstag, 28. Juni 2012 08:58
An: Daniel Fischer
Cc: dovecot at dovecot.org
Betreff: Re: [Dovecot] last hope... public namespace and directory structure

On Wed, 2012-06-27 at 09:53 +0200, Daniel Fischer wrote:
> The file passwd for those 3 samples looks like this:
> sales@$DOMAIN::5000:5000::/var/mail/vhosts/$DOMAIN/public/.sales
> service@$DOMAIN::5000:5000::/var/mail/vhosts/$DOMAIN/public/.service
> purchase@$DOMAIN::5000:5000::/var/mail/vhosts/$DOMAIN/public/.purchase
> Note: All other users have mail_location /var/mail/vhosts/%d/%n
> Now a have the following problem: If  I login in as user sales and 
> create a folder foo and in there a folder bar.

It can't work like that. You need to have all of the these homes to be /var/mail/vhosts/$DOMAIN/public if you want them to be able to create any new folders. Then if needed add ACLs to the users. For delivering mails to these users you could set up a Sieve script to do it, or maybe something else..

More information about the dovecot mailing list