How to quote the special wildcard characters '*' and '?'

David Davidov dave at icdsoft.com
Thu Jan 15 14:06:22 UTC 2015


Hello,

I am searching for a way to execute doveadm command against mailbox
containing a special wildcard character in its name. For example:

# doveadm expunge -u 'me?@example.com' mailbox 'INBOX.Junk Mail'
SAVEDBEFORE 7

The result is:
doveadm(root): Error: User listing returned failure
doveadm: Error: Failed to iterate through some users

with exit code 75

In the mail log:
dovecot: auth: Error: Trying to iterate users, but userdbs don't support it

To be clear: the question mark is a part of the mailbox's name. Not an
attempt to use it as wildcard.

Is there a way
  1. To quote the special characters
or
  2. To disable wildcard matcing in the -u parameter

regards,

-- 
David Davidov | System Administrator | ICDSoft Ltd. 



More information about the dovecot mailing list