Re: Corrupt mail-spool files

2000-10-23 Thread Fredrik Steen

On Wed, Oct 18, 2000 at 04:08:19PM +0200, Jarle Aase wrote:
| I'm having some problems with the mail spool files on some servers I maintain. The 
|pop3 server lists a wrong number of messages, and sometimes MS Outlook "freeze" when 
|downloading mail (probarby because it don't get the terminating . when it expects 
|it). 
| 
| I'm using the latest Debian Potato and sendmail/qpopper. I've also installed qpopper 
|3.1 on one machine to see if it was able to fix the problems. I've not seen any new 
|problems on this machine yet - but it don't seem to recover corrupted spoolfiles. 
| 
| Is there any utilities that can scan and fix the spoolfiles in /var/spool/mail ?
| 
| Jarle
| -- 
| Jarle Aase  email: [EMAIL PROTECTED]
| Author of freeware. http://www.jgaa.com
| (War FTP Daemon)news:alt.comp.jgaa
| 
| PGP key: http://war.jgaa.com/pgp
| 
|  no need to argue - just kill'em all!  

I have had almost the same problem. I solved it by checking the mailspools
so that their atime was not in the future. The ones with the problem
had a future timestamp...

-- 
Fredrik Steen
%{---+
 | [EMAIL PROTECTED] |
 | +46 (0)54 7756212 |
 +---%}



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: Corrupt mail-spool files

2000-10-20 Thread Jarle Aase

Thanks for the suggestions.

The problem is that I have too many Debian boxes running around to start reconfiguring 
the mail-system. I also needed the corrupted emails to get to the destination. So I 
ended up writing the mailspool-tool I was asking for.

If anyone else can have any use of it, it's available from:

  http://download.jgaa.com/ftp/pub/unsupported/chkmailspool-1.1.tgz

The little thing can analyze and repair spoolfiles, delete ranges of messages, export 
ranges of messages to email (forward), and list the messages in the spoolfiles. 

Jarle
-- 
Jarle Aase  email: [EMAIL PROTECTED]
Author of freeware. http://www.jgaa.com
(War FTP Daemon)news:alt.comp.jgaa

PGP key: http://war.jgaa.com/pgp

 no need to argue - just kill'em all!  


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Corrupt mail-spool files

2000-10-18 Thread Jarle Aase

I'm having some problems with the mail spool files on some servers I maintain. The 
pop3 server lists a wrong number of messages, and sometimes MS Outlook "freeze" when 
downloading mail (probarby because it don't get the terminating . when it expects it). 

I'm using the latest Debian Potato and sendmail/qpopper. I've also installed qpopper 
3.1 on one machine to see if it was able to fix the problems. I've not seen any new 
problems on this machine yet - but it don't seem to recover corrupted spoolfiles. 

Is there any utilities that can scan and fix the spoolfiles in /var/spool/mail ?

Jarle
-- 
Jarle Aase  email: [EMAIL PROTECTED]
Author of freeware. http://www.jgaa.com
(War FTP Daemon)news:alt.comp.jgaa

PGP key: http://war.jgaa.com/pgp

 no need to argue - just kill'em all!  


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Corrupt mail-spool files

2000-10-18 Thread Russell Coker

On 2000-10-18 16:08, Jarle Aase wrote:
I'm having some problems with the mail spool files on some servers I
 maintain. The pop3 server lists a wrong number of messages, and sometimes
 MS Outlook "freeze" when downloading mail (probarby because it don't get
 the terminating . when it expects it).

I'm using the latest Debian Potato and sendmail/qpopper. I've also installed
 qpopper 3.1 on one machine to see if it was able to fix the problems. I've
 not seen any new problems on this machine yet - but it don't seem to
 recover corrupted spoolfiles.

Is there any utilities that can scan and fix the spoolfiles in
 /var/spool/mail ?

I recommend that you do the following:

1)  Use procmail for local delivery.
2)  Convert mailboxes to ~/Maildir/ format.
3)  Use either the Qmail POP server or the Solid POP server (which both 
support Maildir).

Then most types of corruption will be impossible (the distinction between 
where one message ends and the next starts is very clear when it's 1 file per 
message).  Any corruption will be very minor and not affect operation of the 
program.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]