home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / SPORT131.ZIP / WAITS.EXE / SPORTRTE.CTL < prev    next >
Text File  |  1991-05-15  |  5KB  |  114 lines

  1. ! Sample SPORT Routing Control File
  2. !
  3. ! In order to have SPORT route your mail intelligently, you will need to
  4. ! use the Intelligent Router (SPORTRTE.EXE) and this control file.  Both
  5. ! files must be located in your SPORT default directory.
  6. !
  7. ! This sample control file provides a basic explanation of the commands
  8. ! you can use to route mail.  Notice that comment lines begin with an
  9. ! exclamation mark and will be ignored by SPORT.  All valid command lines
  10. ! must begin in column one.
  11. !
  12. !
  13. ! Different parts of this control file can be activated at different times
  14. ! of the day.  Normally the Intelligent Router will try to act on each valid
  15. ! command in this file if the keyword TIMESLOT is not found.  However, if
  16. ! the keyword TIMESLOT is located, the Router will only act on lines following
  17. ! the TIMESLOT command if the system time is within the START and END hour
  18. ! arguments.  For example, if you used this statement:
  19. !
  20. !TIMESLOT 06 12
  21. !
  22. ! the Router would only process commands following this command if the system
  23. ! clock was between the hours of 06:00 and 12:00.  It is very important to
  24. ! note that this time restriction REMAINS IN EFFECT until a new restriction
  25. ! is encountered (a new TIMESLOT command).   Should you wish all commands
  26. ! to ALWAYS be processed use this:
  27. !
  28. !TIMESLOT 00 24
  29. !
  30. ! If you do not use a TIMESLOT command it is possible that your commands
  31. ! will not be processed or possibly not processed in the proper sequence.
  32. ! To avoid this, we suggest you always use the example TIMESLOT command
  33. ! above as the first line in your control file.
  34. !
  35. !TIMESLOT 00 05
  36. !Hold 521010
  37. !TIMESLOT 06 12
  38. !Route 521010
  39. !TIMESLOT 13 24
  40. !Hold 521010
  41. !
  42. !
  43. ! The most basic command for the Intelligent Router is the ROUTE command.
  44. ! It has several variations:
  45. !
  46. !ROUTE 521010
  47. !ROUTE 521010 TO JOEBLOW
  48. !ROUTE 521010 HOLD
  49. !HOLD 521010 (same meaning as the command above)
  50. !ROUTE 521010 TO JOEBLOW HOLD
  51. !
  52. ! First a word of explanation about routing.  To ROUTE a Flash Message means
  53. ! to move it from your inbound area (where it was received) to your outbound
  54. ! area (the SPORT default area) AND do something to it.  That "something"
  55. ! can be as simple as move it along (ROUTE 521010), put it on hold for
  56. ! the calling node to pick up (ROUTE 521010 HOLD), route it through to a
  57. ! different node altogether (ROUTE 521010 TO JOEBLOW) or route it through
  58. ! to another node but put it on hold to be picked up when that node calls
  59. ! (ROUTE 521010 TO JOEBLOW HOLD).  The key to how to route the Flash Message
  60. ! is contained in how this command line is constructed.  Study the examples
  61. ! above for the correct line contstruction.
  62. !
  63. ! Now that you have routed mail, suppose you want to keep a copy of the
  64. ! mail you are passing along.  This can be accomplised using the IMPORT
  65. ! keyword.  Let's assume that we want to route a Flash Message from
  66. ! 5210/10 to JOEBLOW but we also want to keep a copy of it in our own
  67. ! SFlash Libary.  Here is the command sequence:
  68. !
  69. !IMPORT 521010.*
  70. !ROUTE 521010 TO JOEBLOW
  71. !
  72. ! Notice that the IMPORT command takes standard DOS arguments.  In this
  73. ! way you can specify a range of Flash Messages to import (keep copies of)
  74. ! as they are routed through your system.
  75. !
  76. ! So far, these commands have all operated on inbound mail by putting that
  77. ! mail in your outbound area and modifying it as you direct.  The Router
  78. ! also allows you to manipulate mail waiting to be sent.  This gives you
  79. ! added flexibility in scheduling mail, especially when used with the
  80. ! TIMESLOT keyword.  There are two important commands to allow you to
  81. ! manage mail waiting to be sent:
  82. !
  83. !MARKHOLD [filename]
  84. !MARKSEND [filename]
  85. !
  86. ! Like the IMPORT command above, these two commands take DOS filename
  87. ! commands and wildcards.  For example, to mark all mail to nodes
  88. ! beginning with the character string "MIKE" as hold, do the following:
  89. !
  90. !MARKHOLD MIKE*.*
  91. !
  92. !To mark all mail ready to send, use:
  93. !
  94. !MARKSEND *.*
  95. !
  96. ! As you can see, using these two commands in conjunction with the keyword
  97. ! TIMESLOT, you can manage which mail is sent during specific times.
  98. !
  99. ! Finally, you also have the capability to issue a DOS command directly
  100. ! from this control file.  To do so, use this keyword:
  101. !
  102. !DOS=[doscommand]
  103. !
  104. ! Please notice that there are no spaces between the "DOS" and the commmand
  105. ! you wish to execute.  The ONLY valid seperator is an equal sign.  The
  106. ! format of this command must be exact and the DOS command must be a valid
  107. ! one for the Intelligent Router to process it.
  108. !
  109. !
  110. ! Now... it's time to construct your own control file...
  111. !
  112. !MarkHold *
  113. !MarkSend *
  114.