[BlueOnyx:19989] Re: Dovecot Error

Ken Marcus kenbxlist at precisionwebhosting.com
Wed Aug 17 13:42:21 -05 2016


Or if you open it up using the openwebmail, then move out the oldest email,
that will fix it many times also.

On Wed, Aug 17, 2016 at 12:32 AM, Dirk Estenfeld <
dirk.estenfeld at blackpoint.de> wrote:

> Hello,
>
> I also saw this dovecot error in the maillog today but in my case user
> quota was exceeded.
> So I would recommend to check user quota and(!) group quota again. Maybe
> it is not a user quota problem but a group quota (quota -g site<nr>)
>
> Yes if you delete mbox every mail which was in in the INBOX for the user
> is history.
> So do the following before you delete the mbox file.
> Install mutt (yum install mutt) and open the mbox in the shell with mutt
> -f <filename>
> If mutt is showing the mails then the mbox file is not corrupted. If mutt
> shows something like "mbox is corrupt" the you can be sure it is.
> If it is corrupt you can open with a textedit (for example vi) and you can
> check if the first line is not starting with "From ...."
> Example
> >From root at localhost.localdomain  Tue Aug 16 06:00:04 2016
>
> If this is not the case then you can delete the lines until the next "From
> ..." (for safety do  a copy of the mbox file first).
>
> So my recommendation is:
> - check user and group quota
> - check the mbox file with mutt
> - check the file with vi (or any other texteditor)
>
> Best regards,
> Dirk
>
>
> -----------------------------------------------
> blackpoint GmbH - Friedberger Straße 106 - 61118 Bad Vilbel
>
> -----------------------------------------------
>
> -----Ursprüngliche Nachricht-----
> Von: Blueonyx [mailto:blueonyx-bounces at mail.blueonyx.it] Im Auftrag von
> Michael Stauber
> Gesendet: Mittwoch, 17. August 2016 08:44
> An: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
> Betreff: [BlueOnyx:19987] Re: Dovecot Error
>
> Hi,
>
> > Thanks Michael. But what happens with all mails when I delete the mbox
> file? Will they be deleted too?
>
> Yes, that will delete all mails and the mbox file will get recreated
> when the first new email comes in.
>
> Like said: As is the mbox file appears to be corrupted, so it is of
> dubious use. You could also just rename it and let the user download it
> by FTP or similar. That way he could try his luck with it. It's just one
> large textfile with one email after the other. It might perhaps be
> possible to find the corruption and to fix it in a text editor. But this
> is often not practical due to the very large size. If that mbox file is
> larger than 2 GB simple text editors such as pico, nano or the one
> included in Midnight Commander won't be able to handle it.
>
> --
> With best regards
>
> Michael Stauber
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20160817/35d32431/attachment.html>


More information about the Blueonyx mailing list