[Dovecot] AutoCreate per Domain

Darvin Denmian darvin.denmian at gmail.com
Fri Aug 7 01:34:59 EEST 2009


Hello again,

God don't want that this solution work for me :(

I updated "user_query" to:

user_query = SELECT maildir, 1001 AS uid, 1001 AS gid , \
 'Clients' AS autocreate, mail_plugins \
 FROM mailbox WHERE username = '%u' AND active='1'

And still don't work.

Thank Timo for your update

On Thu, Aug 6, 2009 at 7:06 PM, Timo Sirainen<tss at iki.fi> wrote:
> 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