I am glad to know the new syntax. In fact when I tried your
command, cyradm came back giving me the correct command:
usage: createmailbox [--partition partition] mailbox [partition]
However your command seems to have worked. I wonder what possible
partition combinations are allowed in the above syntax; in other
words why partition parameter is repeated!
Before I was using the syntax provided in the man page of cyradm:
createmailbox mailbox [partition]
The createmailbox (or cm) command creates a new mail
box named mailbox. The optional partition argument
specifies the partition name on which to create the
mailbox.
Hopefully man page gets updated soon with the new syntax.
Thanks
__
Seva
David Fuchs wrote:
>
> Yeah, it does work if you specify the partition using both forms.
>
> ie: cm --partition p0 user.test --partition p0
>
> -Dave
>
> ----- Original Message -----
> From: Seva Adari <[EMAIL PROTECTED]>
> To: David Fuchs <[EMAIL PROTECTED]>
> Cc: Cyrus Info Mailing List <[EMAIL PROTECTED]>
> Sent: Friday, March 02, 2001 4:13 PM
> Subject: Re: Partitions in 2.0.11
>
> > I was looking at this found that "cyradm" has this problem,
> > where as if you direct login into the imapd server (via telnet)
> > and try creating mailboxes, it works fine.
> >
> > "cyradm" is dropping the partition information when using the
> > createmailbox or cm command.
> > __
> > Seva
> >
> > > David Fuchs wrote:
> > >
> > > I've been having trouble configuring partitions in 2.0.11. My
> > > /etc/imapd.conf looks like this:
> > >
> > > configdirectory: /usr/imap
> > > defaultpartition: default
> > > partition-default: /usr/imap/user/p0
> > > partition-p0: /usr/imap/user/p0
> > > partition-p1: /usr/imap/user/p1
> > > partition-p2: /usr/imap/user/p2
> > > partition-p3: /usr/imap/user/p3
> > > partition-p4: /usr/imap/user/p4
> > > partition-p5: /usr/imap/user/p5
> > > partition-p6: /usr/imap/user/p6
> > > partition-p7: /usr/imap/user/p7
> > > partition-p8: /usr/imap/user/p8
> > > partition-p9: /usr/imap/user/p9
> > > admins: cyrus df
> > > sasl_pwcheck_method: pwcheck
> > > hashimapspool: true
> > >
> > > The problem is that when I create a mailbox, it's always created on
> > > the default partition (p0) no matter which partition I specify:
> > >
> > > cyradm> cm user.testbox p5 << Creates an entry in /usr/imap/user/p0
> > > rather than /usr/imap/user/p5.
> > >
> > > Can anyone tell me what's wrong? Am I defining the partitions
> > > incorrectly?
> > >
> > > Thanks in advance!
> > >
> > > -David Fuchs
> > > (Running FreeBSD 4.2 / Cyrus 2.0.11 / SASL 1.5.24)
> > >
> > > /* The sender intends this message for a specific recipient and, as
> it
> > > may contain information that is privileged or confidential, any use,
> > > dissemination, forwarding, or copying by anyone without permission
> > > from the sender is prohibited. Personal e-mail may contain views
> that
> > > are not necessarily those of the company. */
> >