[ Will Fiveash wrote on Thu  4.Oct'12 at 16:04:47 -0500 ]

> On Thu, Oct 04, 2012 at 10:54:39AM +0200, M. Fioretti wrote:
> > 
> > On Thu, October 4, 2012 10:47 am, Alexis Letessier wrote:
> > 
> > > I use notmuch to index all my emails but i need some kind of database or
> > > something to redirect threads that i already filtered out.
> > > Is this a strange idea or should i change my workflow? Any ideas on how
> > > this could be implemented?
> > 
> > I do the same thing with a custom procmail recipe explained here on my blog:
> > 
> > http://freesoftware.zona-m.net/how-ignore-uninteresting-threads-in-mailing-lists/
> 
> 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
> 
> To mark a thread/subthread for killing I use this with mutt:
> macro pager \\k 
> "<ESC>t;|killthread\n;<save-message>=killedthreads\n<delete-subthread>" "Kill 
> this subthread"
> 
> I've attached both the isthreadkilled and killedthreads scripts.  Note,
> these are run on Solaris and will need to be edited slightly to work on
> other platforms.
> 
> -- 
> Will Fiveash

Thanks Will - I've also found this stuff helpful, cheers for sharing it.

Jamie

Reply via email to