Re: splitting mbox files

2003-11-29 Thread HdV
On Fri, 28 Nov 2003, Vincent Lefevre wrote: > There is no problem with the Content-Length header unless you use > broken software. If the value is incorrect (which isn't really > important before the message is stored to the mbox mailbox), the > MDA can still fix it. Tell that to SUN. They have s

Re: splitting mbox files

2003-11-27 Thread Vincent Lefevre
On 2003-11-27 22:57:35 +0100, [EMAIL PROTECTED] wrote: > On Thu, 27 Nov 2003, Karsten M. Self wrote: > > Show me an mbox file with a message line starting with "From". > > Well, you should be right. Normally those would be converted to ">From" With the Content-Length header, this is useless. Norm

Re: splitting mbox files

2003-11-27 Thread cls-du
For a screwy format like mbox, use a program designed to deal with the screwy format. Try something like this. mkdir tmp cat bigfatmboxfile | formail -s sh -c 'cat > tmp/$FILENO' Formail is one of those programs that keep getting more versatile as you learn more about them. It's in the pro

Re: splitting mbox files

2003-11-27 Thread Vincent Lefevre
On 2003-11-27 06:17:00 -0800, Karsten M. Self wrote: > Show me an mbox file with a message line starting with "From". I had one here, but it is easy to make one with a line starting with From. If you want, I can forward it... -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web:

Re: splitting mbox files

2003-11-27 Thread HdV
On Thu, 27 Nov 2003, Karsten M. Self wrote: > Show me an mbox file with a message line starting with "From". Well, you should be right. Normally those would be converted to ">From" or something like that, but I have experienced more than one case of the MDA not doing so. }:-( Too bad, you can't t

Re: splitting mbox files

2003-11-27 Thread Karsten M. Self
on Sun, Nov 23, 2003 at 12:52:22PM +0900, Vincent Lefevre ([EMAIL PROTECTED]) wrote: > On 2003-11-16 14:16:40 +, ben wrote: > > pigeon posted this script just yesterday. > > > > - > > #!/bin/bash > > IFS=$'\n' > > i=0 > > BASENAME="split.mbox

Re: splitting mbox files

2003-11-27 Thread Vincent Lefevre
On 2003-11-16 14:16:40 +, ben wrote: > pigeon posted this script just yesterday. > > - > #!/bin/bash > IFS=$'\n' > i=0 > BASENAME="split.mbox" > while read x; do > echo "$x" | grep '^From ' && i=$(( i + 1 )) > echo "$x" >> $BASENAM

Re: splitting mbox files

2003-11-17 Thread Jonathan Dowland
On Sun, Nov 16, 2003 at 06:06:07PM -0500, TR wrote: > mb2md in sid Additionally 'safecat' is handy (can be slotted in to procmail too). There's some info in the safecat manpage which states that procmail's maildir implemention is flawed (which sounds like a grudgematch occured at some point). --

Re: splitting mbox files

2003-11-16 Thread Micha Feigin
On Sun, Nov 16, 2003 at 02:14:00PM -0500, ScruLoose wrote: > On Sun, Nov 16, 2003 at 12:44:02PM +, Rus Foster wrote: > > Hi, > > Is there a program on debian that would let me split an mbox file into a > > series of single files each containing an email? I've looked and found > > mboxgrep but

Re: splitting mbox files

2003-11-16 Thread TR
mb2md in sid On Sun, 16 Nov 2003 14:14:00 -0500 ScruLoose <[EMAIL PROTECTED]> wrote: > On Sun, Nov 16, 2003 at 12:44:02PM +, Rus Foster wrote: > > Hi, > > Is there a program on debian that would let me split an mbox file > > into a series of single files each containing an email? I've looke

Re: splitting mbox files

2003-11-16 Thread ScruLoose
On Sun, Nov 16, 2003 at 12:44:02PM +, Rus Foster wrote: > Hi, > Is there a program on debian that would let me split an mbox file into a > series of single files each containing an email? I've looked and found > mboxgrep but not sure if there is something else that would be better It kinda so

Re: splitting mbox files

2003-11-16 Thread ben
On Sun, 16 Nov 2003 12:44:02 + (GMT) Rus Foster <[EMAIL PROTECTED]> wrote: > Hi, > Is there a program on debian that would let me split an mbox file > into a > series of single files each containing an email? I've looked and found > mboxgrep but not sure if there is something else that would