On 07.07.2017 10:33, mj wrote: > We received no replies to this email that we sent a few days ago. > We're not sure why. If we miss something that is obvious to everybody, > kindly point it out. > We ẃould like to get iteration working, to be able to mass-delete > specific emails from all mailboxes, in case of for example received > virusses... > > Here is my question again: > > Hi, > > User iteration doesn't work, we're getting: >> auth: Error: Trying to iterate users, but userdbs don't support it > > The way I understand it, I need to set iterate_attrs and > iterate_filter for iteration to work. I have set it (see configs > below) and yet dovecot says "userdbs don't support it". What else do I > need to do to enable it? > > Our config is against samba Active Directory ldap and generally works > fine. Can anyone here take a quick look at the configs below, and tell > me how to make > doveadm user -u "*" > work? > > Below are our configs. Any tips would be appreciated...! > > MJ > >> userdb { >> args = uid=vmail gid=vmail home=/var/vmail/%n allow_all_users=yes >> driver = static >> }
This needs to use driver = ldap, static userdb's are not iteratable. Aki