On Mon, 2012-03-05 at 18:01 -0800, Joseph Tam wrote: > On Sun, 4 Mar 2012, Timo Sirainen writes: > > > > I would like to run various doveadm commands that involves all (mail) > > > users like > > > > > > doveadm expunge -A mailbox Trash savedbefore 30d > > > > > > but any doveadm command that uses "-A" to iterate through all users will > > > stop processing at the first account with UID<first_valid_uid. > > > > What userdb are you using? userdb passwd should already skip users that > > aren't in the valid range. And what Dovecot version are you using? > > passwd-file under dovecot 2.0.16.
Ah. The skipping only works in v2.1. Also you mean you're using passwd-file for /etc/passwd? You shouldn't really be doing that.