are just
#adding to mailboxes.db, not replacing it.
mv /var/imap/mailboxes.db /var/imap/mailboxes.db.OLD
> cat /home/cyrus/mailboxes-new.txt|/usr/local/cyrus/bin/ctl_mboxlist -u
> service cyrus start
>
>
>
oxes.txt
grep -v 'user.cyrust' /home/cyrus/mailboxes.txt >
/home/cyrus/mailboxes-new.txt
cat /home/cyrus/mailboxes-new.txt|/usr/local/cyrus/bin/ctl_mboxlist -u
service cyrus start
<>
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu
> The upgrade instructions (which are cumulative and ancient, I realize)
> indicate that a ctl_mboxlist -u on a flatfile mailboxes database
> should be
> enough. However, this doesn't incorporate the adding of the mbtype
> field.
> This would be Bug #1 as I see it. (
and ancient, I realize)
indicate that a ctl_mboxlist -u on a flatfile mailboxes database should be
enough. However, this doesn't incorporate the adding of the mbtype field.
This would be Bug #1 as I see it. (or something that just requires an
additional step in the upgrade document, which
var/cyrus/proc> su cyrus -c "ctl_mboxlist -u <
/tmp/mlist"
when logging in I get
-- phr2101 Tue Apr 4 13:55:15 2006
<1144173315<0003 SELECT INBOX
>1144173315>0003 NO Unknown/invalid partition
<1144173315<0004 LOGOUT
>1144173315>* BYE
rus stop
Stopping cyrusmaster: [ OK ]
[EMAIL PROTECTED]:/var/cyrus/proc> su cyrus -c "ctl_mboxlist -d > /tmp/
mlist"
[EMAIL PROTECTED]:/var/cyrus/proc> mv /var/cyrus/mailboxes.db /var/
cyrus/mailboxes.bk
[EMAIL PROTECTED]:/var/cyrus/proc>
João Assad wrote:
also repeating the same process on one of the backends works
perfectly. It seems to be master related only.
do_undump in ctl_mboxlist.c have this:
mboxlist_makeentry(0, partition, acl);
making the mailboxes always type 0 , never type remote
there should be another option to ctl_
On a cyrus mupdate master server, dump the mailbox list with
ctl_mboxlist -d stop cyrus and delete mailboxes.db and db/* , start
cyrus to create a new mailboxes.db
reimport all the data with ctl_mboxlist -u < dump.
all the data will be there, you can even dump it again and compare the
du
ust showed up with the
other data being echoed, so I took it out. ctl_mboxlist -u works now, the
\t was required. :)
Thanks,
-j
> -Original Message-
> From: Connie Starr Fensky [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 18, 2003 9:24 AM
> To: Joe Hrbek
> Cc: Info
D]>
To: "Info-Cyrus" <[EMAIL PROTECTED]>
Sent: Friday, December 12, 2003 11:49 AM
Subject: ctl_mboxlist -u ?
> Hi everyone!
>
> I'm trying to write a bash script (just out of curiosity) that will
harvest
> usernames from the cyrus spool directory and then writ
ce in the output, however,
when I try to do a ctl_mboxlist -u on the file I generated it bails on each
line with an error: no partition found. (see below)
Result from ctl_mboxlist -d > newmail:
user.bkieffer^foo^com default bkieffer.foo.comlrswipcda
cyrus lrswipcda
user.bloberg
"mailboxes.db" file (Sleepycat
DB3 format).
After running
ctl_mboxlist -u < mailboxlistdump
I got a new "mailboxes.db" and a "ctl_mboxlist -d" gives THE SAME
dump as before.
So I thought things are going well.
But nothing worked. The server always replyed &quo
12 matches
Mail list logo