home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / XOR_107.ZIP / SIMPLE.CFG < prev    next >
Text File  |  1995-06-03  |  16KB  |  333 lines

  1. ;============================================================================
  2. ;
  3. ; A SIMPLE sample CFG for XOR    version 1.07
  4. ; This is only a very simple configuration file which doesn't
  5. ; reveel very much of the features implemented in xOR.
  6. ; Copyright (c) 1993,94,95 by Mirko K. Mucko
  7. ;
  8. ;============================================================================
  9. ;
  10. ;  For better performance at runtime, your may remove all comments
  11. ;
  12. ;============================================================================
  13. ; MAINAKA and AKA define your main aka and additional akas. As second
  14. ; parameter, define a extension (3 chars). This extension is used on all
  15. ; text files to allow different responsed aka depending.
  16. ;============================================================================
  17.  
  18. MAINAKA         2:2433/920              TXT
  19.  
  20. ;============================================================================
  21. ; Now, several files and pathes are defined. You may ommit the trailing
  22. ; backslash if you want.
  23. ;
  24. ; In multiline environment (SET TASK=...), the LOGFILE name is appended
  25. ; by the task number. "XOR.LOG" will become "XOR1.LOG" if TASK is set to "1".
  26. ;============================================================================
  27.  
  28. LOGFILE    D:\TP\PRG\FIDO\XOR\XOR.LOG
  29. OLILOGFILE D:\TP\PRG\FIDO\XOR\OLI.LOG
  30.  
  31. ;============================================================================
  32. ; INBOUND  is you *.pkt directory. xOR posts here several text files
  33. ; to be imported either as netmail or as echomail. Therefor, if you have
  34. ; a "secure" inbound for your mail tosser, use that one.
  35. ;============================================================================
  36.  
  37. INBOUND C:\MCM\INBOUND
  38.  
  39. ;============================================================================
  40. ; NETMAIL defines the path to your *.MSG (="Matrix") messages.
  41. ;============================================================================
  42.  
  43. NETMAIL F:\SHRD\NETMAIX
  44.  
  45. ;============================================================================
  46. ; HOMEPATH  is the basic path where all xOR files and xOR Utilities are stored.
  47. ;  Also, you key file must be placed there.
  48. ;============================================================================
  49.  
  50. HOMEPATH D:\TP\PRG\FIDO\XOR
  51.  
  52. ;============================================================================
  53. ; PKTPath defines the temporary path where xOR creates pakets to be
  54. ; sent to other systems. Also, xOR creates here some temporary datas,
  55. ; so it is good NOT to share that path with other programs.
  56. ;============================================================================
  57.  
  58. PKTPATH         D:\TEMP\XOR
  59.  
  60. ;============================================================================
  61. ; DATABASE and the following statements define the path and name of xOR's
  62. ; file and path index bases in this way :
  63. ;
  64. ; DATABASE      is the main database where the files are stored
  65. ; DESCBASE      is the main database where the description indices
  66. ;               are stored
  67. ; PATHBASE      is the main database where the pathes are stored
  68. ; CDINDEX       is the database where CD ROM file index are stored
  69. ; CDPATHINDEX   is the database where CD ROM pathes are stored
  70. ; CDPATHBASE    is the database where CD ROM description indices are stored
  71. ;
  72. ; CDBUFFER      if enabled, xOR will copy all files requested from CDs to
  73. ;               that path to speed up requests. That's very important
  74. ;               if you run a multi-CD-ROM-drive, e.g. Pioneer 60?x changer
  75. ;               NOTE : in multiline environments, the path is expanded to
  76. ;               <PATH>.<TASK>, e.g. if TASK = 3, the path \TEMP\XOR.3 must
  77. ;               exist on runtime!
  78. ;============================================================================
  79.  
  80. DATABASE        D:\TEMP\XOR\DATABASE.FIL
  81. DESCBASE        D:\TEMP\XOR\DESCBASE.FIL
  82. PATHBASE        D:\TEMP\XOR\PATHBASE.FIL
  83.  
  84. CDINDEX         D:\TEMP\XOR\DATABASE.CD
  85. CDPATHINDEX     D:\TEMP\XOR\PATHBASE.CD
  86. CDDESCBASE      D:\TEMP\XOR\DESCBASE.CD
  87.  
  88. CDBUFFER        D:\TEMP\XOR
  89.  
  90. ;============================================================================
  91. ; The following three statements represent statistical databases
  92. ;
  93. ; USERBASE         is the user statistic base
  94. ; RESUMEINDEXPATH  this is a PATH where resume files (*.RES) for each single
  95. ;                  user is stored
  96. ;============================================================================
  97.  
  98. USERBASE        D:\TEMP\XOR\XOR.USR
  99. RESUMEINDEXPATH D:\TEMP\XOR\RESUME
  100.  
  101.  
  102. ;============================================================================
  103. ; UseNetwareFeatures ON | OFF  set to ON to enable special
  104. ; Novell Netware or compatible features (Personal Netware ect).
  105. ; This implies special treatement for Netware CAST messages ect.
  106. ;============================================================================
  107.  
  108. UseNetwareFeatures ON
  109.  
  110. ;============================================================================
  111. ; SYSOP  this is your native name on which the key file is coded.
  112. ;============================================================================
  113.  
  114. Sysop       Mirko Mucko
  115.  
  116. ;============================================================================
  117. ; The ALIAS files (also called "magic files") are defined now.
  118. ; You have two ways to include an alias, either by an alias list (an external
  119. ; text file) or by entering the alias here
  120. ;
  121. ; ALIASSFILE is the main alias index file
  122. ; ALIASDESCBASE is the alias description index file
  123. ;============================================================================
  124.  
  125. ALIASFILE        D:\TEMP\XOR\ALIAS.IDX
  126. ALIASDESCBASE    D:\TEMP\XOR\ALIAS.DSC
  127.  
  128. ;============================================================================
  129. ; To define a single alias instead of linking a text file, use that
  130. ; command. NOTE : "###" as extension forces xOR to search for the
  131. ; latest file matching the alias.
  132. ;============================================================================
  133.  
  134. ALIAS GERNODE         D:\FILES\ALIASES\GERNODE.ZIP
  135. ALIAS XOR             D:\FILES\LOCAL\FRODO\XOR106.EXE
  136. ALIAS LANFILES        D:\FILES\ALIASES\LANFILES.ZIP
  137.  
  138. ALIAS *.*             D:\FILES\Local\TEXTE\fuck_off.txt
  139.  
  140. ;============================================================================
  141. ; xOR uses several different response text files to satisfy you and your user's
  142. ; needs.
  143. ;
  144. ; HEADER        is the file linked to a response msg before the list of
  145. ;               requested files
  146. ; FOOTER        is the file linked to a response msg after all other
  147. ; HAPPY         is a textfile sent when a user requests in a "happy hour"
  148. ;               for explanation of HAPPY HOUR, RTFM .-)
  149. ; NOMAILER      if enabled, xOR tries to deny all users using
  150. ;               a mailer defined later on. This may run only in EMSI sessions
  151. ; NOREQNOW      is a text file which explaines to users they are not allowed
  152. ;               to request right now
  153. ; TOOSLOW       is a text file sent when a user requests at a too low speed
  154. ; BREAKTIME     is a text file sent when the limit defined with BREAKTIME exceeds
  155. ; FIRSTTIMETEXT is the text file a user receives the very first time he/she
  156. ;               requests at your site. It may contain information about your
  157. ;               system, baud rates, ports and request times
  158. ; DENYTWITTEXT  is the text file sent whenever xOR assumes a user is a "twit",
  159. ; {+}           a person which should not receive files from your system.
  160. ;               These users are defined later on.
  161. ;
  162. ; QOD           is the "quote of the day" file and optional.
  163. ;               hee you define a file with one "joke" or nice sentence.
  164. ;               per QOD, one line is allowed with up to 76 chars.
  165. ;
  166. ; Note that all files are without extension since the extension is defined
  167. ; by the AKA of the remote system (see your AKA definition above)
  168. ;============================================================================
  169.  
  170. HEADER        D:\TP\PRG\FIDO\XOR\TXT\HEADER
  171. FOOTER        D:\TP\PRG\FIDO\XOR\TXT\FOOTER
  172. HAPPY         D:\TP\PRG\FIDO\XOR\TXT\HAPPY
  173. NOMAILER      D:\TP\PRG\FIDO\XOR\TXT\NOMAILER
  174. NOREQNOW      D:\TP\PRG\FIDO\XOR\TXT\SENDFAIL
  175.  
  176. TOOSLOWTEXT   D:\TP\PRG\FIDO\XOR\TXT\TOOSLOW
  177. BREAKTIMETEXT D:\TP\PRG\FIDO\XOR\TXT\BREAK
  178. FIRSTTIMETEXT D:\TP\PRG\FIDO\XOR\TXT\FIRST
  179.  
  180. DENYTWITTEXT  D:\TP\PRG\FIDO\XOR\TXT\NOTWIT
  181.  
  182. QOD           D:\TP\PRG\FIDO\XOR\TXT\QOD
  183.  
  184. ;============================================================================
  185. ; MinReqSpeed defines the minimal connection rate a user must have to have
  186. ; access to your filebase.
  187. ;============================================================================
  188.  
  189. MinReqSpeed 2400
  190.  
  191. ;============================================================================
  192. ; The following commands define text fields sent in the response message
  193. ;
  194. ; NONEWERFOUND          is sent when an time comparing request failed
  195. ; NOMATCHING            is sent whenever the requested file is not found
  196. ; PSWDFAILURE           is sent when a file is passwordprotected and the wrong
  197. ;                       password or none is entered
  198. ; TOOMUCHFILES          is sent when a user exceeds it's limits by number
  199. ; TOOMUCHSIZE           is sent when a user exceeds it's limit by size
  200. ; TIMEOUT               is sent when a user exceeds it's limit by transfer time
  201. ; RTOOMUCHFILES         is sent when a user exceeds it's limits by number per session
  202. ; RTOOMUCHSIZE          is sent when a user exceeds it's limit by size per session
  203. ; RTIMEOUT              is sent when a user exceeds it's limit by transfer time per session
  204. ;
  205. ; CDFILEREMOVED         is sent when a requested file from CD is no more found
  206. ; FILEREMOVED           is sent when a requested file is no more found
  207. ; DUPREQUEST            is sent when a user requests one file twice or more
  208. ;                       for defining different levels of dupcheck, see later on
  209. ;============================================================================
  210.  
  211. NoNewerFound  No file later than the required time found
  212. NoMatching    No matching file found
  213. PswdFailure   Password failure
  214. TooMuchFiles  Too much file numbers requested
  215. TooMuchSize   Too much file size requested
  216. TimeOut       Too less time left for this file
  217. RTooMuchFiles Too much file numbers requested for one request
  218. RTooMuchSize  Too much file size requested for one request
  219. RTimeOut      Too less time left for this file for one request
  220. NotReleased   This File is not yet released. Try later!
  221.  
  222. CDFileRemoved CD no more presend, dismounted or changed!
  223. FileRemoved   File no more found, perhaps removed
  224. DupRequest    Duplicate file requested. Check your brain!
  225.  
  226. ;============================================================================
  227. ; You may define different groups, to which you may refer later either
  228. ; in DEFINE statements and/or in password statements
  229. ; The first statement is the Group Name (case insensitive), the second
  230. ; is the AKA or one of the known keywords ("ALL","PROTECTED","UNPROTECTED", and
  231. ; "UNLISTED". The group name may have a maximum of 12 characters!
  232. ;============================================================================
  233.  
  234. USERGROUP   All_User          ALL
  235.  
  236. ;============================================================================
  237. ; This defines a group of pathes. To add/remove a usergroup, you *must*
  238. ; re-compile all index files to take effect!
  239. ;============================================================================
  240.  
  241. PathGroup   ALLFILES          D:\
  242.  
  243.  
  244. ;============================================================================
  245. ; The Baud groups define how much files a user with a certain baud rate
  246. ; may get. So you may (but haven't to) seperate your friends with ISDN
  247. ; from the old webble ones with analog lines and low speed .-)
  248. ;============================================================================
  249.  
  250. BAUDGROUP  ALLSPEED    300 1200 2400 4800  7200 9600 12000 14400 16800 19200 21600 24000 26400 28800 38400 64000
  251.  
  252. ;============================================================================
  253. ; The most important part is the limit definition for your users.
  254. ; a definition line c onsists of 8 parameters
  255. ;
  256. ;   1   the line number in multiline environments or "0" for all lines
  257. ;       and single line systems
  258. ;   2   the GROUP NAME defined by USERGROUP
  259. ;   3   the BAUD GROUP as defined above
  260. ;   4-6 the limits in minutes, number and kbytes per day
  261. ;   7-9 the limits in minutes, number and kbytes per request
  262. ;
  263. ;   As an example, take that:
  264. ;
  265. ; DEFINE 0  ALL_USER ALLSPEED 60 30 1024   20 10 1024
  266. ;
  267. ; on all lines, unprotected systems may request
  268. ;       60 minutes, 30 files and 1 MByte per day and
  269. ;       20 minutes, 10 files and 1 MByte per request session
  270. ;
  271. ; The value "-1" means "unlimited", so you may limit requests e.g. only
  272. ; by time.
  273. ;============================================================================
  274.  
  275. DEFINE    0    ALL_USER  ALLSPEED   5    5    128       5    5    128
  276.  
  277. ;============================================================================
  278. ; The baud rates define the relation between a connect rate and a CPS rate
  279. ; If you don't specify all rates your mailer supports, xOR assumes a baud
  280. ; rate whenever an "unknown" baud rate appears. Note that baud rate for off
  281. ; line requests is defined by OLIBAUD.
  282. ;============================================================================
  283.  
  284. BAUD    1200       110
  285. BAUD    2400       235
  286. BAUD    4800       400
  287. BAUD    7200       600
  288. BAUD    9600       800
  289. BAUD   12000      1100
  290. BAUD   14400      1250
  291. BAUD   16800      1450
  292. BAUD   19200      2200
  293. BAUD   38400      3500
  294. BAUD   64000      7500
  295.  
  296. OLIBAUD           64000
  297.  
  298. ;============================================================================
  299. ; In some text files, the days of week appear. Depending on your favourite
  300. ; language, you may adapt it to your needs.
  301. ;============================================================================
  302.  
  303. WEEKDAYS  Sunday Monday Tuesday Wednesday Thursday Friday Saturday Everyday
  304.  
  305. RequestTime 0         0000  2359   ALL_USER     All
  306.  
  307. ;============================================================================
  308. ; For   F I L E S . B B S   style environments  ONLY
  309. ; This section is read by FILESIDX only, not by xOR
  310. ; It defines the pathes & files to use when FILES.BBS is used.
  311. ;
  312. ; FILELIST <Level> <Path_&_File>        defines the file with
  313. ;                                       pathes to be included
  314. ; The structure of this file is one path per line, with or without
  315. ; trailing backslash.
  316. ; The first file sohl be your "default" list, the other one additional lists.
  317. ; Be sure at least one list is for all, and do not define pathes
  318. ; twice if possible since it make the index files grow up.
  319. ; Do *only* include "real" files on hard disk, not CD ROM devices
  320. ;============================================================================
  321.  
  322. FILELIST F:\SHRD\FILES\XFILES\FDOKFILE.LST
  323.  
  324. ;============================================================================
  325. ; With the GRANT statement, you grant the access right(s) to special files
  326. ; to a special group of user.
  327. ;============================================================================
  328.  
  329. GRANT  ALLFILES TO ALL_USER
  330.  
  331. ;============================================================================
  332. ; E n d   o f  S i m p l e  C o n f i g u r a t i o n   f i l e
  333. ;============================================================================