I found solution with one password_query
password_query = SELECT password FROM mail_users WHERE email = '%u' AND
(('%Ls' = 'smtp' AND postfix = 'Y') OR ('%Ls' = 'pop3' AND access = 'Y') OR
('%Ls' = 'imap' AND access = 'Y'))
Others interesting dovecot variables: http://wiki2.dovecot.org/Variables
Hello,
I use dovecot + postfix with postfix sasl authentication by dovecot auth
service. I have one question. Is it possible to have separate password_query
only for auth service.
I have two fields in database, one permits login to imap pop, second I want
to use to permit login to smtp.
Please e