home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / bbs / im / IMMANUAL.DOC < prev    next >
Encoding:
Text File  |  1976-11-25  |  19.7 KB  |  514 lines

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