[Dovecot] AutoCreate per Domain

Timo Sirainen tss at iki.fi
Fri Aug 7 01:06:04 EEST 2009


On Aug 6, 2009, at 6:02 PM, Darvin Denmian wrote:

> unfortunaly I still don't have this working :(
> Bellow what I was trying to use without sucess:
>
> user_query = SELECT maildir, 1001 AS uid, 1001 AS gid , 'autocreate =
> Clients' AS plugin, mail_plugins \
> FROM mailbox WHERE username = '%u' AND active='1'

You need to return autocreate field containing the mailboxes you want  
created. I guess you're trying to do:

user_query = select .., 'Clients' as autocreate, ..



More information about the dovecot mailing list