home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker Chronicles 2
/
HACKER2.BIN
/
1060.FWD.DOC
< prev
next >
Wrap
Text File
|
1989-03-04
|
7KB
|
214 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 types within FWD.MB
Item Function
E "Answer Reverse Forward Requests"
F "Forward and Reverse Forward"
H "Forward, Reverse Forward, and Poll"
Summary of script item types within FWD.MB
P Do this tnc command before connecting.
Q Do this tnc command after disconnecting.
P! Do this DOS command before connecting.
Q! Do this DOS command after connecting.
C Connect to this call.
L Limit forwarding when you use this list.
N Connect to this call using NET/ROM.
S Send this text.
R Receive this text.
Format of the list header (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.
Connect Command scripts.
Command scripts are supported through C, L, N, P, Q, R, and S 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.
An L item is used to keep place limits on what will forward
when the script is used.
L nnnn - Will limit the size of messages forwarded.
l B - Will NOT forward bulletins.
Examples:
L 5000
Would cause any message larger than 5000 bytes to NOT forward.
A C item gives the call and path to do the initial connection:
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, 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 might
be (using all the possible script features).
L 2000 <- Don't forward messages larger than 2K
Pretry 10 <- Tough path, retry a lot.
Pmaxframe 3 <- And don't send very many packets.
Pfrack 8 <- And wait a long time for ACK.
Qretry 3 <- Put things back to normal after this forward.
Qmaxframe 7 <- Ditto
Qfrack 3 <- Ditto
CC W6AMT <- Connect to the local NET/ROM
NC W6AMT-3 <- Connect to the NET/ROM closest to KA6IQA
NC KA6IQA v W6AMT-4 <- Connect to KA6IQA
FB0023KA6IQA <- Use port B. All hours. List name KA6IQA.
KA6IQA <- Forward messages TO or AT KA6IQA
91* <- Forward zip codes starting with 91
TIME$$ <- Set date and time on KA6IQA's computer.
*** EOF <- End of list marker. Must be upper case.
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.
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
traffic to wa4szk, you would put "4*". Any message sent
to a destination starting with "4" would route to wa4szk.
wa4szk could then continue the routing breakdown by forwarding
or "41*" to one station, 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.
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
@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
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 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).