home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / gigp1106.zip / users.cfg < prev   
Text File  |  1994-05-31  |  13KB  |  274 lines

  1.  
  2. ;  
  3. KEEPUNKNOWN       ; Same as defining both KEEPUNKNOWNUSERS and KEEPUNKNOWNSITES
  4. KEEPUNKNOWNUSERS  ; Keeps messages to users on the LOCAL system that are not explicity defined
  5. KEEPUNKNOWNSITES  ; Keeps messages to other systems that are not yet defined, 
  6.                   ; so that you can manually forward/bounce/etc via netmail
  7.  
  8.  
  9.  
  10. ;  MAPSTYLE - Mapping style for default outbound email.  Gigo supports
  11. ;  practically any style of generating addresses now, as it is completely
  12. ;  definable by you, the admin.
  13.  
  14. ;  If the message is being launched from the gateway itself, then no
  15. ;  "othersite" should be evident in the outbound headers.  See "SITE local"
  16. ;  command below.
  17.  
  18. ;  EDIT THIS TO MATCH __YOUR__ SITE
  19. ;
  20. ;  *user   translates to the current user.name
  21. ;  *site   translates to the current SITE parameter
  22. ;  *mysite translates to the current MYSITE variable
  23. ;  *domain translates to the current DOMAIN variable
  24. ;  *myfeed translates to the current MYFEED variable
  25. ;  *fnz    translates to .f##.n##.z## (ie, *user@*fnz.fidonet.org)
  26. ;  *ftn    translates to ##-##-##-## (may have fewer #'s; this
  27. ;           variable is an alternative to *fnz, using fewer periods
  28. ;           and (usually) a shorter string.  The number of ##'s will
  29. ;           vary from 1 to 4 (ie, 203-7707 is enough to say net 203,
  30. ;           node 7707, in my zone).
  31. ;
  32. ;
  33. ;  You MUST define MAPSTYLELOCAL and MAPSTYLESITE; MAPSTYLEUNDEF is optional,
  34. ;  and defaults to a standard fidonet style address.
  35. ;
  36. ;  You may use any of the above variables; most importantly, *user
  37. ;  and *site.  Anything else can be filled in by you with specific
  38. ;  text, and may use the above variables if you wish.
  39.  
  40. MAPSTYLELOCAL     *user@*mysite.*domain         ; Used with SITE LOCAL statements
  41. MAPSTYLESITE      *user@*site.*mysite.*domain   ; Used with other SITE statements
  42. MAPSTYLEUNDEF     *user@*fnz.fidonet.org        ; Used when no SITE statement or bounced site
  43.  
  44. ; Other examples:
  45. ; MAPSTYLELOCAL   *user@wmeonlin.sacbbx.com
  46. ; MAPSTYLESITE    *user@*site.wmeonlin.sacbbx.com
  47. ;
  48. ; MAPSTYLELOCAL  vogon1!frackit!mdtn_bbs!*user@psuvax.psu.edu
  49. ; MAPSTYLESITE   vogon1!frackit!mdtn_bbs!*site!*user@psuvax.psu.edu
  50.  
  51.  
  52.  
  53.  
  54. ; Here's the guts of the name and account translations done by the gateway.
  55. ; There are _several_ different ways of handling USER and SITE statements;
  56. ; my attempts at expressing documentation are poor, so instead we will have
  57. ; examples of everything.
  58.  
  59. ; Remember that this example config file is for "swizzle.com".
  60.  
  61. ; Individual  accounts on your system are specified, with
  62. ; who their owner is and what their fidonet address is.
  63. ; They will appear as  "account@swizzle.com"
  64.  
  65. USER richard.bollar     1:125/110       Richard Bollar
  66. USER bollar             1:125/110       Richard Bollar
  67. USER root               1:125/110       Richard Bollar
  68. USER postmaster         1:125/110       Richard Bollar
  69. USER sysop              1:125/110       Richard Bollar
  70. USER d.j.hannah         1:125/110       D.J. Hannah
  71.  
  72. ; The following two examples are where the person does not exist on your
  73. ; BBS or gateway, but instead somewhere else.  You need to specify the
  74. ; entire address, __even_if_you_have_a_SITE_for_them_!.  GIGO takes the
  75. ; USER statements as priority over SITE statements.
  76.  
  77. USER jdoe@somebbs.swizzle.com    1:125/1234.0  John Doe
  78.  
  79. ; If someone starts abusing the gateawy, you can block them out.
  80. ; Note that the "bounce" statement is on the left hand side this time.
  81. ; When the gateway tries to create this user's email address, it will see
  82. ; that their account says "bounce", and will send them back a nasty-gram(tm).
  83.  
  84. USER bounce    1:2/3.4       User Name
  85. USER bounce    1:203/7707.1  Twit
  86.  
  87. ; GIGO has a built-in mail-daemon that can perform various functions,
  88. ; such as send back a text file when triggered, or bounce mail back
  89. ; to the sender, or even forward the mail from one address to another.
  90.  
  91. USER info@swizzle.com  INFO  infofile.txt  ; Sends INFOFILE.TXT whenever
  92.                                            ; someone sends email to
  93.                                            ; info@swizzle.com
  94. USER dead2@swizzle.com BOUNCE              ; Bounces with generic message
  95. USER dead@swizzle.com  BOUNCE deaduser.txt ; Bounces the message back
  96.                                            ; with the "deaduser.txt" file
  97. SITE deadbbs           BOUNCE deadbbs.txt  ; Bounces messages to all users
  98.                                            ; @deadbbs.swizzle.com, and
  99.                                            ; sends the "deadbbs.txt" file
  100. USER jfesler FORWARD jfesler@wmeonlin.sacbbx.com ; Forwards to the real address
  101.  
  102.  
  103. ;  If you wish to capture the messages to a specific address, and have them
  104. ;  saved to a text file (or appended to a log file), you can use the USER
  105. ;  statements as such..
  106.  
  107. USER  incoming   SAVETEXT C:\incoming\   ; Saves as C:\incoming\*.in
  108. USER  logme      LOGTEXT  incoming.log   ; Appends to incoming.log
  109.  
  110.  
  111. ;  If you are willing to make your own hacks, interfacing with GIGO is easy.
  112. ;  GIGO supports function requests triggered upon email to a given user.
  113. ;  GIGO saves the entire message as FUNCTION.REQ, and runs your program
  114. ;  or batch file.  Upon return, if a file called FUNCTION.REP exists,
  115. ;  it will be sent back to the party to sent you the email.
  116. ;  Samples:
  117. ;     USER  dir          FUNCTION dir c:\*.* /s >function.rep
  118. ;     USER  listserv     FUNCTION listserv.exe
  119. ;     USER  gigo-request FUNCTION listserv.exe s gigo
  120. ;     USER  kaboing      FUNCTION copy function.req function.rep
  121.  
  122.  
  123.  
  124. ; The mail-daemon can even attempt to catch fidonet-style names
  125. ; and give them email addresses.  For example, if someone sends a message
  126. ; to "Sysop" at your gateway's address, you can have it sent to
  127. ; your main account instead.
  128.  
  129. ; (My appologies to M.Butler for stealing this verb's name from FredGate)
  130. ; The usage may/may not be the same as FredGate's; since I don't have
  131. ; FredGate, I don't know for sure.
  132.  
  133. ; *******NOTE:  THIS ONLY AFFECTS FIDONET->USENET MAIL!!!!**********
  134.  
  135. ; Format:   MAPUF  internet-account  Real Name
  136. ;
  137. ; The internet account _must_ be the _full_ internet account name, even
  138. ; if it is going to your own gateway.
  139.  
  140. MAPUF  root@swizzle.com             Sysop  ; Mail sent to "sysop" is forward to root@swizzle.com
  141. MAPUF  jfesler@wmeonlin.sacbbx.com  Jason Fesler ; Mail sent to "Jason Fesler" is forwarded to..
  142. MAPUF  bugs@wmeonlin.sacbbx.com     Bugs
  143. MAPUF  jfesler@wmeonlin.sacbbx.com  Author
  144.  
  145. ; Ever get twits sending areafix messages to the gateway?  Try this..
  146.  
  147. MAPUF  areafix@swizzle.com          Areafix       ; Turns it to a valid address
  148. USER   areafix@swizzle.com  BOUNCE  wrongadr.txt  ; and then the daemon can catch
  149.                                                   ; it, and send the user back a
  150.  
  151. ;  Some mail packers will pack file attach messages from Arcmail to the
  152. ;  gateway.  While I don't have a way to stop this from happening, you
  153. ;  _can_ add these into your config:
  154.  
  155. USER  arcmail foward null ; Any bounced messages back to Arcmail are disposed of.
  156.  
  157.  
  158. ; Whew!  That's a lot you can do with mostly USER statements!
  159.  
  160. ; Now, you've got this great gateway program setup, and you'd like to
  161. ; allow some/most/everyone access to using the gateway.  However, you
  162. ; don't feel like manually putting everybody in... That gets to be VERY
  163. ; tedious.
  164.  
  165. ; The SITE statements allow you to handle entire BBS's at a time,
  166. ; by defining them as a feed off of you (at least, as far as the internet
  167. ; is concerned).  Or, it will allow you to generate the "standard"
  168. ; fidonet style addresses (for example, jason.fesler@f7707.n203.z1.fidonet.org)
  169. ; Alternately, you can deny access for specific sites altogether.
  170. ;
  171. ; Most important, you have to tell the gateway what YOUR address(s) are.
  172. ; They are not always the same as you had them defined at the top of the
  173. ; config file, and sometimes you may have more than one address (multiline
  174. ; hubs, etc).
  175.  
  176. ; The SITE LOCAL  <fido-address>  command tells the gateway that if someone
  177. ; on your BBS posts a message, but they do not have a specific account name
  178. ; setup, then GIGO should create an address like "user.name@swizzle.com"
  179. ; or "user.name@yoursite.domain".  (Uses MAPSTYLELOCAL template to define)
  180.  
  181. SITE LOCAL  1:125/110
  182.  
  183. ; For the author, who runs a two-line system, the following is appropriate.
  184. ; All of his fidonet addresses are considered to be the "local" bbs.
  185.  
  186. ; SITE LOCAL 1:203/7707
  187. ; SITE LOCAL 1:203/8055
  188. ; SITE LOCAL 1:1/141
  189.  
  190. ; Now, you can define the BBS's that are local to you.  Email addresses
  191. ; that are generate automaticly will look like
  192. ; "user.name@bbsname.yoursite.domain" (or something similiar, depending
  193. ; on how you configured MAPSTYLESITE).  All of the users for a given BBS
  194. ; are defined at once with the single statement.
  195. ;
  196. ; Note that if the user has a USER statement in this config file, that will
  197. ; take priority, and the SITE statements will not even be looked at.
  198.  
  199. SITE joesbbs 1:125/1      ; user.name@joesbbs.swizzle.com
  200. SITE nc      1:125/0      ; user.name@nc.swizzle.com
  201. SITE mypoint 1:125/110.1  ; user.name@mypoint.swizzle.com
  202. SITE somewhr 1:125/120    ; user.name@somewhr.swizzle.com
  203.  
  204. ; You can deny a BBS by giving it the name "bounce".
  205.  
  206. SITE bounce  1:203/7707.1 ; This stops Jason Fesler's point address.
  207. SITE bounce  1:125/9999   ; This stops "test" nodes using 1:125/9999
  208.  
  209. ;  If you wish to be a public gateway for your local area, but you can not
  210. ;  get approval (or don't wish to) to become part of the .fidonet.org
  211. ;  distribution people (those are the ones that are allowed to fly the
  212. ;  GUUCP flag in the nodelist), GIGO has an option for you.
  213.  
  214. ;  SITE GATEWAY <fidonet-wildcard-address>
  215.  
  216. ;  This option will generate email messages that automaticly use YOUR site's
  217. ;  address, with a numeric "bbs name" that the gateway can understand.  This
  218. ;  forces any return mail going back to that user to go via your gateway,
  219. ;  which is (probably) faster than using the "standard" fidonet address.
  220.  
  221. SITE gateway 1:125/*.*   ;  Either of these statements are equivalent
  222. ;SITE *ftn    1:125/*.*  ;  (and in fact, SITE GATEWAY translates to *ftn)
  223.  
  224. ;  With this statement, if Joe Blow at 1:125/1234 posts a message, his
  225. ;  email address will be Joe.Blow@1234.swizzle.com.
  226.  
  227. ;  If Joe Blow posts from 1:125/1234.5, then his email address will be
  228. ;  Joe.Blow@125-1234-5.swizzle.com .
  229.  
  230. ;  It looks confusing, but it's simpler than it looks.  The gateway includes
  231. ;  just enough information in the numeric portion of the address to figure
  232. ;  out where to send it back to if it needs to.
  233. ;       Nodes in your net:    user.name@<node>.swizzle.com
  234. ;       Nodes outside....:    user.name@<net>-<node>.swizzle.com
  235. ;       Points           :    user.name@<net>-<node>-<point>.swizzle.com
  236. ;       Outsize your zone:    user.name@<zone>-<net>-<node>-<point>.swizzle.com
  237. ;
  238. ;  You may specify multiple SITE GATEWAY .. statements if you wish to
  239. ;  use this addressing style for more than one group of people.
  240. ;  The Net 203 Gateway (wmeonlin.sacbbx.com) uses this format for
  241. ;  the entire Northern California (USA) region, since I can deliver the mail
  242. ;  faster than using the "standard" fidonet address.
  243.  
  244.  
  245. ; The next statement is to allow gating, but using the "standard" fidonet
  246. ; address.  Use this for people that are outside of the area that you are
  247. ; normally willing to gate for.
  248. ;
  249. ; Note that we can specify the actual .fidonet.org name, or specify
  250. ; an alternate name ( rbbsnet.org ? etc ).  Note that the SITE fidonet keyword
  251. ; implies the fidonet STYLE that has been used for many years...
  252.  
  253. SITE fidonet  1:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 1:*/*
  254. SITE fidonet  2:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 2:*/*
  255. SITE fidonet  3:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 3:*/*
  256. SITE fidonet  4:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 4:*/*
  257. SITE fidonet  5:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 5:*/*
  258. SITE fidonet  6:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 6:*/*
  259. SITE fidonet  8:*/*.*  special.org ; can also use SITE *user@*fnz.special.org 6:*/*
  260.  
  261. ; Last, but not least, the final statement.  This is to bounce any
  262. ; remaining addresses, telling them that they are not authorizid
  263. ; to use the gateway.  I only move mail for FidoNet; no other zones are
  264. ; allowed to go through me, as I can not guarantee that their mail can
  265. ; be returned back to them if needed.
  266.  
  267. SITE bounce  *:*/*.*      ; This declines allowing anyone else from sending
  268.                           ; email through your gateway.  If they attempt,
  269.                           ; or if they post in a newsgroup (not protected
  270.                           ; by this security!)  the MAPSTYLEUNDEF will be
  271.                           ; used to generate a temporary address for them.
  272.  
  273.  
  274.