Re: director_username_hash = %d and doveadm director map

2020-11-30 Thread Ralf Becker
Hi Timo, it's a long time :) Am 30.11.20 um 15:07 schrieb Timo Sirainen: On 29. Nov 2020, at 16.10, Ralf Becker > wrote: To answer my question I was able to identify the director code on Github and the hashes are the first 4 byte of the binary md5 written as a 32

Re: director_username_hash = %d and doveadm director map

2020-11-30 Thread Timo Sirainen
On 29. Nov 2020, at 16.10, Ralf Becker wrote: > > To answer my question I was able to identify the director code on Github and > the hashes are the first 4 byte of the binary md5 written as a 32 bit integer. > > With that I was able to write a script that runs doveadm director map, > queries a

Re: director_username_hash = %d and doveadm director map

2020-11-30 Thread Ralf Becker
Am 29.11.20 um 22:09 schrieb Aki Tuomi: Did you try `doveadm director flush`? Yes, thought together with (different) tags it gives this wired behavior. I use doveadm director flush all the time to get connections to the other backend of one pair. Ralf On 29/11/2020 17:10 Ralf Becker wro

Re: director_username_hash = %d and doveadm director map

2020-11-29 Thread Aki Tuomi
Did you try `doveadm director flush`? Aki > On 29/11/2020 17:10 Ralf Becker wrote: > > > To answer my question I was able to identify the director code on Github > and the hashes are the first 4 byte of the binary md5 written as a 32 > bit integer. > > With that I was able to write a scri

Re: director_username_hash = %d and doveadm director map

2020-11-29 Thread Ralf Becker
To answer my question I was able to identify the director code on Github and the hashes are the first 4 byte of the binary md5 written as a 32 bit integer. With that I was able to write a script that runs doveadm director map, queries all domains from our internal management, calculates the ha

director_username_hash = %d and doveadm director map

2020-11-23 Thread Ralf Becker
Our directors hash by domain (director_username_hash = %d), as some of our users share folders with other users of the same domain. We now started using director tags to map domains to their backends. Unfortunately doveadm director map seems no to work with director_username_hash = %d user