home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / internet / fidomail_1 / !FidoMail / Dox / WeedHelp < prev   
Text File  |  1993-12-17  |  2KB  |  63 lines

  1. Defining your own weeding types.
  2. --------------------------------
  3.  
  4. It is possible to define up to 16 weed types.
  5. This is done in the !Config file with the 'WeedType' keyword.
  6. For each weedtype, write a line like this:
  7.  
  8. WeedType <name> [<clause>[ <clause>...]]
  9.  
  10. The <name> will appear in the 'Weed' menu and should be 1-12 letters.
  11. The <clause> (if present) is one or more of the following booleans:
  12. (Case doesn't matter)
  13.  
  14. Boolean:    TRUE, if:
  15.  
  16. Found        The message was found with the 'Search' function
  17. Read        The message has been read at least once
  18. Sent        The message has been sent to all downlinks
  19. Personal    The message is to or from you
  20. Marked        The message is marked
  21. New        The message was in the recently tossed packet
  22.  
  23. The booleans can also be prefixed by Not (eg. 'NotSent') which will negate
  24. their meanings.
  25. Furthermore, there is:
  26.  
  27. Age>xx 
  28. Age<xx
  29.  
  30. which will be true if the message is in the range specified.
  31.  
  32. To determine whether a message should be deleted, the booleans are calculated,
  33. and if ALL OF THEM are true (ie there's AND in between), the message is
  34. deleted. Missing booleans are 'Don't care' (not checked).
  35.  
  36. An example would be 'Delete all mail which is older than 14 days, but not if
  37. I haven't read it or it haven't been sent yet or if I've marked it as
  38. important.'
  39. This is expressed in the !Config file as:
  40.  
  41.     WeedType "Fortnight" Age>14 Read Sent NotMarked
  42.  
  43. Which, in words, could be expressed as: 'Delete messages whose age is greater
  44. that 14 days AND which is read AND sent AND not marked.'
  45.  
  46. Another example:
  47. 'Delete all mail except the important (marked) mail and my personal mail.'
  48.  
  49.     WeedType "Clean" NotMarked NotPersonal
  50.  
  51. One more:
  52. 'Retain only the latest messages and the marked ones'
  53.  
  54.     WeedType "Old" NotNew NotMarked
  55.  
  56. Yet another example:
  57. 'Delete all mail'
  58.  
  59.     WeedType "All"
  60.  
  61. (there's nothing after the name, so everything is 'Don't care')
  62.  
  63.