Re: [Dovecot] CRAM-MD5 and proxy_maybe

2008-11-20 Thread Timo Sirainen
On Wed, 2008-11-19 at 18:01 -0800, David Jonas wrote: > SELECT \ > IF('%l' != host, host, NULL) AS host, \ > IF('%l' != host, 'Y', NULL) AS proxy, \ > IF('%l' != host, 'Y', NULL) AS nodelay, \ > IF('%l' != host, 'Y', NULL) AS nologin, \ > IF('%l' != host, "[EMAIL PROTECTED]

Re: [Dovecot] CRAM-MD5 and proxy_maybe

2008-11-19 Thread David Jonas
Timo Sirainen wrote: > On Nov 19, 2008, at 8:14 PM, David Jonas wrote: > >> When using proxy_maybe CRAM-MD5 authentication fails when the connection >> is proxied. Is this expected behavior? Is proxy_maybe too simplified for >> this case? > > Fails how? > >> We're using SQL so I could rewrite the q

Re: [Dovecot] CRAM-MD5 and proxy_maybe

2008-11-19 Thread Timo Sirainen
On Nov 19, 2008, at 8:14 PM, David Jonas wrote: When using proxy_maybe CRAM-MD5 authentication fails when the connection is proxied. Is this expected behavior? Is proxy_maybe too simplified for this case? Fails how? We're using SQL so I could rewrite the query with IFs to fake proxy_mayb

[Dovecot] CRAM-MD5 and proxy_maybe

2008-11-19 Thread David Jonas
When using proxy_maybe CRAM-MD5 authentication fails when the connection is proxied. Is this expected behavior? Is proxy_maybe too simplified for this case? We're using SQL so I could rewrite the query with IFs to fake proxy_maybe and return the password as NULL and nologin as Y, but if it works t