[Dovecot] NULL for password and proxy fields
Timo Sirainen
tss at iki.fi
Sun Feb 3 22:21:25 EET 2008
On Sun, 2008-02-03 at 12:03 -0800, WJCarpenter wrote:
> http://wiki.dovecot.org/PasswordDatabase/ExtraFields/Proxy
>
> 1. 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.
> 2. 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080203/006d5fc8/attachment.bin
More information about the dovecot
mailing list