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

Timo Sirainen tss at iki.fi
Thu Jun 28 09:58:06 EEST 2012


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