Re: cyrus 2.2 virtual domains and mailbox delete
On Fri, 14 Feb 2003, Ken Murchison wrote: Igor Brezac wrote: On Thu, 13 Feb 2003, Ken Murchison wrote: Ken Murchison wrote: Igor Brezac wrote: I do see the follwing small problem, other cyradm commands seem to work fine: localhost lm [EMAIL PROTECTED] localhost lm ipass.net!user.igor [EMAIL PROTECTED] (\HasChildren) Yeah, I see this as well. I might have broken something when I added per-domain quotas. FYI, you should _NOT_ have to use the domain!mailbox syntax anywhere. If you do, then something is broken. After further testing, it appears as if this only fails when the result of the LIST is one mailbox. If you try: lm user.igor*@ipass.net does it work? I have a pretty good idea where to look for this bug. I'll try to get to it later today or tomorrow. Fixed in CVS. A trivial fix once I understood what was going on. Thanks. I'll give the latest CVS snapshoot a try. -- Igor
Re: cyrus 2.2 virtual domains and mailbox delete
Ilya wrote: I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin and php imap_deletemailbox. The delete works, but subfolders for that user are not deleted. If however I create a user in defaultdomain (user.username) than whenever I delete the user everything is gone under him as well. I believe it is the behaviour of 2.1.1x as well. Ken, are the subfolders left on purpose, or its and error? Its an error. Please at this to bugzilla. -- 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
Re: cyrus 2.2 virtual domains and mailbox delete
Bug 1832 has been added to the database On Thu, Feb 13, 2003 at 08:28:06AM -0500, Ken Murchison wrote: Ilya wrote: I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin and php imap_deletemailbox. The delete works, but subfolders for that user are not deleted. If however I create a user in defaultdomain (user.username) than whenever I delete the user everything is gone under him as well. I believe it is the behaviour of 2.1.1x as well. Ken, are the subfolders left on purpose, or its and error? Its an error. Please at this to bugzilla. -- 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
Re: cyrus 2.2 virtual domains and mailbox delete
On Thu, 13 Feb 2003, Ilya wrote: Bug 1832 has been added to the database On Thu, Feb 13, 2003 at 08:28:06AM -0500, Ken Murchison wrote: Ilya wrote: I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin and php imap_deletemailbox. The delete works, but subfolders for that user are not deleted. If however I create a user in defaultdomain (user.username) than whenever I delete the user everything is gone under him as well. I believe it is the behaviour of 2.1.1x as well. Ken, are the subfolders left on purpose, or its and error? It works fine for me, at least it works with cyradm. I am using a farily recent CVS version (2.2). Is it possible that the mailbox was opened by another imap client? Did you chdir to one of the mbox dirs while you performed deletembox? How does 'dm [EMAIL PROTECTED]' work vs 'dm domain.com!user.username'? I do see the follwing small problem, other cyradm commands seem to work fine: localhost lm [EMAIL PROTECTED] localhost lm ipass.net!user.igor [EMAIL PROTECTED] (\HasChildren) -igor Its an error. Please at this to bugzilla. -- 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 -- Igor
Re: cyrus 2.2 virtual domains and mailbox delete
Igor Brezac wrote: On Thu, 13 Feb 2003, Ilya wrote: Bug 1832 has been added to the database On Thu, Feb 13, 2003 at 08:28:06AM -0500, Ken Murchison wrote: Ilya wrote: I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin and php imap_deletemailbox. The delete works, but subfolders for that user are not deleted. If however I create a user in defaultdomain (user.username) than whenever I delete the user everything is gone under him as well. I believe it is the behaviour of 2.1.1x as well. Ken, are the subfolders left on purpose, or its and error? It works fine for me, at least it works with cyradm. I am using a farily It also works for me. recent CVS version (2.2). Is it possible that the mailbox was opened by another imap client? Did you chdir to one of the mbox dirs while you performed deletembox? How does 'dm [EMAIL PROTECTED]' work vs 'dm domain.com!user.username'? I do see the follwing small problem, other cyradm commands seem to work fine: localhost lm [EMAIL PROTECTED] localhost lm ipass.net!user.igor [EMAIL PROTECTED] (\HasChildren) Yeah, I see this as well. I might have broken something when I added per-domain quotas. FYI, you should _NOT_ have to use the domain!mailbox syntax anywhere. If you do, then something is broken. -- 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
Re: cyrus 2.2 virtual domains and mailbox delete
Ken Murchison wrote: Igor Brezac wrote: I do see the follwing small problem, other cyradm commands seem to work fine: localhost lm [EMAIL PROTECTED] localhost lm ipass.net!user.igor [EMAIL PROTECTED] (\HasChildren) Yeah, I see this as well. I might have broken something when I added per-domain quotas. FYI, you should _NOT_ have to use the domain!mailbox syntax anywhere. If you do, then something is broken. After further testing, it appears as if this only fails when the result of the LIST is one mailbox. If you try: lm user.igor*@ipass.net does it work? I have a pretty good idea where to look for this bug. I'll try to get to it later today or tomorrow. -- 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
Re: cyrus 2.2 virtual domains and mailbox delete
On Thu, 13 Feb 2003, Ken Murchison wrote: Ken Murchison wrote: Igor Brezac wrote: I do see the follwing small problem, other cyradm commands seem to work fine: localhost lm [EMAIL PROTECTED] localhost lm ipass.net!user.igor [EMAIL PROTECTED] (\HasChildren) Yeah, I see this as well. I might have broken something when I added per-domain quotas. FYI, you should _NOT_ have to use the domain!mailbox syntax anywhere. If you do, then something is broken. After further testing, it appears as if this only fails when the result of the LIST is one mailbox. If you try: lm user.igor*@ipass.net does it work? I have a pretty good idea where to look for this bug. I'll try to get to it later today or tomorrow. Yup. I works fine. Thanks, -- Igor
Re: cyrus 2.2 virtual domains and mailbox delete
Hi, The original message said: I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin and php imap_deletemailbox. The delete works, but subfolders for that user are not deleted. What is the server's hierarchy delimiter? Is [EMAIL PROTECTED] an actual user? Or is it just a toplevel mailbox? My limited understanding is that a virtual domain user should be listed as: [EMAIL PROTECTED] If . is the delimiter, wouldn't dm [EMAIL PROTECTED] mean delete the username@domain user's com mailbox? On Thu, 13 Feb 2003 14:41:05 -0500 (EST), Igor Brezac [EMAIL PROTECTED] wrote... On Thu, 13 Feb 2003, Ken Murchison wrote: Ken Murchison wrote: Igor Brezac wrote: I do see the follwing small problem, other cyradm commands seem to work fine: localhost lm [EMAIL PROTECTED] localhost lm ipass.net!user.igor [EMAIL PROTECTED] (\HasChildren) Yeah, I see this as well. I might have broken something when I added per-domain quotas. FYI, you should _NOT_ have to use the domain!mailbox syntax anywhere. If you do, then something is broken. After further testing, it appears as if this only fails when the result of the LIST is one mailbox. If you try: lm user.igor*@ipass.net does it work? I have a pretty good idea where to look for this bug. I'll try to get to it later today or tomorrow. Yup. I works fine. Thanks, -- Igor Regards, Mark Keasling [EMAIL PROTECTED]
Re: cyrus 2.2 virtual domains and mailbox delete
nevermind, feeling stupid again... this is the ugly think i created.. at least we know all folders get created automatically [EMAIL PROTECTED] (\HasNoChildren) [EMAIL PROTECTED] (\HasNoChildren) [EMAIL PROTECTED] (\HasNoChildren) [EMAIL PROTECTED] (\HasNoChildren) [EMAIL PROTECTED] (\HasNoChildren) [EMAIL PROTECTED] (\HasNoChildren) [EMAIL PROTECTED] (\HasNoChildren) [EMAIL PROTECTED] (\HasNoChildren) [EMAIL PROTECTED] (\HasNoChildren) sorry guys On Thu, Feb 13, 2003 at 02:41:05PM -0500, Igor Brezac wrote: On Thu, 13 Feb 2003, Ken Murchison wrote: Ken Murchison wrote: Igor Brezac wrote: I do see the follwing small problem, other cyradm commands seem to work fine: localhost lm [EMAIL PROTECTED] localhost lm ipass.net!user.igor [EMAIL PROTECTED] (\HasChildren) Yeah, I see this as well. I might have broken something when I added per-domain quotas. FYI, you should _NOT_ have to use the domain!mailbox syntax anywhere. If you do, then something is broken. After further testing, it appears as if this only fails when the result of the LIST is one mailbox. If you try: lm user.igor*@ipass.net does it work? I have a pretty good idea where to look for this bug. I'll try to get to it later today or tomorrow. Yup. I works fine. Thanks, -- Igor
Re: cyrus 2.2 virtual domains and mailbox delete
Mark Keasling wrote: Hi, The original message said: I just tried to delete a top level ([EMAIL PROTECTED]) from both cyradmin and php imap_deletemailbox. The delete works, but subfolders for that user are not deleted. What is the server's hierarchy delimiter? In this case '.' Is [EMAIL PROTECTED] an actual user? Yup, It is username's INBOX in the domain.com domain. Or is it just a toplevel mailbox? My limited understanding is that a virtual domain user should be listed as: [EMAIL PROTECTED] Only if using unixhiersep. 2.2 supports virtual domains natively (assuming its is enabled). If . is the delimiter, wouldn't dm [EMAIL PROTECTED] mean delete the username@domain user's com mailbox? On Thu, 13 Feb 2003 14:41:05 -0500 (EST), Igor Brezac [EMAIL PROTECTED] wrote... On Thu, 13 Feb 2003, Ken Murchison wrote: Ken Murchison wrote: Igor Brezac wrote: I do see the follwing small problem, other cyradm commands seem to work fine: localhost lm [EMAIL PROTECTED] localhost lm ipass.net!user.igor [EMAIL PROTECTED] (\HasChildren) Yeah, I see this as well. I might have broken something when I added per-domain quotas. FYI, you should _NOT_ have to use the domain!mailbox syntax anywhere. If you do, then something is broken. After further testing, it appears as if this only fails when the result of the LIST is one mailbox. If you try: lm user.igor*@ipass.net does it work? I have a pretty good idea where to look for this bug. I'll try to get to it later today or tomorrow. Yup. I works fine. Thanks, -- Igor Regards, Mark Keasling [EMAIL PROTECTED] -- 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