From owner-freebsd-questions@FreeBSD.ORG Sat Jul 22 19:33:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CF0C16A4DA for ; Sat, 22 Jul 2006 19:33:04 +0000 (UTC) (envelope-from svein.h@lvor.halvorsen.cc) Received: from fri.itea.ntnu.no (fri.itea.ntnu.no [129.241.7.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id C87A643D68 for ; Sat, 22 Jul 2006 19:33:01 +0000 (GMT) (envelope-from svein.h@lvor.halvorsen.cc) Received: from localhost (localhost [127.0.0.1]) by fri.itea.ntnu.no (Postfix) with ESMTP id 0639E7EEC for ; Sat, 22 Jul 2006 21:33:00 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by fri.itea.ntnu.no (Postfix) with SMTP for ; Sat, 22 Jul 2006 21:32:59 +0200 (CEST) Received: (qmail 76124 invoked by uid 88); 22 Jul 2006 21:32:59 +0200 Received: from 216-204-44.0507.adsl.tele2.no (HELO [192.168.1.113]) (193.216.204.44) by maren.thelosingend.net (qpsmtpd/0.31.1) with ESMTP; lør, 22 jul 2006 21:32:58 +0200 Message-ID: <44C27D6A.607@lvor.halvorsen.cc> Date: Sat, 22 Jul 2006 21:32:58 +0200 From: Svein Halvor Halvorsen User-Agent: Thunderbird 1.5.0.2 (X11/20060522) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060722120330.3414.GERARD@seibercom.net> <6.0.0.22.2.20060722120323.02580840@mail.computinginnovations.com> <20060722131648.76D3.GERARD@seibercom.net> In-Reply-To: <20060722131648.76D3.GERARD@seibercom.net> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=9198BB40; url=mailto:pgpkey@svein.halvorsen.cc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char F8 hex) in message header 'Received' Received: ...smtpd/0.31.1) with ESMTP; l\370r, 22 jul 2006 ... ^ Subject: Re: Corrupt MBOX X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 19:33:04 -0000 Gerard Seibert wrote: >> It may be corrupted by spam. This happens when SPAM has bad headers. This >> effects all POP clients/servers. >> >> -Derek > > OK, is there any easy repair process that I can use to remedy the > situation? Second, why isn't the mail corrupted on the mail server that > I am getting this mail from? If it corrupts my mbox, then why not theirs? I've gotten a fair share of SPAM through the years, but never has it corrupted my mailbox. Maybe my mail delivery agent (qmail) is doing something clever. I wouldn't know. However, I have had troubles with locking, and different processes (eg, qmail, pine, home brewed filters, etc) trying to write to the same file at the same time. In what way are your mailbox corrupt? Could you pass it through formail, and split in individual messages? Your MUA og POP3 server should care less in you flip bits in in the message bodies, or even headers, as long as there's no control char or other stuff like that in there. Maybe the From-lines are broken? I think I'd try to split the file at lines starting with "From " (notice the space and lack of colon : after From). All the resulting files should be valid mailboxes. Svein Halvor