[Dovecot] Semi-static userdb...?

John Robinson john.robinson at anonymous.org.uk
Fri Apr 20 16:00:15 EEST 2007


I'm trying to add "virtual" mailboxes to a system. Real users with 
different uids own domains. Each domain has a passwd-file passdb. I 
don't want to use this passwd-file for the userdb, because I want to fix 
the home, mail and uid/gid settings. Can I use the static userdb in a 
less static manner, e.g.

userdb static {
   args = uid=%{owner of /vmail/%d} gid=%{gid of /vmail/%d} 
home=/vmail/%d/users/%u 
mail=mbox:/vmail/%d/users/%u/mail:INBOX=/vmail/%d/users/%u/INBOX
}

Or is it just a bad idea to let relatively untrusted domain owners 
manage their own passwd-file at all...?

Cheers,

John.



More information about the dovecot mailing list