Hello,

1. Considering a user_query similar to this one:

        SELECT ... FROM ... WHERE CASE '%s' WHEN 'lmtp' THEN ...

and issuing following command:

        doveadm user -x service=lmtp someu...@example.com

the log shows:

        SELECT ... FROM ... WHERE CASE 'doveadm' WHEN 'lmtp' THEN ...

and the query of course fails.

The same config with Dovecot 2.1.16 yields expected results.

2. This is more a question.

Issuing above command first writes this to the log:

        prefetch(someu...@example.com): passdb didn't return userdb entries, 
trying the next userdb

Is there really an attempt to make use of the prefetch database?
If yes, under which circumstances could it succeed?

TIA,
Axel

Reply via email to