3 Feb
2008
3 Feb
'08
10:21 p.m.
On Sun, 2008-02-03 at 12:03 -0800, WJCarpenter wrote:
http://wiki.dovecot.org/PasswordDatabase/ExtraFields/Proxy
- The wiki page says about password forwarding, "Make sure that the authentication succeeds with any given password. You can do this by using empty passwords." I didn't know exactly now to interpret that last part, so I tried returning NULL as the value of the "password" field for proxy cases. That seems to make dovecot skip the password check will forwarding the user-submitted password to the proxy target host. Is that the intent of that part of that wiki page?
I think '' would work as well as NULL, but NULL is better.
- It looks like any value at all for the "proxy" field in the passdb lookup turns proxying on. The one exception is a value of NULL for "proxy", in which case proxying is not turned on and proxy-related other fields are ignored. Is that how it's intended to work?
Yes. It might change in some future release, but currently I'm not planning on changing it. 'Y' would anyway be a future-safe choice.