Running CentOS 4.4, Sendmail... I've been experiencing some mbox corruption this week. Mail clients can't pick up mail and SquirrelMail gives an error.. of which the logs state "File isn't in mbox format". Is anybody else experiencing this? Any ideas about a correction? Cause? Thanks, John Hinton
John Hinton wrote:> Running CentOS 4.4, Sendmail... > > I've been experiencing some mbox corruption this week. Mail clients > can't pick up mail and SquirrelMail gives an error.. of which the logs > state "File isn't in mbox format". > > Is anybody else experiencing this? Any ideas about a correction? Cause?That is precisely the reason why DJB came up with the Maildir format and why just about every other (all other?) MTA's native LDA that runs on an Unix OS are Maildir format capable. Even procmail is maildir capable. Correction? There are tools but am I afraid I am not familiar with them at all. I think there is one that is part of the procmail toolchain...or something that can be used for this purpose anyway. http://www.google.com/search?q=mbox+repair Cause? Anywhere from power outage to flaky hardware to filesystem corruption. If anything significant happened before this like a crash, kernel upgrade or hardware starting to think about throwing in the towel could very well be the reason.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Oct 10, 2006 at 10:24:41AM -0400, John Hinton wrote:> Running CentOS 4.4, Sendmail... > > I've been experiencing some mbox corruption this week. Mail clients > can't pick up mail and SquirrelMail gives an error.. of which the logs > state "File isn't in mbox format". > > Is anybody else experiencing this? Any ideas about a correction? Cause?If you are using dovecot, it is a known issue. You will have to upgrade to a version >= 1. []s - -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFLF4ppdyWzQ5b5ckRAnWeAJ0WKw6RIkOw1fPSn21/9R5TNeD3YQCgsosP kqN/aNIPGRmLYJe+ny4qTpY=++Rh -----END PGP SIGNATURE-----
John Hinton wrote:> Running CentOS 4.4, Sendmail... > > I've been experiencing some mbox corruption this week. Mail clients > can't pick up mail and SquirrelMail gives an error.. of which the logs > state "File isn't in mbox format". > > Is anybody else experiencing this? Any ideas about a correction? Cause? > > Thanks, > John Hinton > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centoswhat I coincidence! I just finished my Mailbox Recovery Procedure(tm) on a FC3 (installed a couple of years back, before I discovered Centos ;-) ) with dovecot-0.99.13-3.FC3. It is, among other thinks, a small office mail server and I found that it is easy to rename the offending mailbox, send a test email to force a new mailbox to be created, and then use webmin's 'read user mail' to copy whatever messages were to the old mailbox to the new one. Not very elegant but simple enough, and it works.