Hi,

dovecot-core/1:2.2.13-12~deb8u2 with a dict-based userdb or passdb no
longer interprets placeholders like %u in the keys even once.

The referenced commit claims to prevent double-parsing in a situation
like this:


username: fo...@example.com
config file: 

```
key userdb {
  key = userdb/%u
  format = json
}
```

result: userdb/foo...@example.com@example.com

Instead, it claims the result should be userdb/fo...@example.com

What I'm seeing is that the key actually becomes userdb/%u

I'm using the UNIX socket "proxy" protocol listed here: https://wiki2.d
ovecot.org/AuthDatabase/Dict


Similar issues with the passdb, which is similarly configured.

In 1:2.2.13-12~deb8u1, the proxy receives lines like:
"Lshared/passdb/foo.default.urgs.uk0.bigv.io"
In 1:2.2.13-12~deb8u2, the proxy receives lines like:
"Lshared/passdb/%u"

This comes up with the symbiosis integration to dovecot; I've got a
GitHub issue open with them here: https://github.com/BytemarkHosting/sy
mbiosis/issues/13 - I'm having trouble believing that dovecot-core
master's functionality is broken here, although I guess it's possible.
Their examples and wiki still show the "%u" syntax.

Regards,

Nick Thomas

Reply via email to