Can you "doveadm search" with mailbox location instead of a user (-u option)?

Christian Rohmann crohmann at netcologne.de
Wed Jan 27 13:53:37 UTC 2016


Hey dovecot-users!


doveadm import offers to use i.e. a maildir as source and then import
into a users mailbox referenced via "-u" option. If one wants to import
only certain emails from the source a search-query can be given as well.

I was wondering if doveadm search also does offer to search a mailbox
referenced by filesystem path i.e.


doveadm search maildir:/srv/mailboxes/example.com/mailbox123 NEW


Maybe a fixed mailbox location via "-o
mailbox_location=maildir:/srv/mailboxes/example.com/mailbox123" does
work, but then it's rather a side effect as one needs to define a user
via "-u" parameter anyways.




Regards


Christian


More information about the dovecot mailing list