home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / jkflters.txt < prev    next >
Text File  |  1999-04-13  |  6KB  |  191 lines

  1. ===============================================================
  2. ---------------
  3. FILTER Analysis
  4.  
  5. Filter Types  Search Types  Match Type  Final Disposition
  6. ------------  ------------  ----------  ------------------
  7. Inbound:  33   Simple:  84 Mtches: 101  Show in Index:  10
  8. Outbund:   3 Freeform:  21 Doesnt:   0   Not in Index:   1
  9.  In/Out:  67     REXX:   1 Always:   7     Delete NOW:  97
  10.  Demand:   2  Special:   2
  11. PreSend:   3
  12.  Outbox:   0
  13. PrFetch:   0                  Total number of filters: 108
  14.  
  15.  
  16. The above is an analysis of my filter setup.  The following
  17. describes the why's and wherefore's of my setup.
  18.  
  19.  
  20. =Timezone.
  21.  
  22. Uses a rexx procedure to
  23. adjust the time on incoming messages to my timezone.  This of
  24. course make the date/time sort much more meaningful.  It uses
  25. William Geiger's TZ1.CMD. Filter setup is:
  26.  
  27. Simple [nothing in criteria];Always;Inbound;Link to rexx;show in
  28. index;enabled.
  29.  
  30.  
  31. =Return receipt.
  32.  
  33. On occasion I send a message where I need a
  34. return receipt.
  35.  
  36. Simple;header;[RETURN RECEIPT & !
  37. MR2ICE.LIST@SECANT.COM];Matches;Inbound;copy to folder;Delete
  38. message NOW;enabled.
  39.  
  40.  
  41. =Bad mail for ICE list.
  42.  
  43. Since most of my return mail is for
  44. the ICE list, I want to keep it separate for other returned
  45. mail.
  46.  
  47. Free-form;{F}"MAILER-DAEMON" & ({S}"RETURNED MAIL:" | 
  48. {S}"WARNING:" |  {S}"DELIVERY REPORT (FAILURE)" |  {S}"HOST
  49. UNKNOWN (NAME SERVER: " |  {S}"MAIL FAILED, RETURNING TO SENDER"
  50. ) & {M}"ERRORS-TO: <LIST-ADMIN@SECANT.COM>";Matches;Inbound;copy
  51. to folder;Delete message NOW;enabled.
  52.  
  53. To exclude return mail for the ICE list you would simply change
  54. the free-form as follows:
  55.  
  56. {F}"MAILER-DAEMON" & ({S}"RETURNED MAIL:" |  {S}"WARNING:" | 
  57. {S}"DELIVERY REPORT (FAILURE)" |  {S}"HOST UNKNOWN (NAME SERVER:
  58. " |  {S}"MAIL FAILED, RETURNING TO SENDER" ) & ! {H}"ERRORS-TO:
  59. <LIST-ADMIN@SECANT.COM>"
  60.  
  61. Using this method you could set up a filter to isolate bad mail
  62. for different lists you may subscribe to.
  63.  
  64.  
  65. =Twit.
  66.  
  67. The now "infamous" twit filter is simple.
  68.  
  69. Free-form;{F}"id1@xxx.xxx" | {F}"id2@xxx.xxx" | {F}"id3@xxx.xxx"
  70. | {F}"id3@xxx.xxx" | etc.
  71.  
  72.  
  73. =Announce Arriving Mail.
  74.  
  75. Set a wav file to play when legitimate mail is received. 
  76. This filter should appear after any return mail or twit filter. 
  77. I have a wav file that says."You have mail". Using the PLAY.CMD
  78. that comes with OS/2 and is found in the MMOS directory.
  79.  
  80. Simple;[no matching criteria];Always;Inbound;Link to
  81. rexx[PLAY.CMD=GOTMAIL.WAV];Show in index;enabled.
  82.  
  83. This can get a little annoying if you have 25 messages come in
  84. all at once. So I enable this only when I'm in the other room
  85. from the PC.
  86.  
  87.  
  88. =Speakmail. 
  89.  
  90. Using the rexx application called BackTalk 1.2, I
  91. have a filter setup that calls the rexx procedure speakmail.cmd.
  92. This announces each legitimate message with, "You have received
  93. mail from XXXXXX, the subject is XXXXXX.
  94.  
  95. I enable this application when I an at my machine doing other
  96. work.  Thus I can identify a message that may be important. 
  97. Since the installation of this application is somewhat involved,
  98. I'll be happy to send the info to anyone who requests it.
  99.  
  100.  
  101. =c|net and other subscription magazines.
  102.  
  103. Using in/out allows me to retain any subscribe and/or 
  104. unsubscribe messages I might send re: this list.
  105.  
  106. Simple;[from address] | [list-admin address];in/out;copy to
  107. folder;delete message NOW;enabled.
  108.  
  109.  
  110. =Individual correspondents.  
  111.  
  112. Whenever I have more than 2 messages from an individual, I make
  113. a filter/folder.  If I have no further correspondence after 6
  114. months, I simply delete the filter/folder.  These filters 
  115. should appear after any return mail or audio play filters.
  116.  
  117. Simple;from/to;id@xxxx.xxx;matches;in/out;copy to folder;delete
  118. message now;enabled.
  119.  
  120.  
  121. =List filters and such.
  122.  
  123. I have a filter for the ICE list which removes all messages
  124. from Nick Knight and allows another filter to put Nick's
  125. messages in a folder all his own.
  126.  
  127.  
  128. =ICE filter.
  129.  
  130. Simple;[MR2ICE.LIST@SECANT.COM & !
  131. NICK@SECANT.COM];matches;in/out;copy to folder;delete message
  132. NOW;enabled.
  133.  
  134.  
  135. =Nick Knight filter.
  136.  
  137. Simple;[MR2ICE.LIST@SECANT.COM &
  138. NICK@SECANT.COM];matches;in/out;copy to folder;delete message
  139. NOW;enabled.
  140.  
  141. These filters should appear in the order shown.
  142.  
  143.  
  144. =Long/Short Signature. 
  145.  
  146. Two separate filters that call rexx
  147. procedures that create either a long or a short signature file.
  148. The tag is inserted into the middle of the signature.  I can
  149. also call these scripts using msgutil. So, if I am currently
  150. using the short sig with limited info and I want to respond to a
  151. message with complete information in sig file, I can simply
  152. press CtrlF[n] and create a long sig for the current reply only.
  153.  
  154. Simple[no search criteria];always;pre-send;link to rexx;show in
  155. index;enabled.
  156.  
  157.  
  158. =Mailbag in/out.
  159.  
  160. My last two filters are Mailbag-in and Mailbag-out
  161. respectively.
  162.  
  163. Simple;[No search criteria];inbound;always matches;copy to
  164. folder[Mailbag-in];enabled;delete message NOW.
  165.  
  166. Simple;[No search criteria];outbound;always matches;copy to
  167. folder[Mailbag-out];enabled;delete message NOW.
  168.  
  169. These two filters take any message that I don't have a filter
  170. for and moves it to either the in or out mailbag.  This allows
  171. me to view my folder list and see all of my unread messages
  172. including those that would have been in the ICE inbox or outbox. 
  173. As a result, I can always start up ICE with the parameter /3 and
  174. never look at the in or out boxes again, except if I'm writing a
  175. message that needs to be saved for later transmission. (It'll be
  176. held in the outbox until I complete and send it, at which time
  177. it'll end up in a filtered folder or the Mailbag-out folder.
  178.  
  179. ==============================================================
  180. If anyone is interested in the rexx procedures for any of the
  181. above filters you can obtain them as well as other rexx goodies
  182. by sending me a message with subject of "ICE2u REQUEST" 
  183. (without the quotes) with the word "commands" (again without 
  184. the quotes) and you'll receive instructions as to how to get 
  185. any of the files and/or goodies that I've been able to make 
  186. available to this group.
  187. ==============================================================
  188.  
  189.  
  190.  
  191.