home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Internet / PD / News_Email / Newshound / !NewsHound / Docs / ExamplRule next >
Text File  |  1998-08-31  |  4KB  |  100 lines

  1. # NewsHound example rule file (!NewsHound.config.GlobalRule)
  2. #
  3. # Best view in 100 columns or wider!
  4. # Written By J.Heenan, 1997
  5. #
  6. # THESE RULES MUST BE SEPARATED BY TABS([09])!
  7. # use Ctrl-I in !Edit, or use !Zap (or even !StrongEd)
  8. # NB. Columns MAY NOT be left BLANK. (put a '*' in unused columns)
  9. #
  10. # rules are executed downwards - ie. last matching rule overrides all previous
  11. #
  12. # for text fields, * means match anything, # any one character
  13. # valid entries for amount field are : art,head,xover or none
  14. # none:  ignore article totally
  15. # xover: generate a header for the article from the information
  16. #        we already have (quicker than head)
  17. # head:  fetch a article header from the server for this article
  18. # art:   fetch the complete article from the newsserver
  19. #
  20. # Note that the group line is matched to the group currently been fetched -
  21. # /NOT/ the Groups: line in the article
  22. #
  23. # the from line matches the exactly what is in the article
  24. # From: line. if you're matching an email address, it's best
  25. # to put *'s either side.
  26. #
  27. # for lines/bytes/xposts field, entry must be either <xx,<xxk,>xx or >xxk
  28. # where xx is any number (and k indicates kilobytes for bytes field)
  29. #
  30. # Lines beginning # are comments
  31. # Lines beginning $ are section markers AND SHOULDN'T BE REMOVED!
  32. # (they don't actually mean anything, but may be used by an wimp
  33. #  interface to the killfile that I might make)
  34. # Note that Pluto will remove any lines you insert manually between
  35. # $ header only and $ max limits
  36. #
  37. # A english translation of this kill file would be:
  38.  
  39. # unless I specify otherwise below, get the whole article
  40. #    "       "          "      "  , xover articles posted to more
  41. #                                   than 5 newsgroups
  42. #    "       "          "      "  , xover articles bigger than 8k
  43. #    "       "          "      "  , get the zeroth part of articles in
  44. #                                   comp.binaries
  45. #    "       "          "      "  , only fetch the headers for the FAQ
  46. #    "       "          "      "  , get all articles posted by people
  47. #                                   with acorn.co.uk addresses
  48. # don't download articles from aol.com
  49. # don't download articles with 'MONEY' in the subject.
  50. # don't download articles crossposted to more than 10 groups
  51.  
  52. # Explanation of columns:
  53. # group     this newsgroup newshound is currently downloading
  54. # subject   article subject
  55. # from      the article's from header
  56. # bytes     the articles size in bytes (including header)
  57. # lines     article length (excluding header)
  58. # msg-id    article's message id
  59. # ref's     the articles References: lines
  60. # x-posts   the number of groups the article is crossposted
  61. #           (NB. Not supported by all news servers)
  62.  
  63. # There's an older fileformat without the 'msg-id', 'refs' and 'x-posts'
  64. # columns. NewsHound auto detects either format on a line-by-line basis.
  65.  
  66. # group        subject        from        bytes    lines    msg-id    ref's    x-posts    amount
  67.  
  68. $ default action:
  69. *        *              *        *    *    *    *    *    art
  70.  
  71. # NB. The _ONLY_ thing that should be listed in the next section is groups
  72. # that you want fetched header only. Put anything in manually and you risk
  73. # losing it!
  74. $ header only:
  75.  
  76. $ max limits:
  77. # Get header for anything bigger than 8k
  78. *        *        *        >8k    *    *    *    *    xover
  79. # Get header for anything posted to over 5 groups
  80. *        *        *        *    *    *    *    >5    xover
  81. # Kill anything posted to more than 10 groups
  82. *        *        *        *    *    *    *    >10    none
  83.  
  84. # This next section contains things you want to override from the above rules - eg.
  85. # postings by certain people or on certain subjects
  86. $ exceptions:
  87. comp.binaries.*    *[0/*        *           *    *    *    *    *    art
  88. *        *Acorn FAQ*    *        *    *    *    *    *    head
  89. *        *            *@acorn.co.uk*    *    *    *    *    *    art
  90. # Get all articles from some.group, unless they match something below
  91. some.group    *        *        *    *    *    *    *    art
  92.  
  93. # The next session should contain things that you NEVER, ever want to see 
  94. $ kills:
  95. # Kill anything posted with an aol email address
  96. *        *        *@aol*        *    *    *    *    *    none
  97. # Kill any articles with MONEY (in uppercase) in title
  98. *        *MONEY*        *        *    *    *    *    *    none
  99.