ROUTSAMP.CFG

6.3 KB 4b042a1106a1e0ea…
;
;                 SAMPLE Routing Configuration File
;                          for version 1.1
;
;   remove and change routing as needed and name the result ROUTE.CFG
;
;
;   Command Reference:
;
;       FORWARD-TO       [FILE] <to-nodes...>
;       FORWARD-FROM     [FILE] <from-nodes...>
;       FORWARD-ALWAYS   [FILE] <from-nodes...>
;       HOSTROUTEEXCLUDE <z:n z:n z:n...>
;       GATEROUTE        <verb> <zonegate> <nodes...>
;
;       SCHED            <tag> <day> [<start_time> <end_time>]
;       SEND             [NoArc] <verb> <nodes...>
;       ROUTE            [NoArc] <verb> <hub_node> <nodes...>
;       CHANGE           <from_verb> <to_verb> <nodes...>
;       POLL             <verb> <nodes...>
;       ATTACH           <verb> <file1+file2+file3...> <nodes...>
;       GET              <verb> <file1+file2+file3...> <nodes...>
;       DOS              <command> [arguments]
;       UPDATE           <verb> <filespec> <nodes...>
;       HOSTROUTE        [max_bytes]
;       DEFINE           <constant> <expression>
;       LEAVE            <nodes...>
;       UNLEAVE          <nodes...>
;       NETMAIL_SCAN     [<directory>]
;       TBBS_IMPORT_FILE <filename> <TBBS message board or topic> [<options>]
;
;       BUSY_WAIT        [<minutes>]
;       BUSY_NOWAIT
;       BUSY_NO_OUT
;
;       REDRAW
;
;   Key:
;
;       <tag> ....... Any text, up to 32 characters in length (no spaces).
;
;       <verb> ...... Any one of the following verbs:
;
;                 *** NORMAL ....... (.FLO or .OUT)
;                     CRASH ........ (.CLO or .CUT)
;                     HOLD ......... (.HLO or .HUT)
;                     DIRECT ....... (.DLO or .DUT)
;
;       <nodes> ..... Full 'zone:net/node' number.  If 'zone' or 'net' are
;                     ommited, they will default to the previous entry on
;                     the line.
;
;       <hub_node> .. Hub node routed mail is sent to.
;
;       <day> ....... Any combination of the following, may be joined by
;                     the '|' symbol (i.e. "Sun|Mon"):
;
;	              All
;	              Week
;	              WkEnd
;	              Sun
;	              Mon
;	              Tue
;	              Wed
;	              Thu
;	              Fri
;	              Sat
;
;       <minutes> ... The number of minutes to wait for a BuSY flag to
;                     clear. The number must be between 1 (default)
;                     and 120.
;
;       *** Be careful when using NORMAL. NORMAL type mail is always
;           eligible for processing by routing commands like SEND and
;           ROUTE. This means that although you intend to send mail
;           addressed to an address directly, your routing commands
;           can cause the mail to be processed further in subsequent
;           commands...
;
;              SEND  NOARC NORMAL 1:270/101
;              ROUTE       CRASH  1:13/13 1:all
;
;           The intended effect might be achieved by using the DIRECT
;           verb which prevents the mail (no longer NORMAL) from being
;           re-processed...
;
;              SEND  NOARC DIRECT 1:270/101
;              ROUTE       CRASH  1:13/13 1:all
;
; ===============================================================
; THIS IS AN EXAMPLE ROUTING FILE.  CHANGE IT TO SUIT YOUR NEEDS.
; USING THE EXAMPLE COMMANDS ON YOUR BBS WILL MIS-ROUTE MAIL!
; ===============================================================
;
; First, we'll define a few "constants" to make the rest of the routing file
; more readable and to make changes a little easier. Defined symbolic tags
; are replaced by the address(es) wherever they occur on routing lines.
;
DEFINE MYECHOFEED    1:13/13
DEFINE MYFRIENDS     1:270/all 1:13/all
DEFINE ZONEGATE      1:105/42
DEFINE SATELlITE     1:3615/50
DEFINE BOB           1:104/501
;
; Build the default routing streams to be used whenever no schedule is
; explicitly used on the program comand line ( -S<schedulename> ). These
; schedules are scanned sequentially until the schedule day/time matches
; the current day/time. All 00:00 24:00 is implied if no day/time is used.
;
;
;----------------------------------
SCHED Early_Morning All 00:00 06:00
;
; Build lists of addresses we agree to forward Net Mail TO and FROM.
; Also identify any addresses we will ALWAYS forward FROM regardless of
; the destination address.

   FORWARD-TO          1:all 2:all 3:all 4:all 5:all 6:all
   FORWARD-FROM        1:all 2:all 3:all 4:all 5:all 6:all
   FORWARD-ALWAYS FILE BOB 1:13/13 ZONEGATE

   CHANGE crash hold    106/386
   SEND         hold    106/386 9999/all
   SEND         crash   MYFRIENDS
   SEND         hold    SATELLITE

; Now that all individual connections are defined we can drop through to
; some default routing parameters. In this case we'll route 1:all (all
; previously non-specified zone 1 addresses) to the defined MYECHOFEED
; address. Similarly, all other FidoNet addresses are routed to the
; defined zonegate.

   ROUTE        crash   MYECHOFEED 1:all
   ROUTE  NoArc crash   ZONEGATE   2:all 3:all 4:all 5:all 6:all
;
;
;------------------------------------
SCHED All_Other_Times All 06:00 24:00
;
   FORWARD-TO          1:all 2:all 3:all 4:all 5:all 6:all
   FORWARD-FROM        1:all 2:all 3:all 4:all 5:all 6:all
   FORWARD-ALWAYS FILE BOB 1:13/13 ZONEGATE

   CHANGE hold  crash   106/386
   SEND         crash   106/386
   SEND         hold    9999/all
   SEND         crash   MYFRIENDS

   CHANGE crash hold  106/797 386/451 265/7
   CHANGE hold  crash 106/386
   SEND         crash 106/all 151/100 161/594 150/613 360/5 150/601 204/594 204/594 390/1 135/11
   SEND         hold  9999/all 228/15 383/1 381/201 70/0 129/34 260/330 365/777 382/31 151/1000 382/1 390/3 390/100 385/11 382/31 112/10 154/8 280/9 389/4 106/139 797 260/204 154/970 150/501 19/40 266/31 124/4115 115 11111/17
   ROUTE        crash 106/112 386/451
   ROUTE        crash 154/7 154/8
   ROUTE        crash 106/386 265/7


; Now define special purpose schedules we'll reference using the command 
; line -S<schedulename> parameter.

; Schedule name: Send_Cfg
;
;   -SSend_Cfg
;
;
;-----------------
SCHED Send_EchoCfg
   ATTACH hold C:\TBBS\Flame.Cfg 104/501

; Schedule name: A
;
;   -SA
;
;
;------
SCHED A
   DOS My.Bat
;