                How to setup GOMail with D'Bridge
             ======================================


If you are currently running your Wildcat system with another
Tosser and have it operating correctly right now then you should be
able to go directly to the GOEdit and configure GOMail to your
system.


First thing you need is a copy of D'Bridge and run the basic
install that D'Bridge has for it.   When you get that part done
there is very few things that you will need to do to get it
running.  I will go through everything that you will need to have
set to have gomail operate properly.

In the D'bridge setup menu there are 6 menus that you can go into
and in there, there will be more sub menus.  "MAIL", "Editor", and
"Utilities" will not be need for the setup of GOMAIL.  Go straight
to the "Config" menu and you will notice 8 sub menus.  The first
one Basic Configuration we will need to go into and setup our
system in there.  Figure 1.3 is how I have my system setup in this
screen.

STEP 1

Notice you will want to put your primary address in this screen (If
you do not have one then just set it up as 1:1/999 till you get
one. Below I explain how to get one.) Enter any alias addresses you
have too if you have any.  An alias is another network number into
your system.  If you are just starting out with only one network
then you will not have any aliases.  You will also notice that this
screen is where you enter most of the information about who you
are.  

STEP 2

The next screen we will go to is the DIRECTORY PATHS screen this is
off the Config menu too.  This is where you will put all your
directory paths in..  the most important ones in this screen to
GOMail are the first two.  Netmail Path and Inbound Files Path, if
you have looked at the GOMail configuration program already then
you will notice that in the Paths menu in GOEdit you have these two
directory paths listed.  make sure that what you put in D'bridge
you put the exact same thing in GOEdit.  The rest of the paths in
this D'bridge screen are optional and again you can see what i have
put in there if you want to do something similar.  

STEP 3

Your Nodelist needs to be setup too before you can do any outgoing
calls.  To do this you will need to get a "RAW NODELIST". You
should be able to get this file from anyone in your area or from
your Net work Coordinator.  A network coordinator is someone
designated in your area to be the main person that oversees echo
mail for a particular network.  If you do not have one or you live
in a small area and no one there runs a Mail system then you may
have to contact a REGIONAL COORDINATOR and ask him for a nodelist. 
Once you get your nodelist it will be a file like NODELIST.240 in
TXT format and NODELIST.A40 in ARC compressed form.  Once you get
this file then you are ready to place it in the directory you have
told D'bridge that this file exist.  Notice in figure 1.7 I have
mine on the O:\db\nodelist directory.  When typing in this
information the number you see to the right of figure 1.7 should
not be typed in they will be added automatically by D'bridge.  Also
notice that there is a space between the drive\path and the name
NODELIST NODEDIFF  make sure you have spaces between these too. You
will notice that I am in four networks.  NODELIST (FIDO), OURLIST
(OURNET), SNETLIST (SAUDI NET), and POLICNET (POLICE NET).  If you
are only going to be in one network then you will only have one
entry here. Most of the other information in this screen should not
need to be changed. 

Once you get you nodelist compiled (D'bridge will do it
automatically the next time you start it up), then the next thing
you will need to do is get you Primary Address from your
coordinator.  This will most likely be the same person you got the
nodelist from and if it isn't they should be able to tell you who
is.  


STEP 4

This is very important and this step must be made in Figure 1.8 you
will see the Packet/Mail control.  In here you will need to make
sure that you INBOUND MAIL HANDLING is set to EXTERNAL.  This tells
D'bridge to let GOMail process the unarchiving, forwarding, and
repacking of mail.  YOU MUST DO THIS!  otherwise your mail will not
be imported into Wildcat and could cause everything not to work. 
The rest of the information doesn't really concern GOMail and you
should refer to the D'bridge doc's for their definitions.  


STEP 5

This will probably be the most difficult part in setting up
D'bridge mainly because this part will depend on your BAT file that
starts up D'bridge.  Included in the D'Bridge instructions with
GOMail you will notice a BAT file called RUN-DB.BAT what is in the
screen in Figure 1.9 depends on that BAT file and with out it
D'bridge will not work properly.  If you are unsure what your doing
then follow this part the whole way with no sort cuts because this
is were you may goof if anywhere at all.  Listed below is the BAT
file with an explanation of what each line does.  

ECHO OFF (Turns ECHO OFF)
:START   (Defines the start of the BAT file)

IF 2==%LIVE% GOTO LOADWC  (Checks to see if it is a BBS call)
SET LIVE=     (Clears the environment variable LIVE)
SET BAUD=     (Clears the environment variable BAUD)
O:            (*Changes to the O: Drive where D'bridge is)
CD \DB        (*Changes to the D'bridge directory)
DB            (Runs the D'Bridge program)
IF ERRORLEVEL 96 GOTO LOADBBS  (Checks to see if its a BBS Call)
IF ERRORLEVEL 30 GOTO TOSSGM   (Checks to see if Mail came in)
GOTO END           

:LOADWC     (This paragraph is ran if there is a BBS Caller online)
SET LIVE=   (Clears the environment variable LIVE)
P:          (*Changes to the P: Drive where Wildcat resides)
CD \WC40    (*Changes to my Wildcat directory)
CAT1 %BAUD% (*Starts Up the CAT BAT file and Passes the baud rate 
             as parameter 1 to the CAT1.BAT this will be used to
             tell Wildcat what baudrate the caller is at) 
             
GOTO START

:LOADBBS
BBS.BAT  (This is the BAT file that D'bridge will make from figure 
          1.9 if you notice the commands ECHO SET BAUD=*C > BBS.BAT
          and the 3 other lines below it are necessary for this
          type of operation to work.)  

:TOSSGM     (TOSS GOMAIL Execution goes here if mail was received)
SET LIVE=   (Clears the environment variable)
SET BAUD=   (Clears the environment variable) 
O:          (*Changes to the O: Drive where GOMAIL resides) 
CD \GOMAIL  (*Changes to the GOMAIL directory)
GOMAIL TOSS (Executes GOMAIL and TOSS's mail that was received)
GOTO START  (Starts the RUN-DB Bat file over)

:END

IF ERRORLEVEL=1 THEN GOTO START    (This will start the RUN-DB.BAT
                                   file over if there was an
                                   unexpected error. This is used
                                   so that your system is not left
                                   hanging.)



You should only have to change the lines that have a '*' asterisk
in the comments.  This will configure your bat file to change to
the proper drive and directory.  The original BAT file will not
have these comments in it so you will want to have this printed out
for reference.  


Below is my CAT1.BAT file this is the Node that runs
D'bridge/Gomail on my system.  Most of the SET's can be omitted but
you may want them in there if you run the programs I run.
SET WCMDM=168.MDM  (My 16.8 MDM file for my USR DS)
SET WCNODEID=1     (My node number for this node) 
SET WCPORTID=1     (The comport the modem is on)
SET NODEPATH=P:\WC40\WCWORK\NODE2\  (This sets the Nodepath for  
                                     BI-Cats/BiModem)
SET DSZLOG=P:\WC40\WCWORK\NODE2\DSZ.LOG  (This sets the DSZLOG for 
                                          BIModem and HSLINK)
SET HOMEPATH=P:\WC40\  (Defines the HOMEPATH for BI-Cats)
SET WCIRQID=4          (Defines the comport IRQ)
SET WCHOME=P:\WC40     (Defines the HOMEPATH for WildChat) 
SET COMBASE=1016       (Defines the COMBase for WildChat) 
WILDCAT /B %1     (Starts up Wildcat and passes it the Baudrate)  
NODEUP 1        (Makes my Netmail line show waiting for calls) 
O:              (Changes to the O: drive)
CD \GOMAIL      (Changes to the GOMail Directory)
GOMAIL SCAN     (Checks to see if anyone entered a new message)
CD \DB          (Changes to the D'bridge directory)
RUN-DB          (Starts the D'bridge BAT file again)

Now like I said if you don't use some of the programs I use then
you may delete those lines. They shouldn't hurt anything by being
in there for a trial run.  

That's the end of this help file hopefully you should have the
D'bridge portion of the D'bridge/GOMail set up complete.  
