doveadm search -A tries to create mailboxes

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Thu Jan 7 07:22:27 UTC 2016


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

On Wed, 6 Jan 2016, Bill Shirley wrote:

> The man page doesn't mention that 'search' updates anything.

SEARCH has to open the Maildir. Dovecot has the feature to create 
mailboxes on the fly on access, not only on write accesses. If Dovecot 
wouldn't, you would get lots of "Invalid Mailbox" errors, because -A 
enumerates users, you want to skip.

Actually, if you cannot limit -A with Timo's hints, you might try to 
override the userdb setting via -o command line options with a 
passwd-file, in which you list only "valid" users.

> BTW, now I have:
> /var/cache/akmods/Maildir/.Trash

you probably have autocreate for Trash? But you will see Maildir for all 
users anyway.

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

iQEVAwUBVo4SM3z1H7kL/d9rAQJtRwgAiCprUdix0RuNeeET9eL/LiKhJi2bc8nV
tX4VXXzCmFnhq8NkWnEOj24aFVeHNxPMXqdbDdIiEQ5zecGQhDxF02VYwTSkOdme
PmSxtf8hHUWUtqx8Lqv99hz6fV+OEHHTG7Q2/ZAUHDLuDTsiARTyntZKCjKwpigb
RHLJxxN8tDdtdb8Re6eN8GybyPgGIaGh+T7+oY30LeGFEO/JuQ+twmp8KxK5Zq8z
Ejjk/m+QrP2uQWRG+xptzIPX10jsCsF1mPNNX/8hXJcWdQ+ohmHFRZMuHntNOTsa
SNNfUuvvXl/tTtn+f25oy6qJEhlOFnj9pLVWQhS/kT+Bw/9GX7cSbA==
=3mLB
-----END PGP SIGNATURE-----


More information about the dovecot mailing list