home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / tcp / serve / server.doc < prev    next >
Encoding:
Text File  |  1988-01-09  |  3.0 KB  |  100 lines

  1. Jan 9, 1987
  2.  
  3. The purpose of this documentation is to show you how to implement
  4. a TCP/IP to MBL BBS (and back) message server. It has taken many hours
  5. (days) of trial and error to come up with it. The main problem was that 
  6. the original SERVER.EXE by PA0GRI had a few bugs in it. With the 
  7. help of WD5EFC, I was able to get the whole system working with only
  8. ONE bug. (More on that later)
  9.  
  10. Step by step...
  11.  
  12. It is assumed that you already have the BBS working on one or more 
  13. ports, and TCP/IP on another with either DoubleDos or DeskView.
  14.  
  15. The TCP/IP and BM files subdirectories should be as described 
  16. in their respective documentation.
  17.  
  18. In your forward file for the bbs, put the following:
  19.  
  20. d serv
  21. 00-23
  22. ------
  23. t server.inp
  24. 00-23
  25. -------
  26.  
  27. Then in the bbs subdirectory, the following batch file:
  28.  
  29. server wa4ewv
  30. if not exist server.txt goto done
  31. copy server.old+server.txt server.old
  32. del server.txt
  33. :done
  34.  
  35. Replace wa4ewv with your call, because if blank, it will put in PA0GRI.
  36. If you do not want the messages saved after processing, you can
  37. delete the line that does the copy in the batch file.
  38.  
  39. The program SERVER.EXE should also be in the bbs subdirectory. Note 
  40. that this is a NEW version with changes by Herb (WD5EFC).
  41.  
  42. NOW... here is how the system works.
  43.  
  44. From BBS to TCP/IP:
  45.  
  46. S SERVER            {Send a message to server}
  47. WD5EFC@WD5EFC       {This is subject line. Syntax usernam@hostnam}
  48.  
  49. Then the text of the message.
  50.  
  51. When the BBS sees this message to SERVER, it puts it in a file
  52. called server.txt in the bbs subdirectory.  Then when the BBS 
  53. autoforwards¼ it takes this file, and makes the TCP/IP mail 
  54. messages out of it so that SMTP can take care of them.
  55.  
  56. From TCP/IP to BBS:
  57.  
  58. Using BM enter your message as follows:
  59.  
  60. To: SERVER@WA4EWV%WD5GAZ    {Syntax first word SERVER
  61.                              @
  62.                              second word TCP/IP host that
  63.                              has the BBS.
  64.                              %
  65.                              third word Call of destination station.
  66. Subject: normal
  67. Text normal
  68.  
  69. Now for the BUG>>> 
  70.  
  71. BM does not quite handle the % correctly, and we can't change it
  72. because we are missing one of the source code files.
  73.  
  74. Sooooo... here is what you have to do. Go to the \spool\mqueue
  75. subdirectory, and having taken note of the message number produced
  76. by BM, edit the file xxx.WRK as follows:
  77.  
  78. If you used the TO example above you will see on the first line:
  79.  
  80. wa4ewv%wd5gaz
  81.  
  82. Edit the %wd5gaz out so that it only has the wa4ewv call in it.
  83.  
  84. Exit editor, delete the .BAK file and you are on your way. Bring
  85. up NET, and SMTP will take over.
  86.  
  87. While on the subject of SMTP, I recommend that you put the following
  88. statement in your AUTOEXEC.NET file for NET:
  89.  
  90. SMTP TIMER 600
  91.  
  92. This starts the SMTP timer running, and polls the disk ever 600 seconds
  93. to see whats there.
  94.  
  95. I sure hope this helps those of you who may have been having
  96. problems getting the thing up and running.
  97.  
  98. 73 Al
  99. WA4EWV
  100.