David Davidov
2015-Jan-15 14:06 UTC
How to quote the special wildcard characters '*' and '?'
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.
Teodor Milkov
2015-Jan-27 09:22 UTC
How to quote the special wildcard characters '*' and '?'
On 15/01/15 11:17, David Davidov wrote:> 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 parameterHello, I'm struggling with the same problem. Is there a way to escape wildcard characters or dovecot must be patched? Best regards, Teodor
Possibly Parallel Threads
- Doveadm sometimes failed "to iterate through some users" after upgrade to 2.2
- After upgrade from 2.1 to 2.2.13 clients can create folders with names containing slash character on a Linux system
- Bug reports - auth is broken in Dovecot 2.3.3
- Bug reports - auth is broken in Dovecot 2.3.3
- Nmbd is using the wrong ip address as source