Re: [Dovecot] LDA and POP3/IMAP user_query

2010-01-19 Thread Kirill Miazine
* Michael [2010-01-20 10:02]: [...] > As long as the query can be different for LDA vs. POP3/Imap is good for > me thanks. > > Having said that if there is no reason not to make it a configurable > option for LDA vs. POP3 vs. Imap may as well go the full way? Just of curiosity, have you tried r

Re: [Dovecot] LDA and POP3/IMAP user_query

2010-01-19 Thread Michael
On Wed, 20 Jan 2010 01:49:26 you wrote: > On Fri, 2010-01-15 at 12:12 +1300, Michael wrote: > > How do I get IMAP+POP3 vs. LDA to use different user_query statements? > > Like Kirill said, you can use %s for it. But sure, it'll make the query > bigger and uglier. Hopefully I'll manage to make v2.0

Re: [Dovecot] LDA and POP3/IMAP user_query

2010-01-19 Thread Timo Sirainen
On Fri, 2010-01-15 at 12:12 +1300, Michael wrote: > How do I get IMAP+POP3 vs. LDA to use different user_query statements? Like Kirill said, you can use %s for it. But sure, it'll make the query bigger and uglier. Hopefully I'll manage to make v2.0 support something like: protocol lda { userdb

Re: [Dovecot] LDA and POP3/IMAP user_query

2010-01-14 Thread Kirill Miazine
* Michael [2010-01-15 12:12]: How do I get IMAP+POP3 vs. LDA to use different user_query statements? The problem is that the input fields are different. I don't understand what you mean. IMAP/POP3 is an email address LDA is a username Again, sorry, but I don't understand what you mean.

[Dovecot] LDA and POP3/IMAP user_query

2010-01-14 Thread Michael
How do I get IMAP+POP3 vs. LDA to use different user_query statements? The problem is that the input fields are different. IMAP/POP3 is an email address LDA is a username I have written a long statement to try and cater for both however it still only works 99% of the time, and the remaining 1%