director_username_hash = %d and doveadm director map

Ralf Becker rb at egroupware.org
Mon Nov 23 16:15:07 EET 2020


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    hash    mail server ip expire time
<unknown> 432784257 10.44.88.1   2020-11-23 13:10:55
<unknown> 4244233328 10.44.88.1   2020-11-23 13:13:55
<unknown> 1913982503 10.44.88.1   2020-11-23 13:15:40

How can I check to which backend / IP a domain is maped, aka how is that 
hash calculated?

doveadm director move seems also not to do anything meaningful for %d, 
or at least I have not found out how to use it to move a domain to a 
different backend.

Hoping for some insight :)

Ralf

-- 
Ralf Becker
EGroupware GmbH [www.egroupware.org]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 631 31657-0




More information about the dovecot mailing list