home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / im225nov.zip / MANUAL.DOC < prev    next >
Text File  |  1993-10-12  |  18KB  |  471 lines

  1. InterMail Sales Inc                         Demo Manual - Oct 12 1993
  2. ---------------------------------------------------------------------
  3. Copyright 1992, 1993 InterMail Sales Inc. All rights reserved.
  4. Written by Bill Cassidy, 1:249/1 and Patrik Bertilsson, 1:369/102.
  5.  
  6. This file is part of the file package IM225NOV.ZIP. Please read the
  7. README.1ST file for info about other files in the package. This short
  8. manual is a quick guide to help you through the basic installation of
  9. the demo version of InterMail 2.25. It will not however be sufficient
  10. for you to learn everything about InterMail and make a perfect setup.
  11. To do that, you will need the 450 page softcover bound manual which
  12. you will receive when you purchase InterMail. For more info on our
  13. echomail tosser InterEcho, file request or download INTRECHO.ZIP.
  14.  
  15.  
  16. Table of Contents
  17. -----------------
  18.  1. Installation
  19.  2. The Internal SIO driver
  20.  3. Using X00
  21.  4. BBS
  22.  5. Multi-Line
  23.  6. Dial Commands
  24.  7. Routing
  25.  8. The Nodelist Control Table
  26.  9. Semaphore files
  27. 10. Command Line Switches (Ringmaster)
  28. 11. Where to Get Help
  29.  
  30.  
  31. Installation
  32. ------------
  33. Expand the IM224NOV.ZIP file using PKUNZIP.EXE into a temporary
  34. directory, for example \TEMP. Change to your \TEMP directory and then
  35. run INSTALL.EXE. The Installation Program will ask a few questions
  36. about you which you simply fill in.
  37.  
  38. You will be presented with a list of modems, from which you choose
  39. your own or a similar modem. If you later find that the chosen modem
  40. is not working perfectly, you may choose another one and do this over
  41. again, as many times as necessary. You can later customize the modem
  42. settings as well to suit your own purposes.
  43.  
  44. The last screen in the Installation Program will provide you with the
  45. default directories that you would like InterMail to use.
  46.  
  47. A small nodelist IMLIST.* will be unarchived to the \IM\NODELIST
  48. directory. If you would like to use the FidoNet nodelist, you may
  49. later copy the NODELIST.* file to \IM\NODELIST. Use the program 
  50. XLAXDIFF for the NODEDIFF.A* difference files. XLAXDIFF is not 
  51. bundled with InterMail.
  52.  
  53.  
  54.  
  55. The Internal Serial Driver
  56. --------------------------
  57. InterMail will primarily use its own internal routines for handling
  58. the serial port. The internal routines provide full support for the
  59. FIFOs of the buffered 16550A UART. They are highly optimized and will
  60. usually prove slightly more efficient than an external FOSSIL driver.
  61.  
  62. If you start IM.EXE without first having installed a FOSSIL,
  63. InterMail will use its internal serial driver. If you start a FOSSIL,
  64. like X00, before IM.EXE, InterMail will not use the internal driver,
  65. unless you force it to with the /NF (No Fossil) command line option.
  66. Example:
  67.  
  68.   im /nf
  69.  
  70. In some cases it may be desirable to use an external FOSSIL driver.
  71. Some multitasking environments like Windows, may mask the registers
  72. of the UART chip, so that InterMail cannot correctly identify the
  73. chip or enable the FIFOs. The internal serial routines will only work
  74. on a standard port 1 and a standard port 2. If you would like to use
  75. other serial ports, you will need to use X00. DESQview users may also
  76. find that only one serial port will work with the internal serial
  77. routine.
  78.  
  79.  
  80.  
  81. Using X00
  82. ---------
  83. X00 is an external FOSSIL driver that can be loaded via CONFIG.SYS or
  84. IMRUN.BAT, the batch file that Install creates for running InterMail.
  85.  
  86. Example from CONFIG.SYS:
  87.  
  88. device=c:\im\x00.sys e b,0,38400 t=512 r=1024
  89.  
  90. The above installs X00 on serial port 1, eliminates X00's opening
  91. screen, locks the com port at 38400 bps, sets the transmit buffer to
  92. 512 bytes and the receive buffer to 1024 bytes.
  93.  
  94. Example from IMRUN.BAT:
  95.  
  96. x00.exe e b,1,2400
  97.  
  98. The above installs X00 as a TSR on serial port 2, eliminates X00's
  99. opening screen and locks the com port at 2400 bps.
  100.  
  101. If you have trouble with X00, you may use XU S to see the status of
  102. your ports.
  103.  
  104.  
  105.  
  106. BBS
  107. ---
  108. InterMail can start your BBS program. If an incoming call is a human
  109. using a terminal program, IM.EXE can create a DOBBS.BAT and then exit
  110. to IMRUN.BAT with a specific errorlevel. The IMRUN.BAT will then
  111. start the DOBBS.BAT which in its turn starts the EXEBBS.BAT file,
  112. which finally starts your BBS software. When the caller is finished,
  113. the BBS program terminates and your EXEBBS.BAT starts the IMRUN.BAT
  114. file, which starts the mailer again.
  115.  
  116. In IMSETUP.EXE, type in which errorlevel IM.EXE should exit with,
  117. in Modem -> Advanced setup -> Connect strings -> BBSexit
  118.  
  119.     #   Connect Message           Speed  EC  BBSexit  Terminate
  120.     ───────────────────────────────────────────────────────────
  121.     1   CONNECT|                  300    N   99       0
  122.     2   CONNECT 1200|             1200   N   99       0
  123.     3   CONNECT 1200/             1200   N   99       0
  124.     4   CONNECT 2400              2400   N   99       0
  125.     5   CONNECT 4800              4800   N   99       0
  126.     6   CONNECT 7200              7200   N   99       0
  127.     7   CONNECT 9600              9600   N   99       0
  128.     8   CONNECT 12000             12000  N   99       0
  129.     9   CONNECT 14400             14400  N   99       0
  130.    10   CONNECT 16800             16800  N   99       0
  131.    11   CONNECT 19200             19200  N   99       0
  132.    12   CONNECT 38400             38400  N   99       0
  133.  
  134. Set Mailer -> Errorlevel -> Create BAT.file = Yes
  135. Set Mailer -> Miscellaneous -> Mail-only (no BBS) = No
  136. Set Mailer -> Miscellaneous -> BBS software name
  137. Set Manager -> Events -> Edit -> Behavior -> Allow users ... = Yes
  138.  
  139. Make sure your IMRUN.BAT looks similar to this:
  140.  
  141.     :loop
  142.     cd \im
  143.     im.exe /#1 /nf
  144.     if errorlevel  99 dobbs
  145.     if errorlevel  50 goto echomail
  146.     if errorlevel  10 exit
  147.     if errorlevel   8 exit
  148.     if errorlevel   4 goto fatal
  149.     if errorlevel   3 goto dspace
  150.     if errorlevel   1 goto fatal
  151.     goto loop
  152.  
  153. The DOBBS.BAT is created by InterMail to start the EXEBBS.BAT with
  154. these parameters:
  155.  
  156.     %1 = Connect speed, not locked port speed.
  157.     %2 = Communication port number.
  158.     %3 = Minutes to the next event that doesn't allow BBS calls.
  159.     %4 = Reminder of connect message from modem, e.g. ARQ, MNP etc.
  160.     %5 = Mailer server number.
  161.  
  162. The hardest part is the EXEBBS.BAT file. It will be started from
  163. \IM, start your BBS program, use the %1, %2, %3, %4, %5 variables
  164. and finally start the IMRUN.BAT. This is a very short example:
  165.  
  166.     cd \bbsdir
  167.     mybbs -b%1%4 -p%2 -T%3 %5
  168.     cd \im
  169.     imrun
  170.  
  171.  
  172.  
  173.  
  174. Multi-Line
  175. ----------
  176. You may use up to 4 phone lines in this demo version. Each line needs
  177. a running copy of IM.EXE. This means that you need a multi-tasking
  178. environment like DESQview, OS/2 or Windows, but you may also use a
  179. LAN (Local Area Network). Make sure you load SHARE.EXE on all PC's.
  180.  
  181. If you plan to use InterMail on a LAN, we suggest you use the same
  182. drive letter on all work stations for logon to the drive where
  183. InterMail is installed, for example drive I:. On the PC where the
  184. drive is located physically, you may use the DOS SUBST program, for
  185. example:
  186.  
  187.   subst I: C:\
  188.  
  189. Wherever you look in your LAN, InterMail is always on drive I. In
  190. the IMSETUP program, you may change all paths to drive I.
  191.  
  192. There are several different ways to setup InterMail as a multi-line
  193. system, depending on the result you want. The easiest way to add an
  194. extra phone line is to do this:
  195.  
  196. In the IMSETUP.EXE:
  197. 1. Global -> Mail Server ID#, enter "2".
  198. 2. Global -> Filenames, enter a unique packets directory and
  199.    a unique log file, for example I:\LOG\IMLOG.002.
  200. 3. Modem -> Modem Selection, choose modem.
  201. 4. Modem -> Advanced setup -> Hardware, set the port, speed etc.
  202.  
  203. Create \IM\NODE1 and \IM\NODE2.
  204.  
  205. Rename IMRUN.BAT to IMRUN01.BAT 
  206.  
  207. Copy IMRUN01.BAT to IMRUN02.BAT 
  208.  
  209. Edit IMRUN01.BAT:                  and IMRUN02.BAT
  210.     :loop                             :loop
  211.     cd \im\node1                      cd \im\node2
  212.     im.exe /#1 /nf                    im.exe /#2 /nf
  213.  
  214. Copy \IM\EXEBBS.BAT to \IM\NODE1\EXEBBS.BAT
  215. Copy \IM\EXEBBS.BAT to \IM\NODE2\EXEBBS.BAT
  216.  
  217. Delete \IM\EXEBBS.BAT
  218.  
  219. Edit \IM\NODE1\EXEBBS.BAT so it starts the proper BBS node.
  220.  
  221. You should now be able to run both mailers at the same time. They
  222. will all share the nodelist, netmail area, message base, and *.exe
  223. files. The extra cost in hard drive space is less than 50 kb per
  224. phone line. They will use identical addresses (AKAs) and colours, but
  225. you may have unique routing (ROUTEIM.002), dial commands
  226. (DIALCTL.002) and event configs.
  227.  
  228. If you want different AKA's on another mail server, then you should
  229. use different FD.SYS files. Copy FD.SYS to \IM\NODE2, \IM\NODE3 etc.
  230. Change the environment variable IM to the path for FD.SYS. Example:
  231.  
  232.     Set IM=I:\IM           for the mailer #1
  233.     Set IM=I:\IM\NODE2     for the mailer #2
  234.     Set IM=I:\IM\NODE3     for the mailer #3
  235.  
  236. When you start IMSETUP, make sure you have the right path. It is easy
  237. to accidentally change to the wrong mail server. You can still share
  238. the nodelist, message base, *.exe, events, routing etc if you like,
  239. but you can also for example choose to have only the nodelist, *.exe
  240. and semaphore directories as common.
  241.  
  242.  
  243.  
  244. Dial Commands
  245. -------------
  246. A sample DIALCTL.001 for a US Robotics HST Dual Standard on Mail
  247. Server #1 might look like this:
  248.  
  249.     V32 ATB0|
  250.     HST ATB1&K3|
  251.     H14 ATB1&K3|
  252.     H16 ATB1&K3|
  253.     1:249/119 AT&K0&M0&N3|
  254.     1:249/120 AT&K0&M0&N3|
  255.  
  256. The last two are 2400 baud nodes and it's sometimes helpful to force
  257. 2400 baud connects with no compression or error correction when using
  258. an HST or a Dual Standard.
  259.  
  260. Since InterMail works with all nodelist flags, be sure you have
  261. entries for the HST, H14 and H16 flags if you wish to initiate an
  262. HST/HST connection whenever possible.
  263.  
  264.  
  265.  
  266. Routing
  267. -------
  268. The first mailer server uses ROUTE.IM, the second ROUTEIM.002, etc.
  269.  
  270. If you have previously been using FrontDoor, change the "*" wildcards
  271. to the word "All" in your routing file and don't use the DIRECT
  272. routing command as it is not supported by InterMail.
  273.  
  274. Example of ROUTE.IM for someone in Zone 1, Net 249:
  275.  
  276.     ;----------------------------------------------------------------
  277.     ; InterMail Routing File - Node 1             Last update: 21 May
  278.     ;----------------------------------------------------------------
  279.     ;
  280.     ; GLOBAL ROUTING SECTION
  281.     ; These routings happen during all schedules unless redefined
  282.     ; within an individual schedule block.
  283.     ;
  284.     forward-to  MyNet/all ; Who we'll accept forwarding of netmail to
  285.     forward-for 1:369/102 ; Who we'll allow forwarding of netmail for
  286.     files-to    MyNet/all ; Who we'll send files to through our system
  287.     route-files 1:249/100 ; Specific routing of files to node 249/100
  288.                 101 102
  289.     ;
  290.     ; Route netmail to my Hub - all mail goes to the Hub except nodes
  291.     ; listed in the no-route statement below.  The hold statement may
  292.     ; be used with all nodelist flags and within each schedule block.
  293.     ; InterMail uses the wildcards "MyNet/All" and "All" in all routing.
  294.     ;
  295.     route-to    1:249/1 1:All 2:All 3:All 4:All 5:All 6:All
  296.     no-route    1:249/101 106 114 1:369/102
  297.     route-to    1:369/102 1:369/all
  298.     hold        1:249/106 H14 H16 ZYX !CM 1:369/102
  299.     ;
  300.     ; SCHEDULES
  301.     ;
  302.     Schedule @ All  ; Default
  303.     ;
  304.     Schedule A H16  ; Only H16 Nodes will qualify for mail.
  305.     deny       MyNet/All
  306.     unhold     H16
  307.     ;
  308.     Schedule P All  ; Unhold mail (if any) and poll the Hub
  309.     unhold     1:249/1
  310.     poll       1:249/1
  311.     ;
  312.     Schedule Z All  ; Zone Mail hour // Hold everything
  313.     hold all
  314.     ; end of file
  315.  
  316.  
  317.  
  318. Nodelist Control Table
  319. ----------------------
  320. The nodelist Control Table has several important functions. The file
  321. is named FDNODE.CTL and can be edited in the Nodelist Manager or by
  322. any ASCII editor.
  323.  
  324. If a file named NODELIST with a numerical extension, e.g.
  325. NODELIST.004 or NODELIST.144, exists in \IM\NODELIST, it will be used
  326. when you compile the nodelist with IMNC /C or F9 in IMNC.EXE
  327.  
  328. If several files with different extensions exist, the Nodelist
  329. Manager will pick the one with the highest number.
  330.  
  331. The PVTLIST statement allows additional nodelists to be added so that
  332. you can participate in more than one network. Any nodelist that
  333. doesn't follow the NODELIST.### naming convention can be included
  334. with the PVTLIST command, for example:
  335.  
  336. PvtList imlist.*
  337.  
  338. If no path is included in the name, the Nodelist Manager will assume
  339. that the file is in the nodelist directory specified in IMSetup.
  340.  
  341. In order for InterMail to be able to use a centrally distributed
  342. nodelist, the phone numbers in the nodelist have to follow the same
  343. format everywhere. This format includs country code and area code,
  344. but not the extra digit that is used in many countries to dial a
  345. long-distance call. For example:
  346.  
  347. A number in the 613 area code in Canada might look like this in the
  348. nodelist: 1-613-555-5555. To dial the same number locally, you would
  349. dial 555-5555. If you were within the 613 area, and this was not a
  350. local call for you, you would dial 1-555-5555. The same number dialed
  351. from any place in North America outside the 613 area would be dialed
  352. exactly as it appears in the nodelist.
  353.  
  354. To handle the phone number translation, InterMail uses a dialing
  355. table in the Control file. The table starts with the word DIAL and
  356. ends with the word END. When you install InterMail, this table is
  357. created automatically so that it will handle most calls from your
  358. area code, but you may wish to improve on it to handle non-local
  359. calls within your area code. The original table may look like this:
  360.  
  361.     DIAL / 011/#
  362.       1-613-555-  1-555  ; long distance within the 613 area
  363.       1-613-             ; local calls
  364.       1-          1-     ; within the U.S. and Canada
  365.     END
  366.  
  367. The format for the rest of the table is that you first specify the
  368. part of a phone number that you want to translate and then what you
  369. wish to replace it with. In the example, 1-613-555- would be
  370. abbreviated to 1-555-. If part of a number should be deleted, the
  371. second parameter on the line can be left empty.
  372.  
  373. The example table could be improved by adding exchanges in the 613
  374. area code which are not local calls wherever InterMail is located.
  375.  
  376.       1-613-444-   1-444-
  377.       1-613-777-   1-777-
  378.  
  379. NOTE: A change in the dialing table requires that you recompile the
  380. nodelist before it can take effect.
  381.  
  382. The cost table is used to inform InterMail of the cost per minute for
  383. each area it is likely to dial. The table starts with the word COST
  384. and ends with the word END. The format is similar to that of the
  385. dialing table:
  386.  
  387.   COST  65  350
  388.    1-613-      0 ; local call
  389.    1-212-     45 ; New York
  390.    44-       110 ; United Kingdom
  391.    46-       125 ; Sweden
  392.   END
  393.  
  394. The COST command takes two parameters: the default national cost and
  395. the default international cost. The format of the rest of the list is
  396. simple. First enter the beginning of a phone number (country code and
  397. area code, where applicable) and then the highest daytime cost per
  398. minute of calling it.
  399.  
  400.  
  401.  
  402. Semaphore files
  403. ---------------
  404. A feature in InterMail exists where you can force the mailer to drop
  405. to your IMRUN.BAT file with a specified errorlevel, and can be useful
  406. in multi-node BBS setups, effectively enabling one BBS task to
  407. communicate with another Mail Server. (This also works over a LAN,
  408. assuming the semaphore directories are identical).
  409.  
  410. To cause this exit with your specified errorlevel, simply make a file
  411. called IMEXIT##.??? in your semaphore directory, where ## is the mail
  412. server number and ??? is the errorlevel you would like the mailer to
  413. exit with. IMEXIT00.??? will tell ALL InterMail tasks using that
  414. semaphore directory to exit with that errorlevel. DOS command:
  415.  
  416.           REM > C:\IM\SEMA\IMEXIT01.249
  417.  
  418. would cause Mail Server #1 to exit with errorlevel 249.
  419.  
  420. The IMSLEEP.NOW will temporarily put all Mailers to sleep, making
  421. them suspend all activites and release the nodelist files. The
  422. IMSLEEP.NOW is created by the IMNC and the FREENODE. The IMSLEEP.NOW
  423. may be removed by FREENODE /U (Undo). This feature is very usefull
  424. for nodelist updates in a multiline system.
  425.  
  426.  
  427.  
  428. Command Line Switches
  429. ---------------------
  430. InterMail can also use a number of command line switches which are
  431. added to your IMRUN.BAT. Some of the switches that are available with
  432. InterMail are:
  433.  
  434.     /#[mail server #]  Load the Mailer as a specific mail server.
  435.     /BSY:[path]        Enable support for Squish style *.BSY files.
  436.     /L:[password]      Loads the Mailer with a keyboard password.
  437.     /NF                No Fossil. Use InterMail's built-in SIO driver.
  438.     /RDBG              Routing debug mode.
  439.     /TIME              Display time stamp for messages on screen.
  440.     /NOUNPACK          Prevents the Mailer from unpacking any mail.
  441.     /RM1               RingMaster or "distinctive ringing" support.
  442.                        InterMail can detect phone number 1 and 2 if
  443.                        invoked with the parameters /rm1 or /rm2.
  444.     /ZMAX:[block size] Set maximum block size for Zmodem.  Use 32,
  445.                        64, 128, 256, 512, 1024, 2048 or 4096. Use if
  446.                        you often get bad phone lines.
  447.  
  448. To setup Mail Server #1 with the built-in SIO driver and Squish type
  449. *.BSY file support, you would need the following in your IMRUN.BAT:
  450.  
  451.     im /#1 /nf /bsy:c:\im\out.sq
  452.  
  453.  
  454. Where to get help
  455. -----------------
  456. For information and tips about using InterMail, you can link up to
  457. the international FidoNet INTERMAIL echo. The echo is available from
  458. your NEC or Hub and participants in the echo will be glad to offer
  459. suggestions and hints on how to get the most out of your new
  460. InterMail package.
  461.  
  462. All brands and product names are trademarks or registered trademarks
  463. of their respective holders.
  464.  
  465. If you have any questions, please do not hesitate to contact us.
  466.  
  467. InterMail Sales Inc            Voice  1-305-436-1587
  468. 9050 Pines Blvd, Suite 430       Fax  1-305-436-5587
  469. Hollywood, FL 33024-6415         BBS  1-305-436-1884
  470. USA                             Fido  1:369/102
  471.