quota corruption

Alain Spineux aspineux at gmail.com
Fri Dec 28 17:17:15 EST 2007


On Dec 28, 2007 10:46 AM, Erol YILDIZ <erol.yildiz at hevokullari.k12.tr> wrote:
> I have recontructed all of the users with reconstruct command and then could
> run quota -f without any problem but this didnt solve the connetion problems
> for the quota enabled accounts plus now I have a bigger problem with some of
> the accounts. Some of the users Inbox accounts disappeared. If I send a test
> mail to one of these users  I receive the error below from the Mail delivery
> System.
>
> '<gulfer.tuna at sles.hevokullari.k12.tr> (expanded from
>     <gulfer.tuna at hevokullari.k12.tr>): host
>     /var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp] said: 550-Mailbox
>     unknown.  Either there is no mailbox associated with this 550-name or
> you
>     do not have authorization to see it. 550 5.1.1 User unknown (in reply to
>     RCPT TO command)'


First look if the mailbox exist in cyradm or using :

# ctl_mboxlist -d | grep gulfer.tuna

then look if the directory exist in the file system

# ls -la `mbpath user/gulfer.tuna at sles.hevokullari.k12.tr`

check for user right of the directory and of files inside.

I dont understant what "expanded from" mean. Any idea ?


>
> How can I recover these Inbox folders?
>
> --
> Thanks
>
>
> ----- Original Message -----
> From: "Alain Spineux" <aspineux at gmail.com>
> To: "Erol YILDIZ" <erol.yildiz at hevokullari.k12.tr>
> Cc: <info-cyrus at lists.andrew.cmu.edu>
> Sent: Thursday, December 27, 2007 11:23 PM
> Subject: Re: quota corruption
>
>
> > On Dec 27, 2007 7:51 PM, Erol YILDIZ <erol.yildiz at hevokullari.k12.tr>
> > wrote:
> >> I get the error below. a_akpinar is an old user which I have deleted but
> >> seems like its not been deleted from somewhere. How can I solve this?
> >>
> >> Dec 27 19:33:30 sles quota[14313]: IOERROR: opening
> >> /var/spool/imap/user/a_akpinar/cyrus.header: No such file or directory
> >
> > You can use "reconstruct" to rebuild these files.
> > Then you can use the cyradm to delete the mailbox.
> >
> >>
> >>
> >> ----- Original Message -----
> >> From: "Patrick Boutilier" <boutilpj at ednet.ns.ca>
> >> To: <info-cyrus at lists.andrew.cmu.edu>
> >> Sent: Thursday, December 27, 2007 5:36 PM
> >> Subject: Re: quota corruption
> >>
> >>
> >> > Erol YILDIZ wrote:
> >> >> I found it now. Its under /usr/lib/cyrus/bin but when I send quota -f
> >> >> command it gives 'quota: System I/O error No such file or directory'.
> >> >> Do
> >> >> you
> >> >> know why does it give this error?
> >> >
> >> > Check your log files (usually /var/log/messages or /var/log/maillog) .
> >> > There should be some indication as to what file/directory it can not
> >> > find.
> >> >
> >> > Otherwise you could strace the quota process.
> >> >
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> ----- Original Message -----
> >> >> From: "Simon Matter" <simon.matter at invoca.ch>
> >> >> To: "Alain Spineux" <aspineux at gmail.com>
> >> >> Cc: "Erol YILDIZ" <erol.yildiz at hevokullari.k12.tr>;
> >> >> <info-cyrus at lists.andrew.cmu.edu>
> >> >> Sent: Thursday, December 27, 2007 4:53 PM
> >> >> Subject: Re: quota corruption
> >> >>
> >> >>
> >> >>>> On Dec 27, 2007 2:44 PM, Erol YILDIZ
> >> >>>> <erol.yildiz at hevokullari.k12.tr>
> >> >>>> wrote:
> >> >>>>>
> >> >>>>> Hi,
> >> >>>>>
> >> >>>>> I am using Suse linux enterprise server 9 with cyrus and for a few
> >> >>>>> days
> >> >>>>> having some problems. For example when a user tries to purge
> >> >>>>> deleted
> >> >>>>> mails,
> >> >>>>> outlook says 'The folder Inbox cannot be selected. This may be
> >> >>>>> because
> >> >>>>> of a
> >> >>>>> limitation of your IMAP server or the folder may have been deleted
> >> >>>>> or
> >> >>>>> moved.' and we have different similar connection problems and
> >> >>>>> syronization
> >> >>>>> problems. When I disable quota for the users, the problem ends. I
> >> >>>>> read
> >> >>>>> about
> >> >>>>> corrupted quota files and that I can fix this by using 'quota -f'
> >> >>>>> command
> >> >>>>> but on SLES9 quota command doesnt have -f parameter.
> >> >>>> Are you speaking about the linux "quota" command or
> >> >>>> the cyrus one "cyrquota" ?
> >> >>> Alain, there is space for confusion here because there is no
> >> >>> "cyrquota"
> >> >>> in
> >> >>> the cyrus distribution, only Debian (any maybe others) rename it so.
> >> >>> However, I don't know how SuSE does it.
> >> >>>
> >> >>> Simon
> >> >>>
> >> >>>
> >> >>>
> >> >>
> >> >> ----
> >> >> 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
> >> >
> >> >
> >>
> >>
> >> --------------------------------------------------------------------------------
> >>
> >>
> >>
> >> > ----
> >> > 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
> >>
> >> ----
> >> 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
> >>
> >
> >
> >
> > --
> > Alain Spineux
> > aspineux gmail com
> > May the sources be with you
> >
>
> ----
> 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
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list