home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / INTERNET / GIGO0209.ZIP / GATEWAY.CFG < prev    next >
Text File  |  1994-02-09  |  37KB  |  861 lines

  1.  
  2.  
  3. ;
  4. ;  Warning:
  5. ;
  6. ;  This file is a mess.  Almost as bad as certain other config files
  7. ;  that I've seen.  :-)  However, you should be able to find all of
  8. ;  the information you need, IN the config file.
  9. ;
  10. ;  Try to take things one line at a time; it goes a bit easier that way.
  11. ;
  12. ;  If you still need help, there is a mailing list (internet) as well
  13. ;  as a fidonet echo devoted to GIGO help.  In addition, the UFGATE
  14. ;  conference seems to get a log of GIGO traffic :-)
  15. ;
  16. ;  When upgrading, _ALWAYS_, __ALWAYS__, read the NOTES file.
  17. ;
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26. ;  ***  A GIGO Config File
  27. ;
  28. ;  Lines leading with a semi-colon are comments and will not be
  29. ;  processed by GIGO.
  30.  
  31. ;
  32. ;  ***  Environment Parameters
  33. ;
  34.  
  35. ;  Registration Information.  Once you have registered GIGO, fill in the
  36. ;  SERIALNUMBER and REGISTRATION fields.  These values are keyed to your
  37. ;  MYSITE entry, so please ensure you report your site correctly when you
  38. ;  register.
  39.  
  40. SERIALNUMBER
  41. REGISTRATION
  42.  
  43. ;  TZ = Your timezone.  In most cases it will be EST5, CST6, MST7, PST8.
  44. ;  If you remove or leave out this field, the default is EST5
  45.  
  46. TZ PST8
  47.  
  48. ;  GIGO will run faster if you enable direct video, but direct screen
  49. ;  writes can cause problems with some systems, or if you are using
  50. ;  Desqview.  If you use Desqview in 50 line text mode, or if you have
  51. ;  other incompatibility, you should specify "/BIOS" on the startup line.
  52.  
  53. ;  GIGO can ALSO, simply turn off video once it has initialized.
  54. ;  Your only indication that it's working will be your drive access
  55. ;  indicator (drive light, norton disklight, etc).  You may either
  56. ;  specify NOVIDEO in the config, or add /NOVIDEO to your command line.
  57. ;NOVIDEO
  58. ;  For fastest results, use /NOLOGO /NOVIDEO when starting up.
  59.  
  60. ;  GIGO, by default, does not require swapping to disk.  It normally leaves
  61. ;  the DOS portion of memory available for shelling.  However, if you find
  62. ;  that you need more memory to work with, and would like to make this memory
  63. ;  available to GIGO, you should simply make sure that SHROOM.COM is in the
  64. ;  gateway directory.  GIGO's loader will automaticly load SHROOM.COM up
  65. ;  before loading the dos extender up.
  66.  
  67. ;  The following are if you wish to restrict GIGO by skipping
  68. ;  the RNEWS or RMAIL processes, or by not deleting the original file.
  69. ;
  70. ;  Alternately, you may use the following commands on the command line
  71. ;  when loading GIGO to specify the actions you *DO* want....  i.e.,
  72. ;  GATEWAY SACBBX.CFG /MAIL
  73. ;  Valid command line switches:  /MAIL /NEWS /FIDO
  74.  
  75. ;TEST         ; Do not delete files when done
  76.  
  77. ;
  78. ;  ***  Directories
  79. ;
  80.  
  81. ;  Where to place the log file.  There is no default.  Comment or remove
  82. ;  this line to skip making a log file.
  83.  
  84. LOG gigo.log
  85.  
  86. ;  GIGO is able to keep track of how each piece of news is processed.
  87. ;  LOGKEPT will log all newsgroups that were kept and what echo names they
  88. ;  were given.  LOGDUMPED logs which areas were dumped, i.e., because the
  89. ;  name of the area could not be found in your MAP file, they were not
  90. ;  added to your BBS.
  91. :
  92. ;  If you do not need these options, turn them off - they _will_ slow
  93. ;  processing down!
  94.  
  95. ;LOGKEPT     gigokeep.log
  96. ;LOGDUMPED   gigodump.log
  97. ;LOGBOUNCED  gigobncd.log
  98. ;LOGFILESERV gigoftp.log
  99.  
  100.  
  101. ;  The MAPPING file tells GIGO how to handle newsgroups.  The MAP command
  102. ;  tell GIGO where to find the mapping file.  The default is MAPPING.CFG in
  103. ;  GIGO's home directory.
  104.  
  105. MAP C:\GIGO\MAPPING.CFG
  106.  
  107.  
  108.  
  109. ;  GIGO can send Fidonet echoes to usenet using usenet hierarchy names.
  110. ;
  111. ;  If an echo is being put back onto the Internet, but there is no explicit
  112. ;  mapping for it, GIGO will check to see if the name matches that of your
  113. ;  normal fidonet echos.
  114. ;
  115. ;  If it _does_ match, then GIGO will go ahead and export it to your host,
  116. ;  and prepend the following user-defined heiarchy name to it.  i.e.,
  117. ;  fidonet's FDECHO would become swizzle.fido.fdecho
  118. ;
  119. ;  Usage:  FIDOECHOS listname hierarchyname
  120.  
  121. FIDOECHOS C:\FD\FE\FIDONET.NA swizzle.fido
  122.  
  123.  
  124.  
  125. ;  COMPRESSION
  126. ;
  127. ;  Newsgroups are usually sent batched together and compressed.  These
  128. ;  files usually say "#! cunbatch" at the top, and it tells the receiving
  129. ;  end how to process them.
  130. ;
  131. ;  The following two parameters are the command lines needed for the
  132. ;  standard unix-world COMPRESS program.  This program is being included
  133. ;  in the GIGO extras.
  134. ;
  135. ;  Allow GIGO to handle compression of rnews files.  COMPRESS.EXE may be
  136. ;  replaced with GZIP.EXE if and only if your UUCP feed allows it on the
  137. ;  host system.  If commented out, GIGO will prepare mail to be sent
  138. ;  uncompressed.  This file must be in your GIGO directory or in the path.
  139.  
  140. COMPRESS    COMPRESS.EXE -m
  141.  
  142. ;  Allow GIGO to handle decompression of cunbatched files.  You may use
  143. ;  GZIP.EXE -d instead to allow decompression of both compressed and gzip'd
  144. ;  files (gzip autodetects the format being used).  This file must be in
  145. ;  your GIGO directory or in the path.
  146.  
  147. DECOMPRESS  COMPRESS.EXE -d
  148.  
  149. ;  FASTCOMPRESS tells GIGO that we are using a specially modified version
  150. ;  of the public domain COMPRESS program.  This modified version will
  151. ;  take care of adding or removing the "#! cunbatch" line on newsgroups
  152. ;  for us, saving the gateway a lot of time with messy tempory files.
  153.  
  154. FASTCOMPRESS
  155.  
  156.  
  157. ;┌─────────────────────────────────────────────────────────────────────┐
  158. ;│If you are NOT using GIGO's compress program, which has been tailored│
  159. ;│for use with the gateway, you will need to run the following instead.│
  160. ;└─────────────────────────────────────────────────────────────────────┘
  161. ;COMPRESS compress.exe
  162. ;DECOMPRESS compress.exe -d
  163. ;;;;FASTCOMPRESS should not be used.
  164.  
  165.  
  166.  
  167.  
  168. ;
  169. ;  ***  Gateway Addressing
  170. ;
  171. ; The Gateway address is the address for GIGO to use when sending and
  172. ; receiving mail from & to Fidonet.  This may be a real address, listed
  173. ; in the Nodelist, a fake address, or a point address.
  174.  
  175. ; Under _NO_circumstances_ should the gateway's address be the same as your
  176. ; address.  If you can not get a nodelist entry for it, then set it up
  177. ; as either a fake node, or as a point off of your system.  If you do not
  178. ; follow this precaution, you will find that the gateway will be attempting
  179. ; to process and bounce mail that was meant for you, instead of the gateway.
  180.  
  181. ; Gateway address, and where to look for _uncompressed_ FTSC files.
  182. ; Also, what extension to look for.  Use * if unsure and GIGO will
  183. ; search all files in the directory you specify.
  184. ;
  185. ;   Valid suggestions:  GATEWAY 1:203/2 C:\OUTBOUND\ ?UT
  186. ;                       GATEWAY 1:203/2 C:\GECHO\PKTS\ PKT
  187. ;                       GATEWAY 1:203/2 C:\INBOUND\ *
  188. ;   Note, you may only specify this _once_.
  189.  
  190. GATEWAY 1:125/110.99 C:\FD\OUTBOUND\ *
  191.  
  192. ;  SENDTO and SEEN-BY control mail going into FidoNet. The address shows
  193. ;  what address the .PKT files should be addressed to (usually your
  194. ;  BBS's main Fidonet-style address).  The directory should be your
  195. ;  protected inbound directory.
  196.  
  197. SENDTO 1:125/110.0 C:\FD\FILES\
  198.  
  199. ;  Seen-by adds whatever 2-dimensional address(es) to the seen-by's.
  200. ;  Generally, this is going to be the net/node of the gateway.  Do NOT
  201. ;  (*repeat*) do NOT place zone or point information here, as it breaks
  202. ;  some mail processors!
  203.  
  204. SEEN-BY 125/110
  205.  
  206. ;  Mail Address information about you and your feed.
  207. ;
  208. ;  EXAMPLES:
  209. ;
  210. ;  To get user.name@swizzle.com use:
  211. ;
  212. ;  MYSITE swizzle
  213. ;  DOMAIN com
  214. ;
  215. ;  To get user.name@swizzle.sacbbx.com use:
  216. ;
  217. ;  MYSITE swizzle
  218. ;  DOMAIN sacbbx.com
  219.  
  220. MYSITE swizzle                  ;Your site uucp name (single name)
  221. DOMAIN com                      ;Your site's address, minus the UUCP name
  222. MYFEED holonet                  ;Your feed's UUCP machine name (for spooling)
  223.                                 ;(See MAPSTYLE for more information)
  224.  
  225. ;MYPATH swizzle.com             ;If you want to override the site name used
  226.                                 ;in the Path: line, you may specify it here.
  227.                                 ;Leave alone unless you need it.
  228.  
  229. ;CASE_INSENSITIVE               ;This option tells gigo to convert all
  230.                                 ;addresses to lowercase before conversion.
  231.                                 ;Used when you have a feed that gives you
  232.                                 ;upper case names often.
  233.                                 ;Note, this will make _all_ outgoing addresses
  234.                                 ;lowercase, as well.
  235.  
  236. ;CRLF                           ; Uncomment this line if your feed is sending
  237.                                 ; mail or news bundles with carriage returns
  238.                                 ; at the end of the line, instead of just
  239.                                 ; line feeds.  Enabling this option _will_
  240.                                 ; slow down processing some, as it will have
  241.                                 ; to translate cr/lf lines to just lf lines.
  242.                                 ; (Most sites won't need this option.)
  243.                                 ; (It's prefered that they turn OFF the CR's)
  244.  
  245.  
  246. SPOOL C:\GIGO\SPOOL\            ; Where your Waffle style UUCICO spool dir is
  247.                                 ; (must be the same as UUCICO's spool!)
  248.  
  249. ;BAGS C:\BAGS\                  ; If you get .BAG files from Plannet
  250.                                 ; Connect you may specify this option here.
  251.                                 ; Note that you will still need to set up
  252.                                 ; the SPOOL, MYSITE, DOMAIN, and MYFEED
  253.                                 ; options.
  254.  
  255.  
  256. ; At the request of garux@mdtn_bbs ..  a specialty option to allow outgoing
  257. ; _email_ only to be routed to different spools, based on where it is headed.
  258. ; If you don't understand this option, don't use it.
  259.  
  260. ; _Most_ sites don't need this, and the inclusion of even one of these
  261. ; statements will slow down _all_ outbound email, as it turns on the extra
  262. ; checking needed to figure out where to send things.  The routines had to
  263. ; make use of scanning the config memory every pass, and make use of regex
  264. ; routines (which are always slower processing).
  265. ;
  266. ; * Before using these, make sure you _really_ need them! *
  267. ;
  268. ;ROUTESPOOL host1  host1          ; Sends all mail to host1 directly to host1 spool
  269. ;ROUTESPOOL frackit frackit.uucp  ; same for frackit.uucp
  270. ;ROUTESPOOL frackit wfs.uucp      ; put all user@wfs.uucp mail in frackit's spool
  271. ;ROUTESPOOL host  *.uucp          ; Sends all user@....uucp messages to "host"
  272.  
  273. ; Another option, that's for kludging value only, is to generate outgoing
  274. ; spool file names with your host's name in it, instead of your name in it.
  275. ; Don't use this option unless you know WHY you need it (it will be used by
  276. ; maybe 1% of the people around..)  Anyone using this option when they are
  277. ; not supposed to has about a 99% chance of losing their mail.
  278. ;
  279. ;BACKWARDSFEED     ; If you don't need this, don't use it - it will break!
  280.  
  281. ;The BURT_JUDA_HACK option is meaningless for most people.  This option
  282. ;creates email headers with "From user@site.domain  date" instead of
  283. ;"From site!user date+time remote from site".
  284. ;*If this option helps you, great.  Don't do it unless you _know_ you need
  285. ;*it though.  Burt needed it for his special smtp scripts.
  286. ;BURT_JUDA_HACK
  287.  
  288.  
  289.  
  290. ;  MAPSTYLE - Mapping style for default outbound email.  Gigo supports
  291. ;  practically any style of generating addresses now, as it is completely
  292. ;  definable by you, the admin.
  293.  
  294. ;  If the message is being launched from the gateway itself, then no
  295. ;  "othersite" should be evident in the outbound headers.  See "SITE local"
  296. ;  command below.
  297.  
  298. ;  EDIT THIS TO MATCH __YOUR__ SITE
  299. ;
  300. ;  *user   translates to the current user.name
  301. ;  *site   translates to the current SITE parameter
  302. ;  *mysite translates to the current MYSITE variable
  303. ;  *domain translates to the current DOMAIN variable
  304. ;  *myfeed translates to the current MYFEED variable
  305. ;  *fnz    translates to .f##.n##.z## (ie, *user@*fnz.fidonet.org)
  306. ;  *ftn    translates to ##-##-##-## (may have fewer #'s; this
  307. ;           variable is an alternative to *fnz, using fewer periods
  308. ;           and (usually) a shorter string.  The number of ##'s will
  309. ;           vary from 1 to 4 (ie, 203-7707 is enough to say net 203,
  310. ;           node 7707, in my zone).
  311. ;
  312. ;
  313. ;  You MUST define MAPSTYLELOCAL and MAPSTYLESITE
  314. ;
  315. ;  You may use any of the above variables; most importantly, *user
  316. ;  and *site.  Anything else can be filled in by you with specific
  317. ;  text, and may use the above variables if you wish.
  318.  
  319. MAPSTYLELOCAL     *user@*mysite.*domain
  320. MAPSTYLESITE      *user@*site.*mysite.*domain
  321.  
  322. ; Other examples:
  323. ; MAPSTYLELOCAL   *user@wmeonlin.sacbbx.com
  324. ; MAPSTYLESITE    *user@*site.wmeonlin.sacbbx.com
  325. ;
  326. ; MAPSTYLELOCAL  vogon1!frackit!mdtn_bbs!*user@psuvax.psu.edu
  327. ; MAPSTYLESITE   vogon1!frackit!mdtn_bbs!*site!*user@psuvax.psu.edu
  328.  
  329.  
  330.  
  331.  
  332. ;
  333. ;  *** Packet Generation
  334. ;
  335.  
  336. ;  In messages from usenet to Fidonet, ORIGIN=ORGANIZATION will place
  337. ;  the "Organization" field from the usenet header into the Fidonet origin
  338. ;  line.  You may change the string following ORIGIN=ORGANIZATION to
  339. ;  meet your gateway's needs.  Example:
  340. ;
  341. ;  Organization: University of the World
  342. ;
  343. ;  - will become -
  344. ;
  345. ;  * Origin: Usenet: University of the World (1:125/110.99)
  346.  
  347. ORIGIN=ORGANIZATION Usenet:
  348.  
  349. ;  Along the same lines, ORGANIZATION=ORIGIN will place the Fidonet
  350. ;  origin line into the "Organization" field to messages bound for
  351. ;  usenet.  Example:
  352.  
  353. ;  * Origin: Swizzle Stick BBS (1:125/110)
  354. ;
  355. ;  - will become -
  356. ;
  357. ;  Organization: Fidonet: Swizzle Stick BBS
  358.  
  359. ;ORGANIZATION=ORIGIN Fidonet:
  360.  
  361. ;  If either ORGANIZATION=ORIGIN or ORIGIN=ORGANIZATION are excluded, _or_
  362. ;  simply left unspecified, the config verb(s) below will be used as their
  363. ;  respective place holders in the outbound mail.
  364.  
  365. ORIGIN       Swizzle Stick <-> Internet Gateway
  366. ORGANIZATION Swizzle Stick
  367.  
  368. ;   ORIGINADDRESS allows you to specify a fidonet address other than the
  369. ;   gateway's address, for echomail that is produced by the gateway.
  370. ;   Ie, ORIGINADDRESS 1:2/3.4  will make  * Origin: xxxxx (1:2/3.4)
  371. ;   Most people should leave this commented out.
  372. ;ORIGINADDRESS 1:2/3.4
  373.  
  374.  
  375.  
  376.  
  377.  
  378. ;  If your BBS or editor supports the FSC-35 specification, the FSC-35
  379. ;  command should be enabled.  This causes GIGO to add the ^aREPLY-TO and
  380. ;  ^aREPLYADDR kludges to messages.  If you are not sure if your BBS
  381. ;  supports FSC-35, leave the command in, as it will not cause a problem
  382. ;  for most BBS or editor software.  The exception is RemoteAccess, for
  383. ;  which this line should be commented out.
  384.  
  385. FSC-35            ; Always do FSC-35
  386. ;PARTIAL-35       ; Only use FSC-35 when the fidonet headers are not capable
  387.                   ; of returning a reply correctly.
  388.  
  389.  
  390.  
  391.  
  392. ;  RETURNADDRESS_EMAIL <optionalname>
  393. ;  RETURNADDRESS_NEWS  <optionalname>
  394. ;  tells GIGO to use the person's email address (name@site)
  395. ;  in the From: field of a fidonet message if it is small enough to fit in.
  396. ;  If the address is too long, the person's name is used instead.
  397. ;  Commenting this verb will only import names in the From portion rather
  398. ;  than email addresses.
  399.  
  400. ;  By default, a person's real name is placed in the fidonet header.
  401.  
  402. ;RETURNADDRESS_EMAIL     ; Uncomment this to put the email adddress in the hdr
  403. ;RETURNADDRESS_EMAIL UUCP; Uncomment to put "UUCP" in the message hdr
  404. ;RETURNADDRESS_NEWS      ; Uncomment this to put the email address in the hdr
  405. ;RETURNADDRESS_NEWS UUCP ; Uncomment to put "UUCP" in the message hdr
  406.  
  407. ;  SPLIT - split up large messages SQUISH, QMAIL, TOSSCAN, GECHO, FMAIL,
  408. ;  FASTECHO, WILDMAIL, RENEMAIL, TELEMAIL,  and 95% of the rest of the
  409. ;  tossers out there require a relatively small individual message size to
  410. ;  work smoothly.  Nearly every tosser since then has taken this example
  411. ;  and imposed a relativley small limit on fidonet messages. if you change
  412. ;  this from 15000, be sure you know everyone receiving from you will be
  413. ;  able to handle the incoming large mail you send.
  414.  
  415. SPLIT 15000
  416.  
  417. ;  MAXPKT - provide a (approx) cuttoff point per .PKT do you REALLY want to
  418. ;  toss a 3.5 meg single packet? didn't think so, one small slipup and you
  419. ;  might lose a whole day's mail. commenting this verb will generate one
  420. ;  continuous mail packet, that may become questionable in the event of an
  421. ;  emergency abort. Unlike any other currently available gateway package
  422. ;  GIGO splices USENET batches into a seamless stream of fidonet poackets,
  423. ;  without pasing between each batch. This is necessarry to keep things
  424. ;  within a reasonable managability level.
  425.  
  426. MAXPKT 150000
  427.  
  428. ;  LINEBREAK - specifies the longest line length allowed to to be sent to
  429. ;  the usenet site.  Any messages that have lines that are too long will be
  430. ;  wrapped.  Not always needed, and much faster off. Suggested: 80
  431.  
  432. LINEBREAK 80
  433.  
  434.  
  435. ; MAXNEWSGROUPS xx tells GIGO to allow up to xx copies
  436. ; of the same message to be cross-posted.  If the message is cross-posted
  437. ; to more newsgroups than the number you specify, GIGO will publish
  438. ; only the first copies.  Default=20
  439.  
  440. MAXNEWSGROUPS 20
  441.  
  442.  
  443. ;  THE MAILER-DAEMON
  444. ;
  445. ;  GIGO has a built-in mailer-daemon that can, if allowed, handle many
  446. ;  situtations in an automatic manner.
  447.  
  448. ;  The mail-daemon can:
  449. ;    o Bounce incorrently addressed netmail
  450. ;    o Bounce email that is destined to a BBS that does not exist
  451. ;    o Send back textfiles when a certain email-address is addressed
  452. ;    o Perform file-by-email requests
  453.  
  454. ;  Most importantly, it will check any messages written by Fidonet users
  455. ;  who are attempting to send email.  It will verify that they have the
  456. ;  security to write the message; it will also see if it can correctly
  457. ;  figure out where the user wants to send the message.  If either case
  458. ;  turns out to be a problem, the user is sent the message back via netmail,
  459. ;  with information on why it was denied, or (better), information on how
  460. ;  to properly address the gateway.
  461. ;
  462. ;  This should be most useful for ex-Fredgate users who kept getting all
  463. ;  those messages in their lostfu directory! :-)
  464.  
  465. ;
  466. ;  Another useful function of the daemon is for incomming email that is
  467. ;  meant to be turned back into netmail.  GIGO will attempt to parse the
  468. ;  email address, and determine where it should send the mail to.  If it
  469. ;  can't, GIGO has one of two options:  either A: bounce it back to the
  470. ;  internet user, or B: put it with _your_ netmail, so you can manually
  471. ;  handle it.
  472.  
  473. ; KEEP_UNKNOWN   ; Uncomment this line to manually handle unknown email
  474.  
  475. ;  The mail-daemon can also be set up to send back a textfile whenever
  476. ;  a specific email-address is sent mail.  A fake user is setup,
  477. ;  slightly different from normal user statements.  More discussion on
  478. ;  this is in the USER statement area.
  479.  
  480. ;  USER  info@swizzle.com  INFO  infofile.txt
  481.  
  482. ;  The mail-daemon can handle things like forwarding mail to a user's
  483. ;  new address, or it can be set up to bounce the mail back to usenet,
  484. ;  with a text file of your choice. This is also covered in the USER
  485. ;  statement area.
  486. ;  ******** NOTE: THIS ONLY WORKS FOR USENET->FIDONET EMAIL! ******
  487.  
  488. ;  USER  jfesler@swizzle.com  FORWARD  jfesler@wmeonlin.sacbbx.com
  489. ;  USER  deadjoe@swizzle.com  BOUNCE   dead.txt
  490. ;  SITE  deadjoebbs           BOUNCE   deadbbs.txt
  491.  
  492.  
  493.  
  494. ;  The mailer-daemon can also instead take all email to a specific user,
  495. ;  and save it to disk, either in a contiguos log, or as individial
  496. ;  files.  An example use for this is to have a special address for
  497. ;  uudecoded files, where you can run an external program to turn them
  498. ;  back to binaries.
  499.  
  500. ;  USER  logme   LOGTEXT  logtext.log         ;saves to specified log file
  501. ;  USER  saveme  SAVETEXT C:\gateway\saveme\  ;saves to unique ########.IN
  502.  
  503. ;  The mailer-daemon can also be easily expanded by you, the administrator.
  504. ;  GIGO is the first gateway to support external functions.
  505. ;
  506. ;  When used, GIGO can watch for email going to a special address.  Whenever
  507. ;  email is sent to that address, GIGO will
  508. ;    1: create FUNCTION.REQ
  509. ;    2: Run the specified program
  510. ;    3: Look for and send back FUNCTION.REP if available
  511. ;  I have successfully made a listserv processor, as well as a fax
  512. ;  gateway, both with about 10k of code.  The listserv processor + source
  513. ;  is in the main GIGO archives for you to look at and hopefully expand on.
  514. ;
  515. ;  Usage:
  516. ;   USER  requestname  FUNCTION  programname parameters
  517.  
  518.  
  519.  
  520. ;  The mailer daemon can allow you to prevent fidonet users from
  521. ;  sending email to various addresses.  This is useful, for instance,
  522. ;  if you have a measured-rate UUCP service (or long distance charges),
  523. ;  and you don't feel like letting users request files on _your_ call.
  524. ;  BLOCKADDRESS allows you to specify a pattern for an address; if the
  525. ;  address that the user is emailing fits any of these patterns, the
  526. ;  message will be returned to him as undeliverable.
  527. ;
  528. ;  Note that this will block even YOUR attempts.  It doesn't discriminate
  529. ;  on who it blocks.
  530. ;
  531. BLOCKADDDRESS  *listserv*
  532. BLOCKADDRESS   *fileserv*
  533. BLOCKADDRESS   *ftpmail*
  534. BLOCKADDRESS   *BITFTP*
  535.  
  536.  
  537. ;  Last, GIGO has the ability to check a nodelist index.  A seperate
  538. ;  nodelist compiler is included with GIGO, and comes with it's own docs.
  539. ;
  540. ;  If you specify the directory where NODELIST.GIG can be found, GIGO will
  541. ;  look up this nodelist index any time an email address comes in in the
  542. ;  form of user@f###.n###.z###.site.domain, or in the form of
  543. ;  user@##-##-##-##.site.domain.  If GIGO can not verify the existance of
  544. ;  that nodelist entry, GIGO will send the message back to the internet
  545. ;  user.
  546. ;
  547. ;  This option is here mainly because MsgTrack is not gateway aware, and will
  548. ;  bounce messages back to the gateway.  The gateway would in turn send a
  549. ;  message back to MsgTrack saying that it wrote the message wrong.  What
  550. ;  a mess!  If possible, please, use the NODELIST option in GIGO, to prevent
  551. ;  such a mess happening for you..
  552. ;
  553. ; NODELIST C:\NODELIST\  ; Should point to where NODELIST.GIG will be found.
  554.  
  555.  
  556.  
  557.  
  558.  
  559. ;  GIGO can act as a server for FILESERV requests.  Comment the following
  560. ;  disable FILESERV access to your files.  This is a list of your file
  561. ;  requestable directories, one on each line.  You can point this to your
  562. ;  bink style okfiles catalog if you wish; magic names will be honored.
  563. ;
  564. ;  I have tried to make GIGO understand both FrontDoor style and Bink Style
  565. ;  request lists; you can list magic names and directory names with either
  566. ;  method.
  567.  
  568. FILESERV-LIST      C:\FD\FLSEARCH.CTL ; See box below
  569. FILESERV-MAXFILES  10         ; Maximum file count per request
  570. FILESERV-MAXBYTES  10000000   ; Maximum binary size per request
  571. FILESERV-DEFAULT   75000      ; Default segment size for binaries
  572. ;FILESERV-ATTACH               ; If you want to allow file attachments
  573. ;FILESERV-INBOUND c:\fd\files\ ; Your fidonet inbound directory
  574. ;FILESERV-HOLD    c:\fd\hold\  ; Where to move files that were attached
  575. ; See the NOTES file re: file attachments for more detailed information.
  576.  
  577.  
  578. ;┌────────────────────────────────────────┐
  579. ;│The format of this file is as follows:  │
  580. ;│                                        │
  581. ;│MAGICNAME   C:\path\realname.ext        │
  582. ;│@MAGICNAME  C:\path\realname.ext        │
  583. ;│@GIGO       C:\pub\ufgate\gigo1129.zip  │
  584. ;│                                        │
  585. ;│C:\PUB\DIRECTORY\                       │
  586. ;│C:\PUB\DIRECTORY\*.*                    │
  587. ;│C:\PUB\UFGATE\*.*                       │
  588. ;└────────────────────────────────────────┘
  589.  
  590.  
  591.  
  592. ;------------------------------------------------------------------
  593. ; The following allow you to decide which header lines
  594. ; to keep in the FTSC messages.  Specify
  595. ; Keep_<headerline>: to keep it in the message, and
  596. ; Kill_<headerline>: to butcher a line totally, and
  597. ; Hide_<headerline>: to keep it, but behind a hidden
  598. ; kludgeline so that average users can not see it.
  599.  
  600. MULTIPLEHEADERS      ; States that you want to have the message headers
  601.                      ; from the usenet message placed in _all_ fidonet
  602.                      ; messages.  Comment this line out to have GIGO only
  603.                      ; place the usenet headers on the first message
  604.                      ; of a split message.
  605.  
  606.  
  607. ;RMAIL_KEEP_ALL      ;  This command specifies that GIGO should keep
  608.                      ;  ALL header lines from an email message.
  609.                      ;  The only exception would be if you specify
  610.                      ;  a Hide_ line, then that header line will
  611.                      ;  be hidden behind a kludge line.
  612.  
  613. Keep Apparently-to:  ; Shows the internet address a netmail message was
  614.                      ; routed to originally.
  615. Keep Archive-Name:   ; In the case of news.answers, the real name of the file
  616. Keep Date:           ; What date the message was written
  617. Keep From:           ; Who it's from (suggested, not all names are under 36
  618.                      ; characters)
  619. Hide Newsgroups:     ; What newsgroups the message was posted to
  620. Hide Message-ID:     ; Original MSGID from the usenet message
  621. Hide Organization:   ; Organization (if any) of the person writing the msg
  622. Kill Path:           ; This field is a USELES field for most gateways
  623. Hide Subject:        ; Full subject line
  624. Hide To:
  625. Hide Received:
  626. Hide Reply-To:
  627. Hide Sender:
  628. Hide In-Reply-To:
  629. Hide Mime-Version:
  630. Hide Content-Type:
  631. Hide Errors-To:
  632. Hide Precedence:
  633. Hide X-To:
  634. Hide X-Sender:
  635. Hide X-Ftn-To:
  636. Hide X-Ftn-From:
  637. Hide X-Resent-By:
  638. Hide X-Admin-Addr:
  639. Hide X-List-Software:
  640.  
  641.  
  642. ;----------------------------------------------------------------------------
  643.           ;;;;;;;;;        *  Mapping   *      ;;;;;;;;;
  644.  
  645. ; Here's the guts of the name and account translations done by the gateway.
  646. ; There are _several_ different ways of handling USER and SITE statements;
  647. ; my attempts at expressing documentation are poor, so instead we will have
  648. ; examples of everything.
  649.  
  650. ; Remember that this example config file is for "swizzle.com".
  651.  
  652. ; Individual  accounts on your system are specified, with
  653. ; who their owner is and what their fidonet address is.
  654. ; They will appear as  "account@swizzle.com"
  655.  
  656. USER richard.bollar     1:125/110       Richard Bollar
  657. USER bollar             1:125/110       Richard Bollar
  658. USER root               1:125/110       Richard Bollar
  659. USER postmaster         1:125/110       Richard Bollar
  660. USER sysop              1:125/110       Richard Bollar
  661. USER d.j.hannah         1:125/110       D.J. Hannah
  662.  
  663. ; The following two examples are where the person does not exist on your
  664. ; BBS or gateway, but instead somewhere else.  You need to specify the
  665. ; entire address, __even_if_you_have_a_SITE_for_them_!.  GIGO takes the
  666. ; USER statements as priority over SITE statements.
  667.  
  668. USER jfesler@wmeonlin.sacbbx.com 1:203/7707.0  Jason Fesler
  669. USER jdoe@somebbs.swizzle.com    1:125/1234.0  John Doe
  670.  
  671. ; If someone starts abusing the gateawy, you can block them out.
  672. ; Note that the "bounce" statement is on the left hand side this time.
  673. ; When the gateway tries to create this user's email address, it will see
  674. ; that their account says "bounce", and will send them back a nasty-gram(tm).
  675.  
  676. USER bounce    1:2/3.4       User Name
  677. USER bounce    1:203/7707.1  Twit
  678.  
  679. ; GIGO has a built-in mail-daemon that can perform various functions,
  680. ; such as send back a text file when triggered, or bounce mail back
  681. ; to the sender, or even forward the mail from one address to another.
  682.  
  683. USER info@swizzle.com  INFO  infofile.txt  ; Sends INFOFILE.TXT whenever
  684.                                            ; someone sends email to
  685.                                            ; info@swizzle.com
  686. USER dead2@swizzle.com BOUNCE              ; Bounces with generic message
  687. USER dead@swizzle.com  BOUNCE deaduser.txt ; Bounces the message back
  688.                                            ; with the "deaduser.txt" file
  689. SITE deadbbs           BOUNCE deadbbs.txt  ; Bounces messages to all users
  690.                                            ; @deadbbs.swizzle.com, and
  691.                                            ; sends the "deadbbs.txt" file
  692. USER jfesler FORWARD jfesler@wmeonlin.sacbbx.com ; Forwards to the real address
  693.  
  694.  
  695. ; The mail-daemon can even attempt to catch fidonet-style names
  696. ; and give them email addresses.  For example, if someone sends a message
  697. ; to "Sysop" at your gateway's address, you can have it sent to
  698. ; your main account instead.
  699.  
  700. ; (My appologies to M.Butler for stealing this verb's name from FredGate)
  701. ; The usage may/may not be the same as FredGate's; since I don't have
  702. ; FredGate, I don't know for sure.
  703.  
  704. ; *******NOTE:  THIS ONLY AFFECTS FIDONET->USENET MAIL!!!!**********
  705.  
  706. ; Format:   MAPUF  internet-account  Real Name
  707. ;
  708. ; The internet account _must_ be the _full_ internet account name, even
  709. ; if it is going to your own gateway.
  710.  
  711. MAPUF  root@swizzle.com             Sysop
  712. MAPUF  jfesler@wmeonlin.sacbbx.com  Jason Fesler
  713.  
  714. ; Ever get twits sending areafix messages to the gateway?  Try this..
  715.  
  716. MAPUF  areafix@swizzle.com          Areafix       ; Turns it to a valid address
  717. USER   areafix@swizzle.com  BOUNCE  wrongadr.txt  ; and then the daemon can catch
  718.                                                   ; it, and send the user back a
  719.                                                   ; a nasty message!
  720.  
  721.  
  722. ; Whew!  That's a lot you can do with mostly USER statements!
  723.  
  724. ; Now, you've got this great gateway program setup, and you'd like to
  725. ; allow some/most/everyone access to using the gateway.  However, you
  726. ; don't feel like manually putting everybody in... That gets to be VERY
  727. ; tedious.
  728.  
  729. ; The SITE statements allow you to handle entire BBS's at a time,
  730. ; by defining them as a feed off of you (at least, as far as the internet
  731. ; is concerned).  Or, it will allow you to generate the "standard"
  732. ; fidonet style addresses (for example, jason.fesler@f7707.n203.z1.fidonet.org)
  733. ; Alternately, you can deny access for specific sites altogether.
  734. ;
  735. ; Most important, you have to tell the gateway what YOUR address(s) are.
  736. ; They are not always the same as you had them defined at the top of the
  737. ; config file, and sometimes you may have more than one address (multiline
  738. ; hubs, etc).
  739.  
  740. ; The SITE LOCAL  <fido-address>  command tells the gateway that if someone
  741. ; on your BBS posts a message, but they do not have a specific account name
  742. ; setup, then GIGO should create an address like "user.name@swizzle.com"
  743. ; or "user.name@yoursite.domain".  (Uses MAPSTYLELOCAL template to define)
  744.  
  745. SITE LOCAL  1:125/110
  746.  
  747. ; For the author, who runs a two-line system, the following is appropriate.
  748. ; All of his fidonet addresses are considered to be the "local" bbs.
  749.  
  750. ; SITE LOCAL 1:203/7707
  751. ; SITE LOCAL 1:203/8055
  752. ; SITE LOCAL 1:1/141
  753.  
  754. ; Now, you can define the BBS's that are local to you.  Email addresses
  755. ; that are generate automaticly will look like
  756. ; "user.name@bbsname.yoursite.domain" (or something similiar, depending
  757. ; on how you configured MAPSTYLESITE).  All of the users for a given BBS
  758. ; are defined at once with the single statement.
  759. ;
  760. ; Note that if the user has a USER statement in this config file, that will
  761. ; take priority, and the SITE statements will not even be looked at.
  762.  
  763. SITE joesbbs 1:125/1      ; user.name@joesbbs.swizzle.com
  764. SITE nc      1:125/0      ; user.name@nc.swizzle.com
  765. SITE mypoint 1:125/110.1  ; user.name@mypoint.swizzle.com
  766. SITE somewhr 1:125/120    ; user.name@somewhr.swizzle.com
  767.  
  768. ; You can deny a BBS by giving it the name "bounce".
  769.  
  770. SITE bounce  1:203/7707.1 ; This stops Jason Fesler's point address.
  771. SITE bounce  1:125/9999   ; This stops "test" nodes using 1:125/9999
  772.  
  773. ;  If you wish to be a public gateway for your local area, but you can not
  774. ;  get approval (or don't wish to) to become part of the .fidonet.org
  775. ;  distribution people (those are the ones that are allowed to fly the
  776. ;  GUUCP flag in the nodelist), GIGO has an option for you.
  777.  
  778. ;  SITE GATEWAY <fidonet-wildcard-address>
  779.  
  780. ;  This option will generate email messages that automaticly use YOUR site's
  781. ;  address, with a numeric "bbs name" that the gateway can understand.  This
  782. ;  forces any return mail going back to that user to go via your gateway,
  783. ;  which is (probably) faster than using the "standard" fidonet address.
  784.  
  785. SITE gateway 1:125/*.*   ;  Either of these statements are equivalent
  786. ;SITE *ftn    1:125/*.*  ;  (and in fact, SITE GATEWAY translates to *ftn)
  787.  
  788. ;  With this statement, if Joe Blow at 1:125/1234 posts a message, his
  789. ;  email address will be Joe.Blow@1234.swizzle.com.
  790.  
  791. ;  If Joe Blow posts from 1:125/1234.5, then his email address will be
  792. ;  Joe.Blow@125-1234-5.swizzle.com .
  793.  
  794. ;  It looks confusing, but it's simpler than it looks.  The gateway includes
  795. ;  just enough information in the numeric portion of the address to figure
  796. ;  out where to send it back to if it needs to.
  797. ;       Nodes in your net:    user.name@<node>.swizzle.com
  798. ;       Nodes outside....:    user.name@<net>-<node>.swizzle.com
  799. ;       Points           :    user.name@<net>-<node>-<point>.swizzle.com
  800. ;       Outsize your zone:    user.name@<zone>-<net>-<node>-<point>.swizzle.com
  801. ;
  802. ;  You may specify multiple SITE GATEWAY .. statements if you wish to
  803. ;  use this addressing style for more than one group of people.
  804. ;  The Net 203 Gateway (wmeonlin.sacbbx.com) uses this format for
  805. ;  the entire Northern California (USA) region, since I can deliver the mail
  806. ;  faster than using the "standard" fidonet address.
  807.  
  808.  
  809. ; The next statement is to allow gating, but using the "standard" fidonet
  810. ; address.  Use this for people that are outside of the area that you are
  811. ; normally willing to gate for.
  812. ;
  813. ; Note that we can specify the actual .fidonet.org name, or specify
  814. ; an alternate name ( rbbsnet.org ? etc ).  Note that the SITE fidonet keyword
  815. ; implies the fidonet STYLE that has been used for many years...
  816.  
  817. SITE fidonet  1:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 1:*/*
  818. SITE fidonet  2:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 2:*/*
  819. SITE fidonet  3:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 3:*/*
  820. SITE fidonet  4:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 4:*/*
  821. SITE fidonet  5:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 5:*/*
  822. SITE fidonet  6:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 6:*/*
  823.  
  824. SITE fidonet  8:*/*.*  special.org ; can also use SITE *user@*fnz.special.org 6:*/*
  825.  
  826. ; The following command allows for "fast return" of mail that is addressed
  827. ; to the internet, but is actually supposed to be processed by your system.
  828. ; In these cases, the gateway will generate _incomming_ bundles instead of
  829. ; outgoing bundles, making the messages never even leave your system.
  830. ; Best use for this is "fidonet.org" addresses, since we are not allowed
  831. ; to send from fidonet, to fidonet, via the internet backbone (as part of
  832. ; our charter to get .fidonet.org).
  833.  
  834. ; Note, to force compliance with this charter, "fidonet.org" is a forced issue
  835. ; with GIGO.  If you do not want GIGO to FASTRETURN anything for fidonet.org,
  836. ; contact me.  I will only grant the key to disable this function to very
  837. ; special circumstances that do not violate fidonet.org's charter.
  838. ; An example of this exception would be if you are the gateway for a
  839. ; different (and registered) organization, ie rbbsnet.org, where it _is_
  840. ; desirable to be able to email someone@*.fidonet.org ..
  841.  
  842. FASTRETURN fidonet.org
  843. FASTRETURN myspecialnetwork.org
  844.  
  845. ; IGNORE_CHARTER xxxx       ; If you do NOT want fidonet.org put into the
  846. ;                           ; FASTRETURN statements automaticly, you must
  847. ;                           ; get a special key, simply email me with a
  848. ;                           ; good reason why.  Mostly, for people
  849. ;                           ; gating networks other than fidonet.
  850.  
  851. ; Last, but not least, the final statement.  This is to bounce any
  852. ; remaining addresses, telling them that they are not authorizid
  853. ; to use the gateway.  I only move mail for FidoNet; no other zones are
  854. ; allowed to go through me, as I can not guarantee that their mail can
  855. ; be returned back to them if needed.
  856.  
  857. SITE bounce  *:*/*.*      ; This declines allowing anyone else from sending
  858.                           ; email through your gateway.
  859.  
  860.  
  861.