Re: [Dovecot] Administrative mailbox deletions

2013-06-04 Thread Charles Marcus
On 2013-06-04 6:58 AM, Alan Brown wrote: One user has named all his mailboxes with leading hyphens. ie: -foo -bar -bazz How annoying. I have a user that prefixes all of their folders with a leading asterisk (*)... -- Best regards, Charles

Re: [Dovecot] Administrative mailbox deletions

2013-06-04 Thread Alan Brown
and "doveadm mailbox delete" doesn't like it. Does anyone have the magic sauce needed to escape the - character? An "escaping" that works at the *nix level (not necessarily with doveadm, but I would assume it works there too) is, e.g., rm -- -foo i.e., double dashes to nullify the "-" o

Re: [Dovecot] Administrative mailbox deletions

2013-06-04 Thread Jan-Frode Myklebust
On Tue, Jun 04, 2013 at 11:58:50AM +0100, Alan Brown wrote: > > > One user has named all his mailboxes with leading hyphens. > > ie: > > -foo > -bar > -bazz > Does anyone have the magic sauce needed to escape the - character? No idea what you've tried, but maybe '--' is enough? dovea