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 -- View this message in context: http://dovecot.2317879.n4.nabble.com/more-than-one-password-query-tp39282p39286.html Sent from the Dovecot mailing list archive at Nabble.com.
