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

Re: changing flavor of the linux world? was: craig sanders



On Wed, Nov 15, 2000 at 07:27:13AM +0100, Andreas Tille wrote:

> On Wed, 15 Nov 2000, Anthony Towns wrote:
> 
> > $ sudo apt-get install procmail
> > $ echo "|/usr/bin/procmail" > .forward
> > $ cat >> .procmailrc
> > :0 H
> > * ^From:.*cas@taz.net.au
> > /dev/null
> > $ _
> Huh, that isn't clever enough.  I would like to kill mails with subjects
> which were seen 10 times in my mailbox.  This is obviously a flamewar
> which I will not read.  I guess I need to write a perlscript which
> maintains a database of subjects and return false if counter is >= 10.

Rather than writing a Perl script, you could modify procmail's formail program,
which already has similar functionality for Message-IDs and sender addresses.

-- 
 - mdz



Reply to: