[Dovecot] Using -s in "doveadm mailbox create"
Hello,
it seems that "doveadm mailbox create" does not handle the mailbox parameters correctly if used with the "-s"-Parameter.
I am using the following command in a script for adding new users:
doveadm mailbox create -u "${ACCOUNT}" -s INBOX Drafts Sent Trash Spam Templates
This creates mailboxes Drafts, Sent, Trash, Spam and Templates, but not INBOX. Likewise, when I omit INBOX in the command, only Sent, Trash, Spam and Templates are created, but not Drafts. With only one mailbox parameter, I get an error message about incorrect usage. When I enter the command without the "-s"-Parameter, all given mailboxes are created.
As a workaround, I have to use the command without "-s" first and then call "doveadm mailbox subscribe".
Regards Christoph
On Wed, 2011-02-09 at 20:57 +0100, Christoph Pleger wrote:
it seems that "doveadm mailbox create" does not handle the mailbox parameters correctly if used with the "-s"-Parameter.
participants (2)
-
Christoph Pleger
-
Timo Sirainen