Re: [Dovecot] AutoCreate per Domain

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 14:49 -0300, Darvin Denmian wrote: > user_query = SELECT maildir, 1001 AS uid, 1001 AS gid , \ > 'Clients2' AS autocreate , mail_plugins\ > FROM mailbox WHERE username = '%u' AND active='1' > > > Clients1 is sucessfuly created > > Clients2 isn't created :( Then it sounds

Re: [Dovecot] AutoCreate per Domain

2009-08-07 Thread Darvin Denmian
@dovecot.conf mail_plugins = autocreate plugin { autocreate = Clients1 } @dovecot-sql.conf user_query = SELECT maildir, 1001 AS uid, 1001 AS gid , \ 'Clients2' AS autocreate , mail_plugins\ FROM mailbox WHERE username = '%u' AND active='1' Clients1 is sucessfuly created Clients2 is

Re: [Dovecot] AutoCreate per Domain

2009-08-06 Thread Timo Sirainen
On Aug 6, 2009, at 6:34 PM, Darvin Denmian wrote: 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 s

Re: [Dovecot] AutoCreate per Domain

2009-08-06 Thread Darvin Denmian
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 Th

Re: [Dovecot] AutoCreate per Domain

2009-08-06 Thread Timo Sirainen
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

Re: [Dovecot] AutoCreate per Domain

2009-08-06 Thread Darvin Denmian
Hello, 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' Timo -> How I could apply your idea to

Re: [Dovecot] AutoCreate per Domain

2009-08-06 Thread Darvin Denmian
Hello, unfortunaly I still don't have this working :( Timo -> How I could apply your idea to solve my problem? Could you give me one more help with this "problem" ? Thanks On Thu, Jul 30, 2009 at 2:22 PM, Timo Sirainen wrote: > On Thu, 2009-07-30 at 02:30 -0300, Darvin Denmian wrote: >> Hello,

Re: [Dovecot] AutoCreate per Domain

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 02:30 -0300, Darvin Denmian wrote: > Hello, > > is there a way to configure plugin "autocreate" per domain? Like: > > For domain xwz.com i want to autocreate folders: Models and Clients > For domain yxw.com i want to autocreate folders: Adm and Tech You can return the autoc

Re: [Dovecot] AutoCreate per Domain

2009-07-30 Thread Robert Schetterer
Darvin Denmian schrieb: > Thanks Robert, > > i will try this solution !!! maybe i can be done via a global sieve rule too ask the sieve gurus if that might work > > On Thu, Jul 30, 2009 at 11:44 AM, Robert > Schetterer wrote: >> Darvin Denmian schrieb: >>> Any idea? >>> >>> On Thu, Jul 30, 2009

Re: [Dovecot] AutoCreate per Domain

2009-07-30 Thread Robert Schetterer
Darvin Denmian schrieb: > Any idea? > > On Thu, Jul 30, 2009 at 2:30 AM, Darvin Denmian > wrote: >> Hello, >> >> is there a way to configure plugin "autocreate" per domain? Like: >> >> For domain xwz.com i want to autocreate folders: Models and Clients >> For domain yxw.com i want to autocreate f

Re: [Dovecot] AutoCreate per Domain

2009-07-30 Thread Darvin Denmian
Any idea? On Thu, Jul 30, 2009 at 2:30 AM, Darvin Denmian wrote: > Hello, > > is there a way to configure plugin "autocreate" per domain? Like: > > For domain xwz.com i want to autocreate folders: Models and Clients > For domain yxw.com i want to autocreate folders: Adm and Tech > > Thanks. >

[Dovecot] AutoCreate per Domain

2009-07-29 Thread Darvin Denmian
Hello, is there a way to configure plugin "autocreate" per domain? Like: For domain xwz.com i want to autocreate folders: Models and Clients For domain yxw.com i want to autocreate folders: Adm and Tech Thanks.