home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!know!mips2!news.bbn.com!usc!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!dattier
- From: dattier@ddsw1.mcs.com (David W. Tamkin)
- Newsgroups: comp.mail.elm
- Subject: Re: problems with filter: too many rules??
- Message-ID: <1992Aug30.043145.10093@ddsw1.mcs.com>
- Date: 30 Aug 92 04:31:45 GMT
- References: <9208272004.AA09792@marie.stat.uga.edu>
- Organization: Contributor Account at ddsw1, Chicago, Illinois 60657
- Lines: 44
- X-Disclaimer: Material posted in this article is the sole responsibility of
- the poster and does not represent MCSNet or the system owners.
-
- david@MARIE.STAT.UGA.EDU (David Gundlach) wrote in
- <9208272004.AA09792@marie.stat.uga.edu>:
-
- | I am using filter for all of my mail, and I've gotten pretty complex.
- | The other day I added a new group of rules, which bumped my total up
- | to 26. At that point, I found that a filter summary gave really
- | strange values for my last rule-- executed hundreds of millions of
- | times for negative billions of percent!
-
- You want to see more fun? Add a twenty-seventh rule. Then add a
- twenty-eighth. There's no more fun after #28, though; #29 and the
- rest act just like #28. When I was running a mailing list and had
- thirty filter rules, my short summaries were an exercise in low comedy.
- The short summary goes nuts if you have more than twenty-five rules.
-
- I posted about it when it happened to me. It seems that the short
- summary routines are hardcoded to expect twenty-five rules at most.
-
- Someone (a name like "Steve Schlobohm" comes to mind) posted a patch to
- allow filter to read rules from a file other than $HOME/.elm/filter-rules.
- With that patch you could condense a number of rules in your main file by
- executing /path/to/filter -f newrulesfile, and there would be twenty-five or
- fewer in the main rules file that the summary command would see. Maybe the
- summary command understood -f after that patch and had its own summary and
- log files for each rules file, but I don't think so; a summar, short or long,
- would simply have shown the action of executing /path/to/filter -f rulesfile
- and you wouldn't be able to see which rule from the secondary file had been
- picked up.
-
- | I removed one rule, to put me back down to 25, and the problem disappeared.
- | Any help would be appreciated, since I would not only like to add that rule
- | back in but can see a time when I would add yet more rules.
-
- The long summary and the actual actions work fine with more rules. My
- suggestion is to ignore the wild statistics in the short summary. If you
- can't ignore them, try procmail or deliver to throw your mail.
-
- | This letter was sent to news (I hope!) via email, so please reply in kind.
-
- Uh, I'm not sure whether "in kind" refers to news or email, so I'm replying
- both ways.
-
- David W. Tamkin Box 59297 Northtown Station, Illinois 60659-0297
- dattier@ddsw1.mcs.com CompuServe: 73720,1570 MCI Mail: 426-1818
-