redis dict auth and default_fields

brd barraudu at tiscali.it
Thu Nov 20 09:38:53 UTC 2014


Hi all,
i'm trying to configure default_fields with redis dict (allow_nets,
proxy, ...) but it seems that the properties defined are not used even if they
appear on output of doveconf. It is a known behaviour? Does
default_fields works only for ldap db?

I have a director+NFS environment and with dict passdb i'have to put proxy=y
for every entry in pass/userdb; to limit the redis memory footprint it
should be cool if the proxy=y can be configured as a default_field. It
is a limit of using dict for pass/userdb cause using SQL you can manage
it as a SELECT fixed field, using LDAP you can manage with
default_fields but with dict you are forced to put all inside the db
entries.

doveconf output:

[...]
passdb {
  args = /etc/dovecot/dovecot-dict-auth.conf.ext
  default_fields = proxy=y
  driver = dict
}
[...]

Regards
-brd


More information about the dovecot mailing list