Re: location of reconstructed mailbox

2011-01-27 Thread Sergey
On Thursday 27 January 2011, Bron Gondwana wrote:

 Alternativelly, you could use something like strace to view the
 file open attempt :)

I did so after some time :-)
But it is difficult for analyze in a scripts... 

-- 
Regards,
Sergey

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: location of reconstructed mailbox

2011-01-27 Thread Sergey
On Thursday 27 January 2011, Bron Gondwana wrote:

 You can use cyr_dbtool or ctl_mboxlist to dump a listing of all
 mailboxes.  It will be the next one alphabetically.
 
It is useful too, thanks. Now I have the same problem with location
quota file. Strace helped this but it is not good for scripting also.

/usr/lib/cyrus/quota -d my.dom -f user/name
failed building quota list for 'my.dom!user.name': System I/O error: %m

And I think what option for quota for remove quota (or set to default
with another option) if it is damaged will be useful. To bugzilla ? :-)

-- 
Regards,
Sergey

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Re: location of reconstructed mailbox

2011-01-27 Thread Sergey
On Thursday 27 January 2011, Sergey wrote:
 
 It is useful too, thanks. Now I have the same problem with location
 quota file. Strace helped this but it is not good for scripting also.
 
 /usr/lib/cyrus/quota -d my.dom -f user/name
 failed building quota list for 'my.dom!user.name': System I/O error: %m
 
workaround: find $QUOTAROOT -name user.name | grep my.dom.
But I fount some mailboxes without quota file...

-- 
Regards,
Sergey

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: location of reconstructed mailbox

2011-01-26 Thread Bron Gondwana
On Wed, Jan 26, 2011 at 07:06:42PM +0300, Sergey wrote:
 Hello. 
 
 I needed of reconstruction of maiboxes. I try to use
 /usr/lib/cyrus/reconstruct -f user/*@my.dom
 I see on output:
 
 user/us...@my.dom
 user/us...@my.dom
 user/us...@my.dom
 fatal error: can't fstat cache file
 
 /usr/lib/cyrus/reconstruct -f user/us...@my.dom is works.
 How can I learn name of next mailbox ?
 
 I use 2.3.16 now.

You can use cyr_dbtool or ctl_mboxlist to dump a listing of all
mailboxes.  It will be the next one alphabetically.

Alternativelly, you could use something like strace to view the
file open attempt :)

Bron.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/