[Dovecot] Postfix Virtual Users and Directory Permissions

Timothy White dovecot.user at weirdo.bur.st
Tue Jul 18 07:07:31 EEST 2006


>
> Now comes Dovecot.  What I would like to do is to have one set of
> credentials for 4 of the domains, and another for the remaining.  I
> would also like to *not* use a database backend for authentication at
> this time and would prefer to stick with standard UNIX /etc/passwd and
> /etc/shadow.
>
> Considering the directories are all owned by one user, does Dovecot need
> to be configured to use the same user as auth_userdb = static?  That
> would make sense.
>
> What I'm not clear on is how Dovecot would know which domains are
> associated with which user, and does the user need permissions to those
> directories or is that handled by impersonation?

I think your going to find, that for virtual domains, you'll need
virtual users... So ether you have 5 passwd files, or you use a
database backend. Using the Unix /etc/passwd is not virtual users, and
you have no way of telling it, which user is which domain.
Do yourself a favour, and use a database backend, otherwise, use a
separate passwd file (hash file?) for each domain.

Seeing as I don't use the flat file's, I can't offer any more help,
but I'm sure the wiki has more info.

Tim
-- 
Linux Counter user #273956
Don't email joeblogs at scouts.org.au


More information about the dovecot mailing list