Re: Filtering an existing mbox with procmail
On Die, 24 Apr 2007, Alexandre Neubert wrote:
> I tested it yesterday evening and got some (little) trouble with the
> command:
> formail -s procmail -Y .procmail/debian-list.rc < Mail/inbox
>
> I get:
> Error when trying to write msg xxx to ""
>
> for each message he tries to move (same error when replacing the -Y with
> -m).
>
> I switched to formail -s procmail < Mail/inbox
>
> This works, but is awfully slow and seems never to end (it launches a
> process in fg that does not stop; like as it was a daemon) and after 15
> minutes he hardly had moved 2/3 of my 10 test messages.
>
> Is this any normal??
no it's not.
i like it like..:
cat <mailbox> | formail -s procmail
and if you use maildir, it could be done in parallel
cat <mailbox> | formail -n 20 -s procmail
--
Florian Reitmeir
Reply to: