On Thu, Oct 11, 2012 at 10:12:16PM +0200, Alexis Letessier wrote:
> Hi Will,
> 
> Thanks again for your ideas.
> 
> On 04/10/12 16:04, Will Fiveash wrote:
> > I use procmail and some shell scripts to basically do the same.  Here is
> > my .procmail rule:
> > 
> > # Process killed threads, save killed threads in killedthreads mbox
> > :0:
> > * ? $HOME/bin/isthreadkilled
> > killedthreads
> 
> I have adapted you script to use notmuch index and included it in my
> procmail rule:
> 
> :0:
> * ? formail -c -x In-Reply-To: -x References: \
>     | tr -s '  ' '\n\n' \
>     | sed -e '/^\([^<].*\|.*[^>]\|\)$/ d' -e 's/[<>]//g' -e 's/^/id:/' \
>     | xargs -r -n 1 notmuch search --output=files \
>     | fgrep Archive >/dev/null
> Archive/

I don't see my script stuff in there so I'm thinking you probably need
to redirect your thanks to Marco.  If you are using some of my stuff,
you're welcome.

-- 
Will Fiveash

Reply via email to