'doveadm expunge' with -A and userdb { driver = passwd }

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Sep 1 06:37:34 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 31 Aug 2015, Grant wrote:

> doveadm search -A mailbox INBOX.Trash savedbefore 30d
>
> but I'm told not to:
>
> "If the -A option is present, the command will be performed for all
> users. Using this option in combination with system users from userdb
> { driver = passwd } is not recommended, because it contains also users
> with a lower UID than the one configured with the first_valid_uid
> setting."
>
> I'm using userdb { driver = passwd-file } but I'm guessing that's the
> same thing.  Am I understanding this correctly?

Which passwd-file do you use? Does this file contains any users, which uid 
is lower than first_valid_uid?

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVeVHrnz1H7kL/d9rAQIQlAf/XDInanijWJPkwLTGsoIE4ibxLAJx98Zr
KCOKTImdYfKE7M3DW6RhSiGod5j4nckbJnEjT9wBF1rRltJq/UO2yZfdhVu4Hj9X
py/AMw9d3h1wd4grwl1ciSDXcI2e8Z9sdpwKn/Gwn45jLb/6pEQPFFmU8S5p0nv9
fTMOs6NNBD1G7vQdZyu4Z6qbXeLtiBq1XTwzBeQ3dysSeOBfpzApVlCjr2CYbrdR
g7nshg/LBA8ZFD2Jd4r71kyFVRkxDcc03/C0StamSF+ay4tYc8VXo31NknqCcCuM
+3fzufyQ9S+rFumpEp20XQjkyjFMBsWbpP3ebLsnVPGrIPhQpBy2Dg==
=NyT3
-----END PGP SIGNATURE-----


More information about the dovecot mailing list