Re: [vox-tech] how to separate e-mail spool file into individual messages?

2010-03-03 Thread Norm Matloff
Thanks to all who replied.  It looked like mb2md would be the easiest,
so I tried it, and it worked perfectly.

Norm

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] how to separate e-mail spool file into individual messages?

2010-03-03 Thread Brian Lavender
On Wed, Mar 03, 2010 at 12:16:35AM -0800, Brian Lavender wrote:
> On Tue, Mar 02, 2010 at 06:13:29PM -0800, Norm Matloff wrote:
> > The title says it all.  I want a program x such that I can run something
> > like
> > 
> > $ x /var/mail/mine
> > 
> > with the result that all the messages in /var/mail/mine get copied to
> > individual files in the current directory.
> > 
> > My guess is that there is an easy answer.  Please let me know.
> 
> I did this once and I forget which command I used exactly. Just searched
> Google for the following. 
> "convert mbox to maildir"
> 
> http://batleth.sapienti-sat.org/projects/mb2md/

I think I did use mb2md. It worked pretty well. You can install it from
Debian

apt-get install mb2md

-- 
Brian Lavender
http://www.brie.com/brian/

"About 3 million computers get sold every year in China, but people don't
pay for the software. Someday they will, though. As long as they are going
to steal it, we want them to steal ours. They'll get sort of addicted, and
then we'll somehow figure out how to collect sometime in the next decade."

-- Bill Gates (Microsoft) 1998
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] how to separate e-mail spool file into individual messages?

2010-03-03 Thread Brian Lavender
On Tue, Mar 02, 2010 at 06:13:29PM -0800, Norm Matloff wrote:
> The title says it all.  I want a program x such that I can run something
> like
> 
> $ x /var/mail/mine
> 
> with the result that all the messages in /var/mail/mine get copied to
> individual files in the current directory.
> 
> My guess is that there is an easy answer.  Please let me know.

I did this once and I forget which command I used exactly. Just searched
Google for the following. 
"convert mbox to maildir"

http://batleth.sapienti-sat.org/projects/mb2md/

-- 
Brian Lavender
http://www.brie.com/brian/

"About 3 million computers get sold every year in China, but people don't
pay for the software. Someday they will, though. As long as they are going
to steal it, we want them to steal ours. They'll get sort of addicted, and
then we'll somehow figure out how to collect sometime in the next decade."

-- Bill Gates (Microsoft) 1998
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] how to separate e-mail spool file into individual messages?

2010-03-02 Thread Bill Kendrick
On Tue, Mar 02, 2010 at 06:33:17PM -0800, Tony Cratz wrote:
>   If you don't have procmail install, install it.
>   Then do a "man formail" for instruction on the -s option.

Wow, "formail", that brings me back.  (Back to what, I don't
remember! ;) )

-bill!
See some of you at the Social Gathering in a few!
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] how to separate e-mail spool file into individual messages?

2010-03-02 Thread Chanoch (Ken) Bloom
On Tue, 2010-03-02 at 18:13 -0800, Norm Matloff wrote:
> The title says it all.  I want a program x such that I can run something
> like
> 
> $ x /var/mail/mine
> 
> with the result that all the messages in /var/mail/mine get copied to
> individual files in the current directory.
> 
> My guess is that there is an easy answer.  Please let me know.

I think that you would use the inc command from mh.
http://www.faqs.org/faqs/mail/mh-faq/part1/ gives examples

--Ken
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] how to separate e-mail spool file into individual messages?

2010-03-02 Thread Tony Cratz
Norm Matloff wrote:
> The title says it all.  I want a program x such that I can run something
> like
> 
> $ x /var/mail/mine
> 
> with the result that all the messages in /var/mail/mine get copied to
> individual files in the current directory.
> 
> My guess is that there is an easy answer.  Please let me know.

If you don't have procmail install, install it.
Then do a "man formail" for instruction on the -s option.



Tony
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] how to separate e-mail spool file into individual messages?

2010-03-02 Thread Norm Matloff
The title says it all.  I want a program x such that I can run something
like

$ x /var/mail/mine

with the result that all the messages in /var/mail/mine get copied to
individual files in the current directory.

My guess is that there is an easy answer.  Please let me know.

Norm

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech