home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / misc / rli612 / fwd.doc < prev    next >
Text File  |  1988-06-11  |  8KB  |  236 lines

  1.  
  2.  
  3.      Automatic forwarding of messages to other MailBox systems.
  4.  
  5.      The file FWD.MB contains information that drives the automatic
  6. forwarding of messages. If the file does not exist, no forwarding is done.
  7.  
  8.       Summary of list header types within FWD.MB
  9.  
  10. Item  Type        Function
  11.  
  12. I     File        "Input from File"
  13. O     File        "Output to File"
  14. X     smtp        "Exchange Messages with smtp"
  15. E     Forwarding    "Answer Reverse Forward Requests"
  16. F     Forwarding    "Forward and Reverse Forward"
  17. H     Forwarding    "Forward, Reverse Forward, and Poll"
  18. !     DOS Commands    "Like .BAT file"
  19.  
  20. P     Script        Do this tnc command before connecting.
  21. Q     Script        Do this tnc command after disconnecting.
  22. C     Script        Connect to this call.
  23. N     Script        Connect to this call using NET/ROM.
  24. S     Script        Send this text.
  25. R     Script        Receive this text.
  26.  
  27.  
  28.        Format of the list header (O, X, E, F, H, !)
  29.  
  30. Columns     Data
  31.  
  32.   1        Header type from above table.
  33.   2        Port identifier or filler. "A" = COM1, "B" = COM2, etc.
  34.   3-4        Hour to activate this function.
  35.   5-6        Hour to de-activate this function.
  36.   7-12        Key used to select list with X or XI command.
  37.         For File type lists, the file name.
  38.         For forwarding lists, the callsign of the MailBox to
  39.         forward to, WITHOUT SSID.
  40.  
  41.  
  42. The file contains several kinds of information:
  43.  
  44.      1) Command scripts.
  45.  
  46. Command scripts are supported through C, S, N, and R items.
  47. The command script precedes the E, F, or H list that uses it.
  48.  
  49. P items give TNC commands to be executed BEFORE the connection:
  50.  
  51.      Pretry 10
  52.      Pmaxframe 3
  53.      Pfrack 8
  54.  
  55. Q items give TNC commands to be executed AFTER the disconnect:
  56.  
  57.      Qretry 3
  58.      Qmaxframe 7
  59.      Qfrack 3
  60.  
  61.  
  62. Be very careful using P and Q items. The MailBox assumes that the
  63. TNC is setup in a "standard" manner. If you change CR, CP, or SE
  64. in a script, it could cause problems.
  65.  
  66.  
  67. A C item gives the call and path to do the initial connection:
  68. it must be the first item following the P and Q items.
  69.  
  70.      CC W6NR-11
  71.      CC N7EQN-10 via A6DIG
  72.  
  73. N items gives the call and path to continue the connection using NET/ROM:
  74.  
  75.      NC W6NR
  76.      NC W6QRM v N6DIG
  77.  
  78. S and R items come in pairs:
  79. An S item is a line to send:
  80.  
  81.      SC WB6FFC-1
  82.  
  83. An R item is the expected response:
  84.  
  85.      R#SBAY1:N7EQN-10} Connected to #WWORM:WB6FFC-1
  86.  
  87. In the case that ANY response is valid use:
  88.  
  89.      R!
  90.  
  91. There can only be one C item in a script, but may be as many N, P, Q,
  92. or paired R and S items as required. As an example, the script for W0RLI
  93. in Santa Cruz using NET/ROM to connect with KA6IQA in San Diego is:
  94.  
  95. CC W6AMT           (This connects me to the local NET/ROM)
  96. NC W6AMT-3           (This connects me to the NET/ROM closest to KA6IQA)
  97. NC KA6IQA v W6AMT-4       (This connects me to KA6IQA)
  98. FB0023KA6IQA           (The usual forwarding list)
  99. KA6IQA               (Forward messages TO or AT KA6IQA)
  100. *** EOF            (End of list marker)
  101.  
  102.  
  103.      2) Routing lists.
  104.  
  105. E, F, and H lists are lists of stations for whom you should forward mail.
  106. They are grouped by the call of the MailBox to which the messages
  107. will be forwarded. Each list has a header line, any number of callsigns
  108. or sublists, and the list terminator ("*** EOF").
  109.  
  110. An "F" list is used when you wish to initiate forwarding. An "H" list acts
  111. the same as an "F" list, except that the connect and probe for reverse
  112. forwaring will occur even if you do not have any messages to forward.
  113. An "E" list acts like an "F" list, except the forwarding is not done,
  114. the list is used only when someone requests reverse forwarding from you.
  115.  
  116. Forwarding will occur at the minute given for the port in CONFIG.MB,
  117. on those hours given in FWD.MB.
  118.  
  119.  
  120.      3) Import / Export lists.
  121.  
  122.      There are three list types to move messages to or from files. The files
  123. must be in the MailBox directory. An "O" list will output the messages into
  124. the file. An "I" list will input messages from a file. An "X" list exchanges
  125. ("forwards" and "reverse forwards") messages with smtp.
  126.  
  127. To "forward" messages TO the file MSG.OUT :
  128.  
  129. Ox0023MSG.OUT
  130. TO_MSG
  131. WA6XXX
  132. ALLMSG
  133. *** EOF
  134.  
  135. To "forward" messages FROM the file MSG.IN :
  136.  
  137. Ix0023MSG.IN
  138. *** EOF
  139.  
  140. To exchange messages with the TCP/IP smtp server:
  141. The second field is the smtp address.
  142.  
  143. Xx0023SMTP
  144. k3mc   mike@k3mc.norcal.us.ampr
  145. k6qrm  nerd@w6qrm.california.usa.hamnet
  146. *** EOF
  147.  
  148. The usual directories for smtp are used: SPOOL/MQUEUE and SPOOL/RQUEUE
  149.  
  150.  
  151.      4) DOS commands.
  152.  
  153.      A "!" list is a list of DOS commands. It acts very much like a .BAT file.
  154. The second character of the list header is ignored. The time window is honored.
  155. Be very careful what commands you use here; anything that might CHANGE one of
  156. the files used by the MailBox will cause TROUBLE! You must also run the MailBox
  157. in a partition large enough to allow for COMMAND.COM (23k) plus whatever
  158. commands you run.
  159.  
  160.      Example:
  161.  
  162. !B0023
  163. clock set
  164. copy e:\bbs\*.* c:\bbs
  165. *** EOF
  166.  
  167.  
  168.      5) Wildcards and special "callsigns" in lists.
  169.  
  170. When the designator in FWD.MB is compared to the TO or @ BBS call,
  171. the characters "?" and "*" appearing in the designator act as
  172. wildcards. "?" will match any character. "*" causes the remaining
  173. characters to match.
  174.  
  175. For example: Using ZIP code routing, to route all South Carolina NTS
  176. traffic to wa4szk, you would put "NTS4*" or "4*". Any message sent
  177. to a destination starting with "NTS4" or "4" would route to wa4szk.
  178. wa4szk could then continue the routing breakdown by forwarding "NTS41*"
  179. or "41*" to one station, "NTS42*" or "42*" to another, etc.
  180.  
  181. The special "callsign" TIME$$ is used to "forward the current date and time".
  182. This feature is available only if the receiving system has the sending system
  183. marked as a BBS or remote sysop. Systems that support this feature identify
  184. with the "C" feature letter in their System ID.
  185.  
  186.  
  187.      6) Sublists.
  188.  
  189. At any place in the FWD.MB file you can refer to another file. In effect
  190. what happens is that the contents of the sublist are treated exactly
  191. as if they were in the FWD.MB file. This feature is very useful when
  192. you have several alternate paths to a given location. FWD.MB need only
  193. contain the connect information for the different paths. You can refer
  194. to a single file that contains the list of calls for forward. A sublist
  195. is given by a line starting with "@". The rest of the line is the device,
  196. path, and file name of the sublist.
  197.  
  198. Example:
  199.  
  200. CC N4CHV V N6MPW-1
  201. FC0023N4CHV
  202. N4CHV
  203. N7FSP
  204. @C:\BBS\HF111.FWD
  205. @C:\BBS\SILICON.FWD
  206. *** EOF
  207. CC W6CUS-1 V W6AMT-10
  208. FD0023W6AMT
  209. NI6A
  210. @C:\BBS\SILICON.FWD
  211. *** EOF
  212.  
  213.      W0RLI MailBox and GateWay     Version 6.07 - 5/20/88   Page    8
  214.  
  215.      There is no limit to the number of lists or the number of
  216. calls in each list. Your MailBox will do the connect and send the
  217. messge onward. It will either delete it or mark it with 'F' status
  218. depending on the setting of the YES/NO (Kill on forward) flag in
  219. CONFIG.MB. Auto forwarding is attempted each hour at the minute
  220. specified in CONFIG.MB, or when you use the "X" command.
  221.  
  222.      The special call "*" (a single *) can be used to force the
  223. forwarding of all mail not addressed to the system owner. This
  224. could be used by someone who would like to run this software, but
  225. would not like to maintain an active MailBox. They would get all
  226. their own mail locally, but any mail deposited onto their system
  227. would be automatically forwarded.
  228.  
  229.      The forwarding of messages counts on the remote MailBox
  230. behaving correctly. It must have a prompt with '>' at the end
  231. of the last line. The command for sending messages must have the
  232. form "Sx call". It must prompt for message title, and then prompt
  233. for message text. Message text is terminated by ^Z (Control-Z).
  234.  
  235.  
  236.