On 4.5.2010, at 2.00, Alex wrote: > Is it possible to setup in dovecot-sql.conf file to run user_query > twice if its first run didn't yield any values. You can have two userdbs pointing to two separate dovecot-sql.conf files with different user_queries.