home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
sqfm110.zip
/
sqfrom.doc
< prev
next >
Wrap
Text File
|
1996-07-15
|
5KB
|
167 lines
SqFrom 1.10 (c) Copyright 1995-1996 Alberto Pasquale
F R E E W A R E
LICENSE
You may copy, distribute and use this program freely, provided you
do not modify the original archive and Copyrights.
DISCLAIMER
You are entitled to use this freeware program "as is". No guarantee
can be given on the performance of the program. The author will not
be liable for any damage or loss related to the use of this program.
OVERVIEW
This program allows to change the "from address" in outgoing PKTs
and contained echomail messages.
This is to solve a problem that fidonet(*) coordinators have with
Squish (**).
Coordinators frequently have to deal with their uplinks using the
administrative address while they usually would like to continue
using their primary address with pre-existing links.
Squish does not allow to use different "from addresses" in the same
echo area depending on the destination address.
SqFrom allows to change the "from address" of an outbound packet,
both in its header and in the headers of all echomail messages it
contains (obviously netmail and routed echomail messages are
skipped).
You can use SqFrom on the .?ut files in Squish's temporary outbound
(usually "<path>\<domain>.sq") before they are packed for the
destination.
For that purpose you can use the "DOS" command in Squish's
Route.cfg.
Command line:
SqFrom [-l<log>] [-o<out.sq>] <from-adr> <to-adr-list>
<log> is an optional log filename; overrides the "StatusLog" cfg
statement.
Please note that SqFrom _cannot_ share the same log file with
Squish, since it does not close it when shelling to DOS commands.
<out.sq> is the temporary outbound directory where SqFrom must look
for .?ut files to be modified; overrides the "OutSq" cfg
statement.
<from-adr> is a fully specified 4D address.
<to-adr-list> is a list of (possibly abbreviated) addresses, just as in
Squish's route.cfg (Including support for "World" and "All"
wildcards).
The configuration file:
SqFrom can be used without a configuration file, provided the "-o"
switch is used on the command line.
For convenience, you can specify <out.sq> and possibly <log> in a
configuration file, which must be named SqFrom.Cfg and reside in the
current directory.
The available cfg statements are:
OutSq <out.sq>
StatusLog <log>
Operation:
All packets addressed to an address matching <to-adr-list> will be
modified so that they seem to come from <from-adr>.
If an address is specified with no point or ".0", all packets
addressed to its points are processed too, just as Squish does.
Example:
Let's suppose you are (order is meaningful):
Address 2:332/504 ; FidoNet Node
Address 2:332/500 ; FidoNet Hub
Address 81:439/501 ; OS2Net Node
and you are required to use the Hub aka for Hub task.
An example of Route.Cfg for Squish follows:
===========================================================
DEFINE FidoNet 1:All 2:All 3:All 4:All 5:All 6:All
DEFINE BackBone 2:332/2
DEFINE Downlinks 2:442/617 2454/169 2490/3045 3:633/260
DEFINE Down500 2:332/502 507 510 521
DEFINE Points 2:332/504.All 81:439/501.All
DEFINE OS2Net 81:All
DEFINE OS2Downs 81:439/503 504
DEFINE OS2BBone 81:439/1
SCHED NRM
SEND hold Points Downlinks
DOS sqfrom 2:332/500 FidoNet
SEND hold Down500
ROUTE direct BackBone FidoNet
DOS sqfrom 2:332/504 FidoNet
SEND hold OS2Downs
ROUTE direct OS2BBone OS2Net
SEND hold World
===========================================================
Notes:
- It is advisable to always change not only pkts directly addressed
to nodes that require your aka, but also those that will be routed
via them; otherwise netmail pkts may be sent with the wrong
address in their header.
- It is advisable to change back to the original addresses before
the SCHED terminates; otherwise some pkts that have been left in
the temporary outbound due to .BSY files may end up with a wrong
address.
How to contact the author:
Alberto Pasquale
Viale Verdi 106
41100 Modena
Italy
alberto.pasquale@mo.nettuno.it (might change after 1/1/1997)
2:332/504@fidonet 2:332/524@fidonet
81:439/501@OS2Net 81:439/502@OS2Net
+39-59-246112/3 V34, ISDN X75
+39-59-246113 FAX
Credits
* Fidonet and Fido are registered marks of Tom Jennings and Fido
Software
** Squish is a trademark of Lanius Corporation