2011/11/23 Timo Sirainen tss@iki.fi:
Actually only the debug message was wrong. The expansion should have worked. Anyway, fixed the debug message: http://hg.dovecot.org/dovecot-2.1/rev/1fed3c1c166e
Still failing: doveadm(root): Error: User listing returned failure doveadm: Error: Failed to iterate through some users
Now "%d" it's empty, it shows "vd=" instead of "vd=%d":
Nov 23 22:50:46 auth-worker(26556): Debug: ldap: iterate: base=vd=,dc=uvq,dc=edu,dc=ar scope=subtree filter=(&(objectClass=VirtualMailAccount)(accountActive=TRUE)) fields=mail Nov 23 22:50:46 auth-worker(26556): Error: ldap(): ldap_search((&(objectClass=VirtualMailAccount)(accountActive=TRUE))) failed: No such object
It is supposed to parse domain part from input in "doveadm search *@domain ..", right?
-- Ramiro Blanco