Re: Mbox mailbox --> postfix?...
-- 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 user@localhost < 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.
Reply to: