[Dovecot] Virtual and system users with public mailboxes

Kendall Shaw
Wed, 16 Mar 2011 18:54:55 -0000

Hi,

I am running dovecot 1.2.9 and postfix, and I am trying to setup a public
mailbox. My thought is that there would be one system user with a sieve script
to deliver messages to the public mailbox. And, I would like to give virtual
users access to the mailbox.

On this list, I read how you can have both system and virtual users by using
passdb and static userdbs. But, I don't understand how this can be combined
with namespaces, where I specify the location.

For all virtual users I had:

mail_location = maildir:/var/somewhere/%u/maildir/

I think I need that for virtual users and:

maildir:~/Maildir

for the system users.

namespace private {
  location = ? # how do I have the location be different for system and virtual
users?
}
namespace public {
  location = ? # ditto (for the index)?
}

Kendall