Mbox mailbox -- postfix?...

2001-01-26 Thread Max Lock

 Hi folks,

 I've got an mbox format mailbox file, which I want to reprocess through
postfix. Does anyone know of a lump of perl etc. that's already been
written that'll split-up and create the necessary mail files that I can
dump into postfix's incoming mail dir?

 Long shot I know, I've got 211Mb of mail to get thru!! :)

 -Max

-- 
Max Lock, Linux Systems Administrator, TELE2 uk. http://3558031516

Linux like wigwam. No windows, no gates, Apache inside.



Re: Mbox mailbox -- postfix?...

2001-01-26 Thread MaD dUCK
  I've got an mbox format mailbox file, which I want to reprocess through
 postfix. Does anyone know of a lump of perl etc. that's already been
 written that'll split-up and create the necessary mail files that I can
 dump into postfix's incoming mail dir?

run something like

formail -s sendmail [EMAIL PROTECTED]  mailbox

this will send it all to localhost port 25 and postfix will process
it.

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
no, 'eureka' is greek for 'this bath is too hot.'
-- dr. who



Re: Mbox mailbox -- postfix?...

2001-01-26 Thread Max Lock

-- MaD dUCK wrote:
 
   I've got an mbox format mailbox file, which I want to reprocess through
  postfix. Does anyone know of a lump of perl etc. that's already been
  written that'll split-up and create the necessary mail files that I can
  dump into postfix's incoming mail dir?
 
 run something like
 
 formail -s sendmail [EMAIL PROTECTED]  mailbox
 
 this will send it all to localhost port 25 and postfix will process
 it.

 not quite, that'll send the file to one person, I need to pull each
mail from out of the mbox file, and send it to the `to' address in the
mail.

 -Ta Max.

Max Lock, Linux Systems Administrator, TELE2 uk. http://3558031516

Linux like wigwam. No windows, no gates, Apache inside.



Re: Mbox mailbox -- postfix?...

2001-01-26 Thread MaD dUCK
also sprach Max Lock (on Fri, 26 Jan 2001 03:34:06PM +):
  formail -s sendmail [EMAIL PROTECTED]  mailbox
  not quite, that'll send the file to one person, I need to pull each
 mail from out of the mbox file, and send it to the `to' address in the
 mail.

formail -s sendmail -t  mailbox

martin

[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL 
PROTECTED]@@@.net
-- 
i wish there was a knob on the tv to turn up the intelligence.
 there's a knob called 'brightness', but it doesn't seem to work.
  -- gallagher