Re: recursive reconstruct does not work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 5 Dec 2006, Dan Lowe wrote:
> On Dec 3, 2006, at 12:48 PM, Jo Rhett wrote:
> > Ken, it's been another month.  How can I help move this along?
>
> Just popping up here to say that I run another site affected by this
> bug and would love to see it resolved. If I had more than rudimentary
> C skills, I would take a stab at a patch. I know of another division
> of my company with a similar Cyrus setup who are also affected.
>

Digging up an old thread here.

We found that we are also experiencing the same problem when doing a 
mailbox reconstruct to a user in another virtual domain. One thing 
which appears to be common is that the "unixhierarchysep" option is 
also enabled.

Here's an example where the user has the following mail hierachy:

	[USERNAME]@alphalink.com.au/
	[USERNAME]@alphalink.com.au/Drafts
	[USERNAME]@alphalink.com.au/Sent
	[USERNAME]@alphalink.com.au/Trash


Output from reconstruct commands:

	$ reconstruct -r user/[USERNAME]@alphalink.com.au
	user/[USERNAME]@alphalink.com.au

	$ reconstruct -r user/[USERNAME]/*@alphalink.com.au
	user/[USERNAME]/Drafts@xxxxxxxxxxxxxxxx
	user/[USERNAME]/Sent@xxxxxxxxxxxxxxxx
	user/[USERNAME]/Trash@xxxxxxxxxxxxxxxx


After adding a few printf()s in lib/glob.c and imap/mboxlist.c, we see 
the following:

	$ reconstruct -f -r -C /var/spool-host8/imap/imapd.conf
	user/[USERNAME]@alphalink.com.au
	* domainpat = alphalink.com.au!user.[USERNAME]
	* gptr = alphalink.com.au!user.[USERNAME]
	* ptr  = alphalink.com.au!user.[USERNAME]
	* gptr = alphalink.com.au!user.[USERNAME]
	* ptr  = alphalink.com.au!user.[USERNAME]
	user/[USERNAME]@alphalink.com.au
	* gptr = alphalink.com.au!user.[USERNAME]
	* ptr  = alphalink.com.au!user.[USERNAME].Drafts
	* gptr = alphalink.com.au!user.[USERNAME]
	* ptr  = alphalink.com.au!user.[USERNAME].Drafts
	* gptr = alphalink.com.au!user.[USERNAME]
	* ptr  = alphalink.com.au!user.[USERNAME].Drafts
	* gptr = alphalink.com.au!user.[USERNAME]
	* ptr  = alphalink.com.au!user.[USERNAME].Sent
	* gptr = alphalink.com.au!user.[USERNAME]
	* ptr  = alphalink.com.au!user.[USERNAME].Sent
	* gptr = alphalink.com.au!user.[USERNAME]
	* ptr  = alphalink.com.au!user.[USERNAME].Sent
	* gptr = alphalink.com.au!user.[USERNAME]
	* ptr  = alphalink.com.au!user.[USERNAME].Trash
	* gptr = alphalink.com.au!user.[USERNAME]
	* ptr  = alphalink.com.au!user.[USERNAME].Trash
	* gptr = alphalink.com.au!user.[USERNAME]
	* ptr  = alphalink.com.au!user.[USERNAME].Trash

	* domainpat = alphalink.com.au!user.[USERNAME]@alphalink.com.au.*
	* gptr = alphalink.com.au!user.[USERNAME]@alphalink.com.au.*
	* ptr  = alphalink.com.au!user.[USERNAME]
	* gptr = alphalink.com.au!user.[USERNAME]@alphalink.com.au.*
	* ptr  = alphalink.com.au!user.[USERNAME].Drafts
	* gptr = alphalink.com.au!user.[USERNAME]@alphalink.com.au.*
	* ptr  = alphalink.com.au!user.[USERNAME].Sent
	* gptr = alphalink.com.au!user.[USERNAME]@alphalink.com.au.*
	* ptr  = alphalink.com.au!user.[USERNAME].Trash


So it seems related to the glob where it's not matching?

-- 
Haw Loeung
Systems Administrator
TPG Internet
http://www.tpg.com.au
_______________________________________________________________________
  

Attachment: signature.asc
Description: This is a digitally signed message part.

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux