[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] [patch] filtering support for inc
From: |
Andy Bradford |
Subject: |
Re: [Nmh-workers] [patch] filtering support for inc |
Date: |
20 Jul 2017 21:05:51 -0600 |
Thus said Thomas Levine on Thu, 20 Jul 2017 20:00:33 -0000:
> I have written slocal filters because I read about them in the MH
> book. Having done this, it would be convenient for me if I could run
> the slocal filters on new mail.
I use a simple shell script for this:
#!/bin/sh
MYINCTMP=`mhpath +MyIncTmp`
[ -e $MYINCTMP ] || mkdir -p $MYINCTMP
if inc +MyIncTmp -nochangecur -user username -host host
then
for file in $(mhpath +MyIncTmp all)
do
/usr/local/libexec/slocal -verbose < $file
test $? -eq 0 && rm $file
done
fi
Haven't ever really needed more. There are certainly fancier tools for
filtering than slocal, but I control most of what I need by simply using
unique email addresses.
Andy
--
TAI64 timestamp: 4000000059716fb4
- Re: [Nmh-workers] [patch] filtering support for inc, (continued)
- Re: [Nmh-workers] [patch] filtering support for inc, Ken Hornstein, 2017/07/16
- Re: [Nmh-workers] [patch] filtering support for inc, Jon Steinhart, 2017/07/16
- Re: [Nmh-workers] [patch] filtering support for inc, Paul Vixie, 2017/07/17
- Re: [Nmh-workers] [patch] filtering support for inc, Ken Hornstein, 2017/07/19
- Re: [Nmh-workers] [patch] filtering support for inc, Jon Steinhart, 2017/07/19
- Re: [Nmh-workers] [patch] filtering support for inc, Ralph Corderoy, 2017/07/20
- Re: [Nmh-workers] [patch] filtering support for inc, Jon Steinhart, 2017/07/20
- Re: [Nmh-workers] [patch] filtering support for inc, Ken Hornstein, 2017/07/20
- Re: [Nmh-workers] [patch] filtering support for inc, Jon Steinhart, 2017/07/20
- Re: [Nmh-workers] [patch] filtering support for inc, Thomas Levine, 2017/07/20
- Re: [Nmh-workers] [patch] filtering support for inc,
Andy Bradford <=
- [Nmh-workers] Volunteer Capacity., Ralph Corderoy, 2017/07/21
- Re: [Nmh-workers] Volunteer Capacity., Ken Hornstein, 2017/07/21
- Re: [Nmh-workers] Volunteer Capacity., Bob Carragher, 2017/07/21
- Re: [Nmh-workers] Volunteer Capacity., Ralph Corderoy, 2017/07/22
- Re: [Nmh-workers] Volunteer Capacity., Bob Carragher, 2017/07/23
- Re: [Nmh-workers] Volunteer Capacity., Ken Hornstein, 2017/07/23
- Re: [Nmh-workers] Volunteer Capacity., Bob Carragher, 2017/07/28
- Re: [Nmh-workers] Volunteer Capacity., Ralph Corderoy, 2017/07/28
- Re: [Nmh-workers] Volunteer Capacity., Bob Carragher, 2017/07/29
- Re: [Nmh-workers] Volunteer Capacity., Ralph Corderoy, 2017/07/30