Re: Inbox repair tool

2001-02-27 Thread ed

On Tue, Feb 27, 2001 at 08:15:11AM +0530, Suresh Ramasubramanian wrote:
 Osamu Aoki proclaimed on mutt-users that: 
 
  Also, exim+procmail supports MAILDIR too.
  
  Delivery to folders of whatever kind (MH, maildir, mbox etc) is a
  job for the local delivery agent.  Right - procmail does maildir
  (at least the newer ones), and qmail's maildrop (I think) does that
  as well.

qmail can use either mbox or maildir -- but from what I've read, maildir
was introduced by qmail.  (and qmail's docs include a small rant about
mbox and why we should all switch to maildir. ;-)  maildrop is
unrelated; it seems to be somewhat like procmail -- it does filtering,
and can store messages in either mbox files or in maildir directories.

I have a question which is somewhat related to the original message.  If
I want to operate on a large block of messages (say, 200-1000) -- how
can I do so?  Without holding down the 't' key, that is ... ;-)  I'm
hoping there's a tag operation which operates on a range of message
numbers; but I haven't found such a thing in the docs yet.

thanks --

Ed



Re: Inbox repair tool

2001-02-27 Thread Erik van der Meulen

On Mon, Feb 26, 2001 at 15:29:16 +0100, Erik van der Meulen wrote:

 I have a large inbox archive file, that seems to be a little corrupt.
 One or two odd entries and mutt will open it, but can't seem to close it
 again. Is there anything to check op repair these files?

Thanks to all who responded. The suggestion to try formail did just what
I wanted. From the man page:

To  convert  a  non-standard  mailbox file into a standard
   mailbox file you can use:
 formail -ds old_mailbox new_mail

Regards.

--
  Erik van der Meulen [EMAIL PROTECTED]



Re: Inbox repair tool

2001-02-26 Thread Daniel Eisenbud

On Mon, Feb 26, 2001 at 03:29:16PM +0100, Erik van der Meulen 
[EMAIL PROTECTED] wrote:
 I have a large inbox archive file, that seems to be a little corrupt.
 One or two odd entries and mutt will open it, but can't seem to close it
 again. Is there anything to check op repair these files?

If mutt will open it and successfully read messages, your best bet is to
open the mailbox and save all the messages to a new mailbox.

-Daniel

-- 
Daniel E. Eisenbud
[EMAIL PROTECTED]



Re: Inbox repair tool

2001-02-26 Thread Osamu Aoki

Hi,

On Mon, Feb 26, 2001 at 03:29:16PM +0100, Erik van der Meulen wrote:
 I have a large inbox archive file, that seems to be a little corrupt.

If "inbox archive file" is in mbox style and file size of the 
"inbox archive file" is 2GB(Linux file size limit) or some
special file size Mutt care(Which I do not know), you may not 
be able to save all of the content in a single mbox due to
file size limitation.

Mark most but last few emails and save them in different mbox, 
then save the rest in other mbox, if this is the case.

Everytime you open mbox style mailbox, Mutt will add a line to indicate
status etc. 

Also, if you really have corrupt mail in it, you may also check
set up of procmail etc.  You may not have set file locking properly.

Good luck.

Osamu
-- 
+  Osamu Aoki [EMAIL PROTECTED], GnuPG-key: 1024D/D5DE453D  +
+   Fingerprint: 814E BD64 3288 40E7 E88E  3D92 C3F8 EA94 D5DE 453D   +
+   http://www.aokiconsulting.com/pc/  Cupertino, CA USA  +




Re: Inbox repair tool

2001-02-26 Thread Jason Helfman

After this your best bet would be to look into using a smtp server that
delivers in MAILDIR format. In this format, each peice of mail is it's
own file. So if any corruption occurs, it is only in the case of that
one particular email.

For starters, I know that qmail does MAILDIR.

www.qmail.org


On Mon, Feb 26, 2001 at 03:29:16PM +0100, Erik van der Meulen muttered:
| I have a large inbox archive file, that seems to be a little corrupt.
| One or two odd entries and mutt will open it, but can't seem to close it
| again. Is there anything to check op repair these files?
| 
| Thanks a lot.
| 
| --
|   Erik van der Meulen [EMAIL PROTECTED]

-- 
/Jason G Helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149



Re: Inbox repair tool

2001-02-26 Thread Osamu Aoki

Also, exim+procmail supports MAILDIR too.

Erik, your Debian have packages for these.
Just configure procmail with MAILDIR delivary or install qmail.
Osamu

Oi Mon, Feb 26, 2001 at 10:53:56AM -0800, Jason Helfman wrote:
 After this your best bet would be to look into using a smtp server that
 delivers in MAILDIR format. In this format, each peice of mail is it's
 own file. So if any corruption occurs, it is only in the case of that
 one particular email.
 
 |   Erik van der Meulen [EMAIL PROTECTED]
-- 
+  Osamu Aoki [EMAIL PROTECTED], GnuPG-key: 1024D/D5DE453D  +
+   Fingerprint: 814E BD64 3288 40E7 E88E  3D92 C3F8 EA94 D5DE 453D   +
+   http://www.aokiconsulting.com/pc/  Cupertino, CA USA  +




Re: Inbox repair tool

2001-02-26 Thread Suresh Ramasubramanian

Osamu Aoki proclaimed on mutt-users that: 

 Also, exim+procmail supports MAILDIR too.
 
 Delivery to folders of whatever kind (MH, maildir, mbox etc) is a
 job for the local delivery agent.  Right - procmail does maildir
 (at least the newer ones), and qmail's maildrop (I think) does that
 as well.
 
 Sendmail uses procmail as the local delivery agent - and so you can
 deliver to maildirs using sendmail.  No need to change your MTA
 just for this.

-s

 Erik, your Debian have packages for these.
 Just configure procmail with MAILDIR delivary or install qmail.

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin