home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1
/
HamRadio.cdr
/
misc
/
rli612
/
fwd.doc
< prev
next >
Wrap
Text File
|
1988-06-11
|
8KB
|
236 lines
Automatic forwarding of messages to other MailBox systems.
The file FWD.MB contains information that drives the automatic
forwarding of messages. If the file does not exist, no forwarding is done.
Summary of list header types within FWD.MB
Item Type Function
I File "Input from File"
O File "Output to File"
X smtp "Exchange Messages with smtp"
E Forwarding "Answer Reverse Forward Requests"
F Forwarding "Forward and Reverse Forward"
H Forwarding "Forward, Reverse Forward, and Poll"
! DOS Commands "Like .BAT file"
P Script Do this tnc command before connecting.
Q Script Do this tnc command after disconnecting.
C Script Connect to this call.
N Script Connect to this call using NET/ROM.
S Script Send this text.
R Script Receive this text.
Format of the list header (O, X, E, F, H, !)
Columns Data
1 Header type from above table.
2 Port identifier or filler. "A" = COM1, "B" = COM2, etc.
3-4 Hour to activate this function.
5-6 Hour to de-activate this function.
7-12 Key used to select list with X or XI command.
For File type lists, the file name.
For forwarding lists, the callsign of the MailBox to
forward to, WITHOUT SSID.
The file contains several kinds of information:
1) Command scripts.
Command scripts are supported through C, S, N, and R items.
The command script precedes the E, F, or H list that uses it.
P items give TNC commands to be executed BEFORE the connection:
Pretry 10
Pmaxframe 3
Pfrack 8
Q items give TNC commands to be executed AFTER the disconnect:
Qretry 3
Qmaxframe 7
Qfrack 3
Be very careful using P and Q items. The MailBox assumes that the
TNC is setup in a "standard" manner. If you change CR, CP, or SE
in a script, it could cause problems.
A C item gives the call and path to do the initial connection:
it must be the first item following the P and Q items.
CC W6NR-11
CC N7EQN-10 via A6DIG
N items gives the call and path to continue the connection using NET/ROM:
NC W6NR
NC W6QRM v N6DIG
S and R items come in pairs:
An S item is a line to send:
SC WB6FFC-1
An R item is the expected response:
R#SBAY1:N7EQN-10} Connected to #WWORM:WB6FFC-1
In the case that ANY response is valid use:
R!
There can only be one C item in a script, but may be as many N, P, Q,
or paired R and S items as required. As an example, the script for W0RLI
in Santa Cruz using NET/ROM to connect with KA6IQA in San Diego is:
CC W6AMT (This connects me to the local NET/ROM)
NC W6AMT-3 (This connects me to the NET/ROM closest to KA6IQA)
NC KA6IQA v W6AMT-4 (This connects me to KA6IQA)
FB0023KA6IQA (The usual forwarding list)
KA6IQA (Forward messages TO or AT KA6IQA)
*** EOF (End of list marker)
2) Routing lists.
E, F, and H lists are lists of stations for whom you should forward mail.
They are grouped by the call of the MailBox to which the messages
will be forwarded. Each list has a header line, any number of callsigns
or sublists, and the list terminator ("*** EOF").
An "F" list is used when you wish to initiate forwarding. An "H" list acts
the same as an "F" list, except that the connect and probe for reverse
forwaring will occur even if you do not have any messages to forward.
An "E" list acts like an "F" list, except the forwarding is not done,
the list is used only when someone requests reverse forwarding from you.
Forwarding will occur at the minute given for the port in CONFIG.MB,
on those hours given in FWD.MB.
3) Import / Export lists.
There are three list types to move messages to or from files. The files
must be in the MailBox directory. An "O" list will output the messages into
the file. An "I" list will input messages from a file. An "X" list exchanges
("forwards" and "reverse forwards") messages with smtp.
To "forward" messages TO the file MSG.OUT :
Ox0023MSG.OUT
TO_MSG
WA6XXX
ALLMSG
*** EOF
To "forward" messages FROM the file MSG.IN :
Ix0023MSG.IN
*** EOF
To exchange messages with the TCP/IP smtp server:
The second field is the smtp address.
Xx0023SMTP
k3mc mike@k3mc.norcal.us.ampr
k6qrm nerd@w6qrm.california.usa.hamnet
*** EOF
The usual directories for smtp are used: SPOOL/MQUEUE and SPOOL/RQUEUE
4) DOS commands.
A "!" list is a list of DOS commands. It acts very much like a .BAT file.
The second character of the list header is ignored. The time window is honored.
Be very careful what commands you use here; anything that might CHANGE one of
the files used by the MailBox will cause TROUBLE! You must also run the MailBox
in a partition large enough to allow for COMMAND.COM (23k) plus whatever
commands you run.
Example:
!B0023
clock set
copy e:\bbs\*.* c:\bbs
*** EOF
5) Wildcards and special "callsigns" in lists.
When the designator in FWD.MB is compared to the TO or @ BBS call,
the characters "?" and "*" appearing in the designator act as
wildcards. "?" will match any character. "*" causes the remaining
characters to match.
For example: Using ZIP code routing, to route all South Carolina NTS
traffic to wa4szk, you would put "NTS4*" or "4*". Any message sent
to a destination starting with "NTS4" or "4" would route to wa4szk.
wa4szk could then continue the routing breakdown by forwarding "NTS41*"
or "41*" to one station, "NTS42*" or "42*" to another, etc.
The special "callsign" TIME$$ is used to "forward the current date and time".
This feature is available only if the receiving system has the sending system
marked as a BBS or remote sysop. Systems that support this feature identify
with the "C" feature letter in their System ID.
6) Sublists.
At any place in the FWD.MB file you can refer to another file. In effect
what happens is that the contents of the sublist are treated exactly
as if they were in the FWD.MB file. This feature is very useful when
you have several alternate paths to a given location. FWD.MB need only
contain the connect information for the different paths. You can refer
to a single file that contains the list of calls for forward. A sublist
is given by a line starting with "@". The rest of the line is the device,
path, and file name of the sublist.
Example:
CC N4CHV V N6MPW-1
FC0023N4CHV
N4CHV
N7FSP
@C:\BBS\HF111.FWD
@C:\BBS\SILICON.FWD
*** EOF
CC W6CUS-1 V W6AMT-10
FD0023W6AMT
NI6A
@C:\BBS\SILICON.FWD
*** EOF
W0RLI MailBox and GateWay Version 6.07 - 5/20/88 Page 8
There is no limit to the number of lists or the number of
calls in each list. Your MailBox will do the connect and send the
messge onward. It will either delete it or mark it with 'F' status
depending on the setting of the YES/NO (Kill on forward) flag in
CONFIG.MB. Auto forwarding is attempted each hour at the minute
specified in CONFIG.MB, or when you use the "X" command.
The special call "*" (a single *) can be used to force the
forwarding of all mail not addressed to the system owner. This
could be used by someone who would like to run this software, but
would not like to maintain an active MailBox. They would get all
their own mail locally, but any mail deposited onto their system
would be automatically forwarded.
The forwarding of messages counts on the remote MailBox
behaving correctly. It must have a prompt with '>' at the end
of the last line. The command for sending messages must have the
form "Sx call". It must prompt for message title, and then prompt
for message text. Message text is terminated by ^Z (Control-Z).