syd@DSI.COM (Syd Weinstein) (03/17/91)
germuska@casbah.acns.nwu.edu (Joe Germuska) writes: > Is there a limit to the number of rules one can use? The number of rules allowed is chosen by the installer. Its set in the hdrs/filter.h file in the define MAXRULES. The default is 25 in the source as distributed. -- ===================================================================== Sydney S. Weinstein, CDP, CCP Elm Coordinator Datacomp Systems, Inc. Voice: (215) 947-9900 syd@DSI.COM or dsinc!syd FAX: (215) 938-0235
keith@hpfcso.FC.HP.COM (Keith Manley) (03/21/91)
/ hpfcso:comp.mail.elm / germuska@casbah.acns.nwu.edu (Joe Germuska) / 11:48 am Mar 16, 1991 / My .elm filter works fine for the first 6 or 7 rules I have, but all the rules I've added since I first created it fail! Is there a limit to the number of rules one can use? Or did I not type them correctly, although they look identical to the ones that do work... Oh, heck, I may as well include my filter in this post to make it more clear: ----- ----- ----- # $HOME/.elm/filter-fules # # Filter rules for the Elm Filter Program. # Remember, Order counts # rule 1 if (to "gabriel-request") then save "/home/u5/germuska/Mail/admin" # rule 2 if (to "gabriel") then savecopy "/home/u5/germuska/archives/digest.%d.%m.%y" #rule 3 if (to "freaks") then save "/home/u5/germuska/Mail/marillion" #rule 4 if (to "flat-fields") then save "/home/u5/germuska/Mail/bauhaus" # rule 5 if (to "other-voices") then save "/home/u5/germuska/Mail/cure" # rule 6 if (to "ceremony") then save "/home/u5/germuska/Mail/joydiv" # rule 7 if (to "tape-heads") then save "/home/u5/germuska/Mail/dead" *# rule 8 *if (to = "info-hedges") then save "home/u5/germuska/Mail/hedges" *# rule 9 *if (to = "police") then save "home/u5/germuska/Mail/police" *# rule 10 *if (subject = "glastonbury") then save "home/u5/germuska/Mail/curetree" *# rule 11 *if (to = "4AD-L" then save "home/u5/germuska/Mail/4ad" *=doesn't work properly The last 4 rules "work" in that, when the filter-summary comes up, it says that the mail was saved in the appropriate folders, but when the errors come up, it says it couldn't save to those folders! Anyone have any ideas? -- |----Joe Germuska | germuska@casbah.acns.nwu.edu | ---- (708) 864-5939 --- | |-Join the Peter Gabriel Mailing List:gabriel-request@casbah.acns.nwu.edu- | | Abolish the Death Penalty! E-mail me for transcript of AI Death Pen info | |"If I should die in a car wreck, may I have Van Morrison on my tape deck" | ----------
garath@ais.org (Belgarath) (03/24/91)
In a previous article, keith@hpfcso.FC.HP.COM (Keith Manley) wrote: ->if (to "tape-heads") then save "/home/u5/germuska/Mail/dead" ->*# rule 8 ->*if (to = "info-hedges") then save "home/u5/germuska/Mail/hedges" Notice on rules 1-6 you have /home/u5 and on rules 8 and on you have home/u5....no leading / Could that be it?