7 Apr
2026
7 Apr
'26
8:26 a.m.
On 03/04/2026 22:36 EEST Johannes Nohl via dovecot <dovecot@dovecot.org> wrote:
Bug report: Expanding variables with filter
defaultin LDAP context does not suppress error logging if LDAP attribute is missing.Expected behaviour: Missing LDAP attribute does not throw an error. Example
nologin = %{ldap:missingAttribute | default}Details:
Hi!
We actually have a test for this, that tests this exact thing you are seeing, so I am bit wondering how this can happen. This test has been here since 2.4.0, and it passes with 2.4 all the time.
I even copypasted your passdb block as-is and I can't get error you're seeing, so there is something else going on. Can you please send me your full doveconf so I can test it properly?
Aki