reconstruct w/ vdomains on 2.2a

Ken Murchison ken at oceana.com
Tue May 27 09:38:23 EDT 2003


Could you please bugzilla this and I will look at it when I get a chance.



Jure Pecar wrote:
> Here's my relevant config:
> 
> altnamespace: off
> unixhierarchysep:1
> virtdomains: 1
> 
> If i run reconstruct without parameters, it nicely walks the mailboxes tree.
> However, if i try some -r or -f with a mailbox in a form of:
> 
> user.username
> user.username at domain.tld
> user/username
> user/username at domain.tld
> 
> i get nothing.
> 
> strace shows that it reads imap.conf, does init the db, reads the skipstamp,
> opens the mailboxes.db, does some fstat and fcntl on it and exits 0.
> 
> 
> Looking at the source in imap/reconstruct.c ... 
> 
> strcpy(buf, "*");
> (*recon_namespace.mboxlist_findall)(&recon_namespace, buf, 1, 0, 0,
>                                             do_reconstruct, NULL);
> 
> this is called when reconstruct is run without parameters and it works ok.
> 
> strcpy(buf, argv[i]);
> /* Translate any separators in mailboxname */
> mboxname_hiersep_tointernal(&recon_namespace, buf, 0);
> (*recon_namespace.mboxlist_findall)(&recon_namespace, buf, 1, 0,
>                                             0, do_reconstruct, 
>                                             fflag ? &head : NULL);
> 
> this is called when reconstruct is run with parameters.
> 
> 
> then my in-head interpreter crashes when it sees the mboxlist_findall in
> imap/mboxlist.c ... :)
> 
> 
> any ideas?
> 
> 
> 


-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list