[Dovecot] user/domain-dependent autosubscribe ?
Timo Sirainen
tss at iki.fi
Fri Sep 3 17:29:51 EEST 2010
On Fri, 2010-09-03 at 11:00 +0200, Per Jessen wrote:
> I've got autosubscribe working very well, but I need to make it
> dependent on the domain - e.g. domain example.com will have folders
> (a,b,c), while domain example2.com will have (d,e,f). Any hints on how
> to achieve that?
What userdb do you use? If for example SQL, you can override plugin
fields by simply returning them, like:
user_query = select \
autocreate.box1 as autocreate1, \
autocreate.box2 as autocreate2, etc
from autocreate, users
where table joins etc.
More information about the dovecot
mailing list