On Thu, 2010-09-02 at 16:11 +0200, Cor Bosman wrote:
Director doesn't know what users are logged in, only CRC32 of their username. So doveadm first gets a list of all users, adds them to hash table, then gets the list of CRC32s of users from director and maps them to usernames via the hash table. <unknown> means that the user wasn't found from the hash table.
So .. my guess is that doveadm didn't get a full list of usernames. And you probably don't even want it to read those 2 million (or whatever) user records from SQL? :)
Ah ofcourse! cor is in the local password file, while the other login is in the NIS database. That explains it. And we dont allow processes to ask for the whole NIS table :)
Note also the -f parameter. You can get a list of usernames and dump them into a file and use that.