nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] [patch] filtering support for inc


From: Jon Steinhart
Subject: Re: [Nmh-workers] [patch] filtering support for inc
Date: Sun, 16 Jul 2017 17:32:48 -0700

address@hidden writes:
> 
> On Sun, 16 Jul 2017 22:21:46 -0000, Thomas Levine said:
> 
> > Has something like filtering support for inc been written?
> > https://www.mail-archive.com/address@hidden/msg06078.html
> >
> > I wound up writing something that runs inc and than passes each
> > particular message in the resulting folder to slocal (attached).
> > It seems strange to me that nmh doesn't include something like this.
> 
> I can't speak for others, but if you're going to the trouble of adding
> filtering support, the user should be able to specify the filter to be
> used.
> 
> Of course, I'm saying that because I looked at slocal, then looked
> at the much more expressive language that procmail provides, and never
> looked at slocal again.  Currently, I use fetchmail feeding into procmail
> in the background.

Look at the hooks stuff that I added a long time ago.  It's not specific
to inc, it allows you to run external programs when messages are added and
removed from folders.  I use it with ElasticSearch to have fast mail
searching.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]