Re: need help with noselect

2004-01-30 Thread Joao Pedras
 
Also let me add that sendmail can not deliver e-mail to the box.

Quoting Joao Pedras <[EMAIL PROTECTED]>:

> Greetings!
> 
> I am running the following version of cyrus:
> 
> name   : Cyrus
> version: v2.0.17
> vendor : Project Cyrus
> support-url: http://asg.web.cmu.edu/cyrus
> os : FreeBSD
> os-version : 4.9-RC
> environment: Cyrus SASL 1.5.27
>  Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
>  OpenSSL 0.9.7c 30 Sep 2003
>  TCP Wrappers
> 
> A non-user box (general) which is acessible to several users became 
> unresponsive (mozilla mail,
> outlook). When I list the mailboxes I get the following:
> 
> localhost.mydomain.org> lm general%
> general (\Noselect)  general2 generalquest
> general1 generalerror
> localhost.mydomain.org>
> 
> 1) how can I fix this issue?
> 
> 2) what might have caused it?
> 
> I appreciate your help.
> 
> Thanks.
> 


Re: need help with noselect

2004-01-30 Thread Joao Pedras
Also... :)

A reconstruct doesn't seem to find the mailbox:

%reconstruct general
general: Mailbox does not exist
The folder does exit under the mail partition. I get the same error when 
trying to list
the box or its ACL in cyradm.

Thanks again!

Joao Pedras wrote:

Also let me add that sendmail can not deliver e-mail to the box.

Quoting Joao Pedras <[EMAIL PROTECTED]>:

 

Greetings!

I am running the following version of cyrus:

name   : Cyrus
version: v2.0.17
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : FreeBSD
os-version : 4.9-RC
environment: Cyrus SASL 1.5.27
Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
OpenSSL 0.9.7c 30 Sep 2003
TCP Wrappers
A non-user box (general) which is acessible to several users became 
unresponsive (mozilla mail,
outlook). When I list the mailboxes I get the following:

localhost.mydomain.org> lm general%
general (\Noselect)  general2 generalquest
general1 generalerror
localhost.mydomain.org>
1) how can I fix this issue?

2) what might have caused it?

I appreciate your help.

Thanks.

   




Re: need help with noselect

2004-01-30 Thread Joao Pedras
Ken,

thanks for you prompt reply. :)

Ken Murchison wrote:

Joao Pedras wrote:

Also... :)

A reconstruct doesn't seem to find the mailbox:

%reconstruct general
general: Mailbox does not exist


The mailbox doesn't exist in mailboxes.db.


That's bad.



The folder does exit under the mail partition. I get the same error 
when trying to list
the box or its ACL in cyradm.


It exists, because it has submailboxes.  Do any cyrus.* files exist in 
general/?


They don't.

My guess is either the mailbox has never existed, or was deleted 
(hence the \Noselect)


I was afraid that was the cause of this mess.

Do you have any sugestions?

I was thinking of creating a new box, copy all the stuff there 
(messages, sub-boxes and their messages)
and then run a 'reconstruct -r general'.

Thanks for your help.




Re: need help with noselect

2004-01-30 Thread Ken Murchison
Joao Pedras wrote:

Also... :)

A reconstruct doesn't seem to find the mailbox:

%reconstruct general
general: Mailbox does not exist
The mailbox doesn't exist in mailboxes.db.


The folder does exit under the mail partition. I get the same error when 
trying to list
the box or its ACL in cyradm.
It exists, because it has submailboxes.  Do any cyrus.* files exist in 
general/?

My guess is either the mailbox has never existed, or was deleted (hence 
the \Noselect)


Joao Pedras wrote:

Also let me add that sendmail can not deliver e-mail to the box.

Quoting Joao Pedras <[EMAIL PROTECTED]>:

 

Greetings!

I am running the following version of cyrus:

name   : Cyrus
version: v2.0.17
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : FreeBSD
os-version : 4.9-RC
environment: Cyrus SASL 1.5.27
Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
OpenSSL 0.9.7c 30 Sep 2003
TCP Wrappers
A non-user box (general) which is acessible to several users became 
unresponsive (mozilla mail,
outlook). When I list the mailboxes I get the following:

localhost.mydomain.org> lm general%
general (\Noselect)  general2 generalquest
general1 generalerror
localhost.mydomain.org>
1) how can I fix this issue?

2) what might have caused it?

I appreciate your help.

Thanks.

  





--
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: need help with noselect

2004-01-30 Thread Ken Murchison
Joao Pedras wrote:

Ken,

thanks for you prompt reply. :)

Ken Murchison wrote:

Joao Pedras wrote:

Also... :)

A reconstruct doesn't seem to find the mailbox:

%reconstruct general
general: Mailbox does not exist


The mailbox doesn't exist in mailboxes.db.


That's bad.



The folder does exit under the mail partition. I get the same error 
when trying to list
the box or its ACL in cyradm.


It exists, because it has submailboxes.  Do any cyrus.* files exist in 
general/?


They don't.

My guess is either the mailbox has never existed, or was deleted 
(hence the \Noselect)


I was afraid that was the cause of this mess.

Do you have any sugestions?

I was thinking of creating a new box, copy all the stuff there 
(messages, sub-boxes and their messages)
and then run a 'reconstruct -r general'.
Are the submailboxes missing too?

--
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: need help with noselect

2004-01-30 Thread Joao Pedras
Ken Murchison wrote:

Are the submailboxes missing too?


They are not missing. They exist with their cyrus.* files. It is just 
the top one which contains nothing (except
for the sub-dirs of the other mailboxes).

I have been trying to repeat what the user might have done in another 
server but when I delete the top-level
mailbox everything is removed (including sub-mailboxes).

I have tried the following:
- create a new mailbox
- copy the directories of the other sub-folders from the "damaged"  main box
- get rid of the cyrus.* in the sub-folders
- running 'reconstruct -r -f general'
- voila... everything is back! The permissions of the top-level mailbox 
are inherited  by the others, btw.

1) Does this sound like a good route or the "corrupted" mailbox still 
has hope?

2) I guess from now on I should make sure the top-level mailbox doesn't 
have a 'lrswipcd' acl, correct?
Althought it is ok with sub-mailboxes, or not?

I granted the user permissions for a few hours fo her to create some 
sub-mailboxes... :(

Thanks Ken!!!



Re: need help with noselect

2004-01-30 Thread Joao Pedras
Ok...

the way I fixed the problem is the way I described below, for future record.

Cyrus rocks!

Thanks!!!

Joao Pedras wrote:

Ken Murchison wrote:

Are the submailboxes missing too?


They are not missing. They exist with their cyrus.* files. It is just 
the top one which contains nothing (except
for the sub-dirs of the other mailboxes).

I have been trying to repeat what the user might have done in another 
server but when I delete the top-level
mailbox everything is removed (including sub-mailboxes).

I have tried the following:
- create a new mailbox
- copy the directories of the other sub-folders from the "damaged"  
main box
- get rid of the cyrus.* in the sub-folders
- running 'reconstruct -r -f general'
- voila... everything is back! The permissions of the top-level 
mailbox are inherited  by the others, btw.

1) Does this sound like a good route or the "corrupted" mailbox still 
has hope?

2) I guess from now on I should make sure the top-level mailbox 
doesn't have a 'lrswipcd' acl, correct?
Althought it is ok with sub-mailboxes, or not?

I granted the user permissions for a few hours fo her to create some 
sub-mailboxes... :(

Thanks Ken!!!