New director features

Timo Sirainen tss at
Wed Nov 12 05:11:01 UTC 2014

I implemented a couple of larger director changes today. These could still be changed a bit if somebody has any ideas.

Support for director "tags", which allow creating multiple Dovecot backend groups using a single director ring. So you can mark different backend hosts with @tag names and then have passdb lookup return the wanted tag for each user. Note that because director works using user hashes, two users with the same hash can't be in different backend groups. Use "doveadm director map -u user at domain" to see which hash is used by the user at domain.

Added director_consistent_hashing=yes setting so users don't move around much when backend servers are added/removed. Ideally at some point this setting will be removed and directors will automatically switch to it when all the directors in the ring support it.

More information about the dovecot mailing list