[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail filtering



On 07/05/2012 09:59 PM, Bob Proulx wrote:
> lee wrote:
>> I've looked at formail + procmail , but formail forces it into mailbox
>> format which I dont want.
> With Maildir format you don't need formail.  Just pipe each individual
> message to procmail.
>
> Of the top of my head and untested:
>
>   for m in Maildir/new/* Maildir/cur/*; do
>     procmail myprocmailrcfile < $m
>   done
>
> Best to test it with one message first to make sure it all works
> before trying to run on a large mailbox.
>
> Bob
Hi

I did something similar but ended up creating alot of 'copies' which I
didn't want. but thanks. now I at least know
I was on the right track.

Regards
Lee


Reply to: