Re: [Dovecot] APOP and AuthDatabase/SQL

2011-12-20 Thread Timo Sirainen
On 21.12.2011, at 1.08, Peter Smith wrote: > We're running dovecot 1.2.15 and use SQL authentication. We'd like to > be able to support APOP, but can't see how this would fit in with SQL > auth. > > Currently we have: > > password_query = SELECT email as user, password FROM virtual_users > WHERE

[Dovecot] APOP and AuthDatabase/SQL

2011-12-20 Thread Peter Smith
Hi, We're running dovecot 1.2.15 and use SQL authentication. We'd like to be able to support APOP, but can't see how this would fit in with SQL auth. Currently we have: password_query = SELECT email as user, password FROM virtual_users WHERE email='%u' or (email LIKE '%n@%%' AND unhashed='%w')