Can you "doveadm search" with mailbox location instead of a user (-u option)?
Christian Rohmann
crohmann at netcologne.de
Tue Feb 2 10:52:37 UTC 2016
On 01/29/2016 03:41 PM, Timo Sirainen wrote:
> You can use:
>
> doveadm -o mail=maildir:/srv/mailboxes/example.com/mailbox123 search new
>
> You don't actually have to use the -u parameter, although doveadm may be using the wrong UID/GID/home then.
Awesome. Maybe the usage output
# /opt/dovecot/bin/doveadm search
doveadm search [-u <user>|-A] [-S <socket_path>] <search query>
should then not tell the user that "-u" needs to be given or better
explain that "-o mail=" is also a valid way to define which mailbox.
Thanks again Timo for one versatile piece of good software!
Christian
More information about the dovecot
mailing list