home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / GMD_310.ZIP / SAMPLE.CFG < prev    next >
Text File  |  1991-11-03  |  17KB  |  396 lines

  1. ;                    Sample GMD 3.10 Configuration File
  2. ;                   ====================================
  3.  
  4.  
  5. ; ****************************************************************************
  6. ;
  7. ; PLEASE NOTE:
  8. ;
  9. ; GMD is a very powerful program.  Used properly, GMD can detect many types of
  10. ; grunged messages and some types of duplicate messages.
  11. ;
  12. ; Used improperly, GMD is capable of deleting valid echo mail, generating
  13. ; false warning messages, and violating Policy in general.  Thus, you should
  14. ; be very careful in setting it up and in using it.  If you haven't read and
  15. ; understood FTS-0001 and FTS-0004 then you should not attempt to configure or
  16. ; use GMD.
  17. ;
  18. ; To protect you, me and the rest of the Net, GMD will not delete an echo mail
  19. ; message without sending an information message to the originator.
  20. ;
  21. ;
  22. ; Please refer to the the GMD documentation file for more information.
  23. ;
  24. ;
  25. ; You will have to change the sample values below to suit your own needs.  It
  26. ; is very important to configure these parameters to match your system:
  27. ;
  28. ;       Mail.Inbound
  29. ;       Ignore_Pkt_From
  30. ;       System.Domain
  31. ;       System.Zone
  32. ;       System.Net
  33. ;       System.Node
  34. ;       System.Point
  35. ;       System.SysOp
  36. ;       System.Private_Net (if needed)
  37. ;
  38. ; These parameters may also be configured to suit your style of operation:
  39. ;
  40. ;       Log.Screen_Level
  41. ;       Log.Level
  42. ;       Log.File
  43. ;       Log.Error_Stats
  44. ;       Mail.Error_Stats
  45. ;       Mail.Bad_Area
  46. ;       Info_Message.Kill_Sent
  47. ;       Stat.File
  48. ;       Stat.Max_Nr_To_Node
  49. ;       Max_Nr_Per_Packet
  50. ;       Ignore_Pkt_To (if needed)
  51. ;       Ignore_Echo_List (if needed)
  52. ;       Info_Message.Pass_File
  53. ;       Info_Message.Delete_File
  54. ;       Info_Message.Pass_Subject
  55. ;       Info_Message.Delete_Subject
  56.  
  57.  
  58.  
  59. ; ****************************************************************************
  60. ;
  61. ;                             General Operation
  62. ;
  63. ; This section contains general information about your system and how GMD
  64. ; should operate.
  65.  
  66. General:
  67.  
  68. ; GMD logs both to the screen and to a file.  You can specify the level of
  69. ; detail you want for each.  Each level includes the information in the
  70. ; lower levels.
  71. ;
  72. Log.Screen_Level        = 2                     ; 0 - 5
  73. Log.Level               = 4                     ; 0 - 5
  74. Log.File                = GMD.Log               ; filespec
  75.  
  76. ; These will generate some summary statistics about the numbers and types of
  77. ; non-conforming messages.  The first appends this information to the above
  78. ; logs.  The second sends this information to you in a net mail message.
  79. ;
  80. Log.Error_Stats         = y                     ; y or n
  81. Mail.Error_Stats        = y                     ; y or n
  82.  
  83. ; This defines the directory containing the incoming packets.  It is usually
  84. ; your inbound mail area.
  85. ;
  86. Mail.Inbound            = C:\In\                ; directory with trailing "\"
  87.  
  88. ; This is the name of the echo mail area where GMD will send "saved" copies of
  89. ; non-conforming messages.
  90. ;
  91. Mail.Bad_Area           = GMD_Bad               ; echo area name
  92.  
  93. ; This tells GMD whether or not to set the "kill/sent" attribute in the
  94. ; information messages which it generates.
  95. ;
  96. Info_Message.Kill_Sent  = y                     ; y or n
  97.  
  98. ; This tells GMD the name of the statistical database.  In this data base GMD
  99. ; maintains statistical information about the number and types of errors
  100. ; encountered  for each node.  The database is cleared by deleting the file.
  101. ; GMD provides a reporting program.  See the documentation for the reporting
  102. ; program for the details of database file layout.
  103. ;
  104. Stat.File               = GMD.Dat               ; filespec
  105.  
  106. ; This tells GMD the maximum number of information messages to send because of
  107. ; a particular node.  It uses the statistical database defined above.  This
  108. ; parameter has no effect when the information message is generated because a
  109. ; message has been deleted.
  110. ;
  111. Stat.Max_Nr_To_Node     = 5                     ; 1 - 10
  112.  
  113. ; GMD keeps track of the number of information messages it sends out per
  114. ; packet.   When that number gets larger than what is configured below, GMD
  115. ; stops sending out information messages for that packet.
  116. ;
  117. Max_Nr_Per_Packet       = 50                    ; 25 - 100
  118.  
  119. ; This partially stops your GMD from processing incoming packets.  It stops
  120. ; your GMD from generating information messages and save copies, unless a
  121. ; delete is also called for, in which case it processes normally.  This
  122. ; allows for the possibility of a message being grunged even though you are
  123. ; generally ignoring the packet.  To prevent generating duplicate information
  124. ; messages to other nodes, you should list any nodes you connect with who also
  125. ; run GMD.  You should also always list your echo mail feed, even if he
  126. ; doesn't run GMD.
  127. ;
  128. Ignore_Pkt_From         = 1:13/13 396/1         ; node address(es), optional
  129.                                                 ; short form is OK.
  130.                                                 ; Example:  396/1 2 3
  131.  
  132. ; This stops your GMD from processing incoming packets which are addressed to
  133. ; certain nodes.  This allows for "passthrough" packets which your system is
  134. ; not going to import or toss.  This complements QM's Pkt_Forward feature.
  135. ;
  136. ;Ignore_Pkt_To          = 1:396/2 1:1/1         ; node address(es), optional
  137.                                                 ; short form is OK.
  138.                                                 ; Example:  396/1 2 3
  139.  
  140. ; This stops GMD from checking packet endings to see if the are legal or not.
  141. ;
  142. Ignore_Illegal_Packet_Ending = n                ; y or n
  143.  
  144. ; This stops GMD from processing messages for the echoes listed.
  145. ;
  146. ;Ignore_Echo_List       = xyz, qrs              ; list of echoes, optional
  147.  
  148.  
  149. ; ****************************************************************************
  150. ;
  151. ;                              Set Definitions
  152. ;
  153. ; This section contains definitions of sets which are used in the Default and
  154. ; Area Sections.  Sets are used to specify character sets and zone numbers,
  155. ; for example.  You can name them whatever you want to and you can have as
  156. ; many as you need.
  157. ;
  158. ; You can specify single number(s) or range(s) of numbers.  A number is
  159. ; decimal by default, but can also be in hex or character form.  Hex numbers
  160. ; start with "0x" and are followed by the hex digits.  Characters are enclosed
  161. ; in single quotes (').  In all cases the numbers must be between 0 and 255.
  162. ; A range a number, followed by the word "to", followed by the other number.
  163. ; If more than one number, or range, is used, each must be separated by a
  164. ; comma.
  165.  
  166. Sets:
  167.  
  168. Char_ASCII              = ' ' to 126
  169. Char_HiBit              = ' ' to 126, 128 to 168, 173, 224 to 240
  170. Char_All                = 0x01 to 0xFF
  171.  
  172. Zone_1                  = 1
  173. Zone_2                  = 2
  174. Zone_3                  = 3
  175. Zone_4                  = 4
  176. Zone_5                  = 5
  177. Zone_6                  = 6
  178. Zone_Fido               = 1 to 6
  179. Zone_All                = 1 to 255
  180.  
  181.  
  182. ; ****************************************************************************
  183. ;
  184. ;                         Default Message Standards
  185. ;
  186. ; This section contains the default settings used for the echo areas.  These
  187. ; settings can be overridden for specific echoes by using the Area Section.
  188. ;
  189. ; Most of these parameters test conditions, hence use the "ids" commands.
  190.  
  191. Default:
  192.  
  193. ; Define you system's address and your name.  These are used in the
  194. ; information messages that GMD generates.
  195. ;
  196. System.Domain           = fidonet               ; string
  197. System.Zone             = 0                     ; 1 - 255
  198. System.Net              = 0                     ; 1 - 65535
  199. System.Node             = 0                     ; 0 - 65535
  200. System.Point            = 0                     ; 0 - 65535
  201. System.SysOp            = "John Doe"            ; string
  202. ;System.Private_Net     = 0                     ; 1 - 65535, optional
  203.  
  204. ; The message length is the length of the packed message.  This includes the
  205. ; header and the "unbounded text" of the message.  In other words, all of the
  206. ; control fields are included.
  207. ;
  208. Message.Length          = 13312         is      ; 8192 - 60000, "is"
  209.  
  210. ; GMD sends two styles of information messages, depending on whether or not
  211. ; the non-conforming message was deleted (as per the setting of the "d"
  212. ; command).  The messages are built from one of two template files, and one
  213. ; of two subjects.
  214. ;
  215. Info_Message.Pass_File          = GMD.Pas       ; filespec
  216. Info_Message.Delete_File        = GMD.Del       ; filespec
  217. Info_Message.Pass_Subject       = "Grunged Message Detected"  ; string
  218. Info_Message.Delete_Subject     = "Grunged Message Deleted"   ; string
  219.  
  220. ; This is the criteria that GMD uses to test the conformance of the "To"
  221. ; field.
  222. ;
  223. ; - "Alphabet" checks for illegal characters (not in the specified set).
  224. ; - "Empty" checks for an empty field.
  225. ; - "Length" checks that the field is not longer than specified in FTS-0001.
  226. ;
  227. To.Alphabet             = Char_HiBit    ids     ; set, "ids"
  228. To.Empty                = y             is      ; y or n, "is"
  229. To.Length               = y             ids     ; y or n, "ids"
  230.  
  231. ; This is the criteria that GMD uses to test the conformance of the "From"
  232. ; field.  See "To.xxx" for descriptions of the tests.
  233. ;
  234. From.Alphabet           = Char_HiBit    ids     ; set, "ids"
  235. From.Empty              = y             is      ; y or n, "is"
  236. From.Length             = y             ids     ; y or n, "ids"
  237.  
  238. ; This is the criteria that GMD uses to test the conformance of the "Subject"
  239. ; field.  See "To.xxx" for descriptions of the tests.
  240. ;
  241. Subject.Alphabet        = Char_HiBit    ids     ; set, "ids"
  242. Subject.Empty           = n             is      ; y or n, "is"
  243. Subject.Length          = y             ids     ; y or n, "ids"
  244.  
  245. ; This is the criteria that GMD uses to test the conformance of the "Date"
  246. ; field.
  247. ;
  248. ; - "Bad" tests for legal formats as specified in FTS-0001.
  249. ; - "One_Space_OK" exempts the case of only having one space, instead of two,
  250. ;       between the date and time from being tested by "Bad".
  251. ; - "Old" tests for dates which are too many days old.  1/1/80 is ignored.
  252. ; - "New" tests for dates which are too many days in the future.
  253. ;
  254. Date.Bad                = y             ids     ; y or n, "ids"
  255. Date.One_Space_OK       = y                     ; y or n
  256. Date.Old                = 30            ids     ; 20 - 255, "ids"
  257. Date.New                = y             ids     ; y or n, "ids"
  258.  
  259. ; This is the criteria that GMD uses to test the conformance of the "Body" of
  260. ; the message.
  261. ;
  262. ; - "Alphabet" tests for illegal characters (not in the specified set).
  263. ;       Hidden lines are NOT tested.
  264. ;
  265. Body.Alphabet           = Char_All      is      ; set, "is"
  266.  
  267. ; This is the criteria that GMD uses to test the conformance of the gated
  268. ; origin line(s).  A gated origin line starts with " # Origin: ".
  269. ;
  270. ; - "Sequence" tests that a gated origin line immediately follows another
  271. ;       gated origin line, unless it is the first one.
  272. ; - "Max_Len" tests that the line is no longer than the specified length.
  273. ; - "Alphabet" tests for illegal characters (not in the specified set).
  274. ;
  275. Gated_Origin.Sequence   = y                     ; y or n, "is"
  276. Gated_Origin.Max_Len    = 79                    ; 79 - 255, "is"
  277. Gated_Origin.Alphabet   = Char_HiBit            ; set, "is"
  278.  
  279. ; This is the criteria that GMD uses to test the conformance of the origin
  280. ; line.  An origin line starts with " * Origin: ".
  281. ;
  282. ; - "Ending" tests that a ")" is the last character on the origin line.
  283. ; - "Exist" tests for the existence of at least 1 origin line.
  284. ; - "Sequence" tests that the origin line immediately follows a gated origin
  285. ;       line, if there are any.
  286. ; - "Max_Nr" tests that there are no more than the specified number of origin
  287. ;       lines.
  288. ; - "Max_Len" tests that the line is no longer than the specified length.
  289. ; - "Alphabet" tests for illegal characters (not in the specified set).
  290. ; - "Node" tests for a legally formatted node number at the end of the line
  291. ;       in "()".
  292. ; - "Zones" tests for illegal zones (not in the specified set).
  293. ; - "Default_Zone" uses the "System.Zone" zone number in case the node number
  294. ;       does not include a zone.
  295. ;
  296. Origin.Ending           = y             is      ; y or n, "ids"
  297. Origin.Exist            = y             is      ; y or n, "is"
  298. Origin.Sequence         = y             is      ; y or n, "is"
  299. Origin.Max_Nr           = 1             ids     ; 1 - 10, "ids"
  300. Origin.Max_Len          = 79            is      ; 79 - 255, "is"
  301. Origin.Alphabet         = Char_HiBit    is      ; set, "ids"
  302. Origin.Node             = y             is      ; y or n, "ids"
  303. Origin.Zones            = Zone_All      is      ; set, "is"
  304. Origin.Default_Zone     = y                     ; y or n
  305.  
  306. ; This is the criteria that GMD uses to test the conformance of the seen-by
  307. ; line(s).  A seen-by line starts with:  "SEEN-BY: ".
  308. ;
  309. ; - "Exist" tests for the existence of at least 1 seen-by line.
  310. ; - "Sequence" tests that the seen-by line immediately follows the origin
  311. ;       line, or another seen-by line.
  312. ; - "Empty" tests that there is at least one node listed.
  313. ; - "Max_Len" tests that the line is no longer than the specified length.
  314. ; - "Node" tests for a legally formatted node numbers.  There must be at least
  315. ;       one.  They must be sorted.  There must be no zone or point numbers.
  316. ; - "Node_Dupes_OK" exempts the case of only duplicate node numbers from being
  317. ;       tested by "Node".
  318. ; - "Node_Sort_OK" exempts the case of only non-sorted node numbers from being
  319. ;       tested by "Node".
  320. ; - "Max_Nodes" tests that there are no more than the specified number of
  321. ;       nodes.
  322. ;
  323. Seen_By.Exist           = y             ids     ; y or n, "ids"
  324. Seen_By.Sequence        = y             is      ; y or n, "is"
  325. Seen_By.Empty           = y             is      ; y or n, "is"
  326. Seen_By.Max_Len         = 80            is      ; 80 - 255, "is"
  327. Seen_By.Node            = y             ids     ; y or n, "ids"
  328. Seen_By.Node_Dupes_OK   = y                     ; y or n
  329. Seen_By.Node_Sort_OK    = y                     ; y or n
  330. Seen_By.Max_Nodes       = 500           ids     ; 300 - 2000, "ids"
  331.  
  332. ; This is the criteria that GMD uses to test the conformance of the path
  333. ; line(s).  A path line starts with:  "^aPATH: ".
  334. ;
  335. ; - "Exist" tests for the existence of at least 1 path line.
  336. ; - "Sequence" tests that the path line immediately follows the seen-by
  337. ;       line(s) or another path line.
  338. ; - "Empty" tests that there is at least one node listed.
  339. ; - "Max_Len" tests that the line is no longer than the specified length.
  340. ; - "Node" tests for a legally formatted node numbers.  There must be at least
  341. ;       one.  There must be no zone or point numbers.
  342. ; - "Node_4D_OK" exempts the cases of zone and point numbers from being tested
  343. ;       by "Node".
  344. ; - "Max_Nodes" tests that there are no more than the specified number of
  345. ;       nodes.
  346. ;
  347. Path.Exist              = n             is      ; y or n, "is"
  348. Path.Sequence           = y             is      ; y or n, "is"
  349. Path.Empty              = y             is      ; y or n, "is"
  350. Path.Max_Len            = 80            is      ; 80 - 255, "is"
  351. Path.Node               = y             ids     ; y or n, "ids"
  352. Path.Node_4D_OK         = n                     ; y or n
  353. Path.Max_Nodes          = 100           ids     ; 100 - 200, "ids"
  354.  
  355. ; This is the criteria that GMD uses to test the conformance of the EOM (end
  356. ; of message).
  357. ;
  358. ; - "Sequence" tests that the EOM immediately follows the path line(s).
  359. ;
  360. End.Sequence            = y             is      ; y or n, "is"
  361.  
  362.  
  363. ; ****************************************************************************
  364. ;
  365. ;                             Exception Areas
  366. ;
  367. ; These are optional sections which contain exceptions to the defaults listed
  368. ; in the Default Section.  Any setting listed there can be overridden for
  369. ; specific echoes.  An echo mail area can only be listed in one Exception Area
  370. ; Section.
  371. ;
  372. ; The only required parameter in an Area Section is "Echoes".  It lists the
  373. ; echo mail areas for which the exceptions which follow it apply.
  374. ;
  375. ; This is an example of how to set different "Date.Old" criteria for two
  376. ; echoes:
  377. ;
  378. ;   Area:
  379. ;       Echoes                  = COMM, TECH
  380. ;       Date.Old                = 20            ids
  381. ;
  382. ; This is an example of how someone in an additional Network might set up.
  383. ; Note the included file with the list of echoes:
  384. ;
  385. ;   Area:
  386. ;       Echoes                  = @Other_Echo.Lst
  387. ;       System.Domain           = other
  388. ;       System.Zone             = 7
  389. ;       System.Net              = 9999
  390. ;       System.Node             = 8888
  391. ;       System.Point            = 0
  392. ;       System.SysOp            = "Other Name"
  393. ;       Origin.Zones            = Zone_7        is
  394.  
  395. ;                                  - End -
  396.