home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / jetdemo / jm_09910 / jetmail.txt < prev    next >
Text File  |  1994-09-03  |  56KB  |  1,673 lines

  1. Preliminary short documentation for JetMail [Beta-Version]
  2. ==========================================================
  3.  
  4. For version: 0.99beta10
  5.  
  6.  
  7. RESTRICTIONS:
  8. =============
  9.  
  10. 1.  JetMail only works with Semper or Binkley 3.00 and higher (because
  11.     it uses the base 36 format for outbound files like IOS). We can't
  12.     supply THE-BOX support.
  13.  
  14. 2.  You have to install Binkley with domains, because JetMail is written to work
  15.     as a 5D system. All addresses in the configuration file must be 5D. You
  16.     can switch to 4D or 3D/2D for links which don't support 5D.
  17.     
  18.     ATTENTION: All domain names have to be completely LOWERCASE!
  19.  
  20. 3.  Messagetracking only works with a BTNC nodelist. The compiler for this 
  21.     nodelist is distributed with JetMail. The current version of Semper and
  22.     Binkley (3.03a/Beta-2) supports this format and is available from
  23.     2:243/6007 with BT-BETA !GNADE and other ST based systems.
  24.     
  25.     Some C source to access this nodelist type is requestable at the same
  26.     system with magic BNL-SRC.
  27.  
  28. 4.  Some TOS versions have problems with memory management. As JetMail uses
  29.     the memory manager VERY heavily, it might be necessary to use the util
  30.     FOLDR100.PRG and/or POOLFIX4.PRG in your AUTO folder. For Mag!x,
  31.     you have to install ADDMEM.PRG in your AUTO folder.
  32.  
  33. 5.  You have to set up all three *different* inbound paths to get JetMail
  34.     work!
  35.  
  36. 6.  LED 1.03beta or higher is recommended as you can use many features
  37.     of JetMail only if you have access to the extended message flags.
  38.     ATTENTION: NoDeleteUnread doesn't work with older LED versions!
  39.  
  40. 7.  The mail flavours Direct and Immediate work only correctly with
  41.     Semper, because of a bug in BinkleyTerm, which takes the character
  42.     'D' as Immediate and has no special Direct flavour.
  43.  
  44.  
  45. CONFIGURATION
  46. =============
  47.  
  48. All configuration and system files are held in special system folder. JetMail 
  49. takes the name of the system folder from the environment variable JETMAIL or
  50. assumes .\JETMAIL if the environment variable isn't defined.
  51.  
  52. The file LED.NEW (lastread pointer for LED) is searched in the folder specified
  53. by MAILER or in the current working directory. LASTREAD.BBS (lastread pointer
  54. for QuickBBS ST) is searched in the folder specified by QBBS or in the current
  55. working directory.
  56.  
  57. Following files will be held in the system directory:
  58.  
  59. 1.  CONFIG.JM    : Main configuration file.
  60.  
  61. 2.  ROUTE.JM     : File with routing information.
  62.  
  63. 3.  DUPES.SYS    : CRC's of the last 8000 messages for dupechecking.
  64.  
  65. 4.  MAILHIST.SYS : Statistic file of inbound and outbound traffic. 
  66.                    Just try the JetStat program.
  67.                 
  68. 5.  AREAHIST.SYS : Statistic about traffic in the echoareas.
  69.                    Also just for JetStat.
  70.  
  71. 6.  AFHELP.JM    : Helpfile for the built-in AreaFix
  72.  
  73. 7.  EXITINFO.SYS : Exit information generated after every exit
  74.                    This file can be processed by EXITINFO.TTP
  75.  
  76. 8.  FWD.SYS      : Information about waiting area request forwards.
  77.  
  78. 9.  JETMAIL.KEY  : JetMail key file
  79.  
  80. 10. LASTRUN.SYS  : JetMail keeps information about the time of the
  81.                    last execution in this file to recognize big system
  82.                    clock failures and then stop the system.
  83.  
  84. So let's now describe the format of the CONFIG.JM file. Comments are possible
  85. with a ; at the beginning of the line. Recognized separators are blanks and
  86. TABs. Pathnames could be specified with and without trailing backslash.
  87.  
  88. The order of commands has to be:
  89.  
  90. o Domain Definitions
  91. o System addresses
  92. o Link Definitions
  93.  
  94. All other commands can be used anywhere.
  95.  
  96.  
  97. SPECIFYING INBOUND/OUTBOUND DIRECTORIES
  98. =======================================
  99.  
  100. Inbound         <path>
  101.  
  102.     Directory of the normal inbound, i.e. the inbound for mail from unknown 
  103.     systems.
  104.  
  105. KnownInbound    <path>
  106.  
  107.     Directory of the inbound for known systems, i.e. systems which are listed 
  108.     in the nodelist.
  109.  
  110. ProtInbound     <path>
  111.  
  112.     Directory of the inbound for  protected systems, i.e. systems for which
  113.     you've defined a session password.
  114.  
  115.     The directories must correspond with the inbound settings for Binkley or
  116.     Semper. It is absolutely necessary to define all three inbounds to run
  117.     JetMail.
  118.  
  119. Outbound        <path>
  120.  
  121.     Defines the default outbound for your first domain. The same as the second
  122.     argument in the first domain statement of Binkley. Normally points to
  123.     'OUTBOUND'.
  124.  
  125. SECURITY
  126. ========
  127.  
  128. JetMail will handle mail as follows:
  129.  
  130. 1.  JetMail doesn't process Arcmail in Normal/Known Inbound. It just writes
  131.     a message in the log and renames the Arcmail bundles to *.Bnn. Only Arcmail
  132.     in the protected inbound will be processed by JetMail.  
  133.  
  134. 2.  Packets from not linked systems (about the concept of links, see later)
  135.     in the protected inbound are renamed to BKT. Also packets from links with
  136.     a password mismatch.
  137.  
  138. 3.  If the destination address of the packet is not our system the packet is 
  139.     renamed to BKT.
  140.  
  141.  
  142. ARCHIVERS
  143. =========
  144.  
  145.     JetMail supports the following archive formats: ARC,LZH,LHA,ZIP,ZOO,ARJ.
  146.     The syntax is very simple. Put the Keywords 
  147.  
  148.     ArcPack, ArcExtract, LZHPack, LZHExtract, LHAPack, LHAExtract, ZipPack,
  149.     ZipExtract, ZooPack, ZooExtract, ArjPack, ArjExtract 
  150.  
  151.     in your CONFIG.JM, specify the path to the compression utility after the
  152.     keyword and then the desired options for extracting or adding.
  153.  
  154.     Example: ZipPack c:\archiver\zip\zipjr.ttp -a -mt -edb
  155.  
  156.     The difference between LHA and LZH is, that LZH is for old LHARC archives
  157.     before version 2.0. Sometimes lharc 2.01 has difficulties to unpack these
  158.     archives. Normally LHA/LZH will point to the same archiver.
  159.  
  160.  
  161. SPECIAL AREAS
  162. =============
  163.  
  164. Netmail         <areaname>
  165.  
  166.     Defines the netmail area name as specified in AREAS.BBS. So, if you have
  167.     an AREAS.BBS line
  168.     
  169.     G:\MSGBASE\NETMAIL FidoNetmail
  170.     
  171.     then you would have to define
  172.     
  173.     Netmail     FidoNetmail
  174.     
  175. Mailbox         <areaname>
  176.  
  177.     Defines your private mailbox. If defined, every EchoMail directed to the 
  178.     Sysop will also be saved into this folder. JetMail will put a 
  179.     \03AREA [AreaTag] line into the message. You could reply to this mail as 
  180.     in a normal echomail area (but don't delete the special line when 
  181.     replying). JetMail will recognize the Areaname from this line when scanning
  182.     the Mailbox and saves the message back to this area if SaveLocal is active.
  183.     
  184.     'Messages to sysop' pointers won't be set in the normal echomail when
  185.     mailbox is defined.
  186.     
  187.     The definition is done as for Netmail.
  188.     
  189.     ATTENTION: This area has to be defined in AREAS.BBS, too!
  190.     
  191. BadMsgs         <areaname>
  192. DupeMsgs        <areaname>
  193.  
  194.     These keywords define areas for unprocessable messages and for dupes.
  195.     If DupeMsgs is not set, dupes will be saved into the BadMsgs area. If
  196.     also BadMsgs remains undefined, dupes are thrown away.
  197.     
  198.     The definition is done as for Netmail.
  199.     
  200.     ATTENTION: These areas have to be defined in AREAS.BBS, too!
  201.  
  202. Archive         <filename>
  203.  
  204.     Defines the area to which msgs are copied which had the Archive/Sent flag
  205.     set when exporting. This flag is supported by LED 1.03beta and higher.
  206.     
  207.     ATTENTION: This area has to be defined in AREAS.BBS, too!
  208.  
  209. SPECIFYING DOMAINS AND NETWORK ADDRESSES
  210. ========================================
  211.  
  212.     This is in my opinion the most difficult part in configuring JetMail. As 
  213.     i mentioned in the introduction, it is not possible to run JetMail without
  214.     using domains.
  215.  
  216. Domain          <name>    <abbrev>    <official>
  217.  
  218.     as it said, <name> is the name of the domain like fidonet.org or nest.ftn.
  219.     <abbrev> is the shortening of the domain name and is used to identify the
  220.     outbound folder for mailpackets like in Binkley (NOTE: This isn't true for 
  221.     the first domain. JetMail takes the Outbound folder instead of). It is also
  222.     used for FSC0045 packets. <official> could be anything and is used to plot 
  223.     the 'NiceOrigin' line.
  224.     
  225.     Example:  Domain nest.ftn nest NeST
  226.     
  227.     nest.05a will now be the outbound folder for NeST mailpackets. The Origin
  228.     line will be (90:4/0@nest.ftn) or (NeST 90:4/0) if you specify NiceOrigin.
  229.     Please note that 'abbrev' must correspond with the second parameter in 
  230.     Binkleys domain statement. If you send FSC0045 packets, JetMail puts 'nest'
  231.     into the OrigDomain field of the mailpacket.
  232.     
  233.     ATTENTION:  The <name> parameter will be automatically converted to
  234.                 lowercase to maintain conformity with the domain standards.
  235.  
  236. Address         <full_5D_address>       [fakenet]
  237.  
  238.     You specify all your network addresses with this statement. Please encourage, 
  239.     that you really define all your addresses. Otherwise JetMail routes mail to
  240.     a not known AKA of you. <fakenet> is only necessary for mail to points with 
  241.     only 3D capable software (SEEN-BY entry).
  242.     
  243.     Example: Address 2:2456/114@fidonet.org  29114
  244.              Address 51:601/111@atarinet.ftn
  245.              Address 90:400/602@nest.ftn
  246.  
  247.  
  248. FLAGS & MISCELLANEOUS
  249. =====================
  250.          
  251. Debug           <flags>
  252.  
  253.     Specifies stages of debugging.
  254.     
  255.     Global        1
  256.     Import        2
  257.     Scan          4
  258.     Pack          8
  259.     Maint         16
  260.     Control flow  32
  261.     
  262.     Just add the values. For example: Debug 6 enables debugging of
  263.     scanner and importer.
  264.     
  265.     The 'flow' debug is logging the internal program trace. This should be
  266.     used if JetMail bombs reproducable. The log should be sent to the
  267.     authors.
  268.  
  269. Sysop           <name>
  270.  
  271.     Your Sysop name. Needed for setting 'Messages to sysop flag' in LED. Also
  272.     checked against your keyfile. 
  273.  
  274. Key             <serialnumber>
  275.  
  276.     With that keyword, you install your personal registration key or demo key.
  277.     Without that key, JetMail won't work.
  278.  
  279. Logfile         <filename> [maxsize]
  280.  
  281.     Name of the JetMail logging file. Defaults to LOGFILE.JM in the system
  282.     directory. If you specify maxsize (in KB), the built-in logfile trimmer
  283.     is activated. If the logfile grows above maxsize KB, the logfile is trimmed
  284.     to 3/4 of the former size.
  285.  
  286. NoLog           <flags>
  287. NoDisplay       <flags>
  288.  
  289.     Disables partially the logging of messages. Possible flags are:
  290.  
  291.     ~ : Miscellaneous
  292.     ! : Fatal error
  293.     ? : Warning
  294.     + : Major change
  295.     - : Minor change
  296.     = : Routing information 
  297.     # : Bundle information
  298.     * : Message logging
  299.     % : Results
  300.     $ : Bundle/Packet sizes
  301.     > : Debug information
  302.     & : Internal program flow information for debugging purposes
  303.     / : AreaFix messages
  304.  
  305.     Example: NoDisplay *% disables displaying of message logging and result 
  306.              information
  307.  
  308. VerboseLogging
  309.  
  310.     This one lets JetMail log all processed areas by MAINT and SCAN, for
  311.     debugging purposes.
  312.  
  313. BinkleyLog
  314.  
  315.     Switches to Binkley-style logging format. For people which use the same
  316.     logfile for Binkley and JetMail.
  317.  
  318. Nodelist        <path>
  319.  
  320.     Tells JetMail the path to a BNL nodelist base as compiled with
  321.     BTNC.
  322.  
  323. StdDays         <number>
  324. StdMinMsgs      <number>
  325. StdMaxMsgs      <number>
  326.  
  327.     Standard values for crunching echomail when not defined in AREAS.BBS.
  328.     Defaults to 21 days, 0/1500 messages.
  329.     
  330. KeepBundles
  331.  
  332.     Rename Arcmail bundles to *.nnn after importing. Don't delete them.
  333.  
  334. MinDiskSpace    <number>
  335.  
  336.     Check diskspace before writing to a file. Measure is in KB.
  337.  
  338. MSGIDMode       <2D|3D|4D|5D>
  339.  
  340.     Mode of MSGID for locally entered messages. Defaults to 5D if not 
  341.     specified.
  342.  
  343. OriginMode      <2D|3D|4D|5D>
  344.  
  345.     Mode of Origin for locally entered messages. Defaults to 4D if not 
  346.     specified.
  347.  
  348. NoSaveLocal
  349.  
  350.     JetMail saves back locally written messages after exporting. This option
  351.     disables this feature if you have trouble with old out-dated software.
  352.  
  353. CheckEchoDupes   [<count>]
  354.  
  355.     Activates echomail dupechecking. JetMail keeps up the CRCs of the
  356.     last 8000 imported echomail messages for dupe checking. If 8000
  357.     is not enough, you can specify <count>.
  358.  
  359. CheckNetDupes
  360.     
  361.     Activates netmail dupechecking. The Via lines are checked if the netmail
  362.     has already passed our system.
  363.  
  364. DefPktType      <FTS0001|FSC0039|FSC0045|FSC0048>
  365.  
  366.     Default packet header type for mail to systems which are not links (normally
  367.     for crashmail). Defaults to FTS0001 which nearly every known mailprocessor
  368.     accepts.
  369.     
  370. NoMsgTrack
  371.  
  372.     Deactivates the built-in message tracker. The tracker checks if the
  373.     origin and destination of a netmail is listed and bounces it if not.
  374.     
  375.     The message tracker is only available with the full key.
  376.     
  377. KnownAddress     <patterns...>
  378.     
  379.     If you want declare some address(es) as "listed" which are not really
  380.     in the listed nodelist, you can do it with this statement. The built-in
  381.     message tracker treats them as "listed". So if you run a nodelist
  382.     with zone 2 compiled only and you route netmail to other zones
  383.     to your uplink, you don't want those netmails to checked by your
  384.     message tracker. With
  385.     
  386.     KnownAddress  1:*@fidonet.org 3:*@fidonet.org 4:*@fidonet.org
  387.     KnownAddress  5:*@fidonet.org 6:*@fidonet.org
  388.     
  389.     you can prevent those netmails to be bounced.
  390.     
  391. VacationDate    <date>
  392.  
  393.     Put here some information if you are on holiday. For every netmail to
  394.     you, JetMail takes the date after VacationDate and sends a short message
  395.     to the originator of the netmail including this date.
  396.  
  397.     Example:
  398.     
  399.     Vacationdate 31.12.1992
  400.     
  401.     You can exclude mail robots via "Robots".
  402.             
  403. ReAddress       "to_pattern" <address_pattern> "new_to" <newaddress_pattern> [NoNotify]
  404.  
  405.     ReAddresses netmail. Every netmail which destination address is matched by
  406.     <address_pattern> and To field matched by "to_pattern" will be redirected.
  407.     The To: field is changed to <new_to> (unchanged if <new_to> is *) and all
  408.     components of the destination address are changed to <newaddress_pattern>.
  409.     
  410.     In the <newaddress_pattern> parameter, all components of a 5D address must
  411.     be defined. You can leave out the .0 for nodes!
  412.     
  413.     Example: 
  414.     
  415.     ReAddress "*" 2:241/*@fidonet.org "Joerg Spilker" *:*/*.1@fidonet.org
  416.     
  417.     JetMail redirects every netmail to a system in net 241 to Joerg Spilker and
  418.     changes the point number to 1 in the address fields (not very useful :-))
  419.     
  420.     Also, you are able to modify, not just replace the To: string. In
  421.     the place of '*' in the new_to parameter, the old To: name is
  422.     inserted, so e.g. Albi Rebmann can use the following for his Zerberus
  423.     gateway
  424.     
  425.     ReAddress "*" 77:7700/430.0@LifeNet "*@CREDO.ZER" 77:7700/1.0@LifeNet
  426.     
  427.     to append @CREDO.ZER to the To: string and re-address it to his
  428.     Zerberus gate.
  429.     
  430.     Normally, the addressee is informed about the re-addressing which has
  431.     taken place. But if you run a gateway software which uses a point
  432.     address of your node system, you would not want to have extra text
  433.     added to the message body. So you can use the optional keyword
  434.     "NoNotify" to disable this notification.
  435.     
  436.     ATTENTION: JetMail has an automatic re-addressing for your points
  437.                built-in. This works only if JetMail knows the name of
  438.                this point, so it has to be listed in the nodelist or
  439.                specified by "Sysop <name>" in the link block.
  440.                
  441.                The virtual ReAddress line used for a link like
  442.                John Doe at 1:234/56.7@fidonet.org:
  443.                
  444.                ReAddress "John Doe" 1:234/56.*@fidonet.org "*" *:*/*.7@*
  445.  
  446.     
  447. Purge   [From|To|Subject|Text]  <string>
  448.  
  449.     JetMails throws away every net- and echomail message with from/to/subject
  450.     field in the message-header containing <string>. <string> CAN'T be a
  451.     pattern like "Jonathan Dumm*" if used in conjuction with the From/To/Text
  452.     parameters. If you use Purge with "Subject" parameter, a pattern can be
  453.     specified using * or ? quantors.
  454.     
  455.     ATTENTION: The comparison is case SENSITIVE
  456.  
  457. Supervise       <name>
  458.  
  459.     JetMail copies all ECHOmail messages from or to <name> to the netmail
  460.     area and addresses them to the sysop.
  461.     
  462. FilterReqMsgs
  463.  
  464.     This flags tells JetMail to throw away all messages which the FILEREQUEST
  465.     flag set. This messages arrives usually if FD systems are requesting FILES.
  466.  
  467. NiceOrigin
  468.  
  469.     5D Origin looks like (2:245/96@fidonet.org). With NiceOrigin set, it looks
  470.     like (FidoNet 2:245/96) (the last case also with ORIGINmode = 4D).
  471.  
  472. NoReplyChains
  473.  
  474.     JetMail calculates reply chains from MSGID and REPLYID for the ReplyChain
  475.     feature of the current LED betaversions. NoReplyChains disables this
  476.     feature if you have problems with other software using mailer[0-3] message
  477.     header fields.
  478.  
  479. PrintMyMail
  480.  
  481.     Similar to ACS, this statement lets JetMail print every incoming message to
  482.     the sysop (netmail AND echomail). The printer status is checked before
  483.     every message.
  484.  
  485. PrinterLineLen   <val>
  486.  
  487.     This command sets the line length of your printer to an other value
  488.     than 70, which is the default. JetMail uses this value to wrap lines
  489.     of a paragraph if using PrintMyMail.
  490.  
  491. NoStripCrash
  492.  
  493.     JetMail strips the Crash flag while importing a netmail message and prevents
  494.     crashmails from other links to be sent via your system. This options turns
  495.     this feature off.
  496.  
  497. ImportArcmail
  498.  
  499.     This statements allows JetMail to import mail bundles in the known and
  500.     unknown inbound if specified. Default is only to import unbundled packets.
  501.     
  502.     ATTENTION: If you use this command, your system is a perfect target
  503.                for mail bombs!
  504.  
  505. NoDestCheck
  506.  
  507.     This switch turns the packet destination check of JetMail off. Some silly
  508.     software writes bad packet headers and relies on the uglyness of the
  509.     receiving system.
  510.  
  511. DisableAreafix
  512.  
  513.     Turns the built-in AreaFix off.
  514.  
  515. NoCPP
  516.  
  517.     This is used to turn the CPP (Circular Path Protection) globally off.
  518.  
  519. MonitorNetmail
  520.  
  521.     This one forces JetMail to save EVERY processed netmail into the
  522.     local netmail folder.
  523.  
  524. NoMonitor       <patterns...>
  525.  
  526.     This one is used for excepting some unwished netmails from being
  527.     monitored if using MonitorNetmail.
  528.  
  529. MonitorFix
  530.  
  531.     This one forces JetMail to save all AreaFix & FileFix (coming soon)
  532.     netmail traffic locally to your netmail area.
  533.  
  534. Interprete      <5Daddr> AS <5Daddr>
  535.  
  536.     This statement gives you the ability to translate packet
  537.     origin/destination addresses. The first address is the address
  538.     which is parsed from the packet header and which is replaced by
  539.     the second address.
  540.  
  541. Group           <groupchar>
  542. GroupEnd
  543.  
  544.     With this commands, you specify all area groups you will use in
  545.     AREAS.BBS with -Group and the <description> is listed on the top
  546.     of an AreaFix report. Within this group definition block, you can
  547.     use the following commands:
  548.     
  549.     Description <description>
  550.     Announce    <areas...>
  551.     MsgBasePath <path>
  552.     SortMode    [Sorted/Unsorted]
  553.     
  554.     If you don't define a description, the group will NOT be listed
  555.     on top of the AreaFix reports.
  556.     
  557.     Announce is used to specify areas, in which automatically added
  558.     or removed areas of this group are reported.
  559.     
  560.     If using Auto[D]Area, JetMail creates the HDR and MSG files in
  561.     the same directory where the netmail area is stored. You can now
  562.     define the path per group. Example:
  563.     
  564.     SortMode is used to switch sorted AreaFix list output on and off.
  565.     
  566.     UseNetNaming is used to activate automatic generation of
  567.     hirarchical directory structures according to the areatag if
  568.     AutoArea is used. This is useful for networks in which hirarchical
  569.     areatags are used (example: UseNet, AtariNet, NeST).
  570.     Addition of N.GER.BETA.JETMAIL would result in \N\GER\BETA\JETMAIL.HDR/MSG
  571.     and COMP.SYS.ATARI.ST in \COMP\SYS\ATARI\ST.HDR/MSG
  572.     
  573.     Group N
  574.        Description  NeST International Network
  575.        Announce     NEWECHOS.LOC
  576.        UseNetNaming
  577.        MsgBasePath  G:\MSGBASE\NEST\
  578.     GroupEnd
  579.     
  580.     Group A
  581.        Description  AtariNet - The direct link to ATARI USA
  582.        Announce     NEWECHOS.LOC
  583.        UseNetNaming.
  584.        MsgBasePath  G:\MSGBASE\ATARINET\
  585.     GroupEnd
  586.  
  587. NoAutoDisconnect
  588.  
  589.     JetMail's AreaFixer automatically disconnects passthrough-areas
  590.     which are not passed to another link at your uplink. This option
  591.     disables this feature.
  592.  
  593. CrunchAlways
  594.  
  595.     This one lets JetMail crunch the special areas FidoNetmail,
  596.     TrashArea, Dupearea and Archive everytime JetMail was invoked
  597.     with the SCAN[ALL] or PACK parameter.
  598.  
  599. MinCrunch <count>
  600.  
  601.     Tells JetMail not to compact areas in which less than <count> messages
  602.     would be removed.
  603.  
  604. NoDeleteUnread
  605.  
  606.     Tells JetMail not to delete unread messages.
  607.  
  608. KeepMemory <size>
  609.  
  610.     This one advises JetMail to leave <size> KB free memory to external
  611.     programs like archivers etc. Also very useful for multitasking environments
  612.     like MultiTOS, MiNT or MultiGEM.
  613.     
  614.     The default is to keep 400KB free.
  615.  
  616. AboutFile <file>
  617.  
  618.     This one is to define a file which will preceed every AreaFix
  619.     list report.
  620.  
  621. DupeRing
  622.  
  623.     This one enables dupe ring checking for those who have set up an
  624.     echomail backbone ring. This was made switchable because it takes
  625.     some extra time.
  626.  
  627. FreeBuffers
  628.  
  629.     Advises JetMail to free all buffers when calling archiver programs
  630.     so that there is a minimum of 84KB more free memory.
  631.     
  632.     ATTENTION: If you use a CheckEchoDupes with a high count specified
  633.                behind it, it takes a very long time to re-initialize the
  634.                buffers so the BUNDLE process on node systems can be
  635.                significally slowed down.
  636.  
  637. NoSaveSeenby
  638.  
  639.     Tells JetMail not to write SEEN-BY and PATH information into the
  640.     local message base.
  641.     
  642.     ATTENTION: This command should not be used by systems which have
  643.                echomail downlinks as rescanning is not longer possible.
  644.  
  645. LimitHandles
  646.  
  647.     This statements limits the amount of file I/O handles used by JetMail
  648.     for systems which don't support many of these. When using MiNT or
  649.     MultiTOS, JetMail automatically activates LimitHandles, but on FALCON
  650.     machines you have to do that manually if you don't run MultiTOS.
  651.  
  652. ArealistUnsorted
  653.  
  654.     Avoids alphabetically sorting your area listing in AreaFix reports.
  655.     
  656.     See also "SortMode" in the Group definition block.
  657.  
  658. StdMaxPktSize   <size in KB>
  659.  
  660.     Used to set a global maximum size for outgoing PKT files. The default
  661.     is NO limit.
  662.     
  663.     See also "MaxPktSize" in the Link definition block.
  664.     
  665.     ATTENTION: You have to limit the import buffer size with MaxBuffer to
  666.                leave some memory to the archiver program.
  667.  
  668. Robots          <patterns...>
  669.  
  670.     With that statement you can prevent JetMail from appending a signature
  671.     to addressees matching <pattern>. JetMail has the following names
  672.     hard-coded:
  673.     
  674.     o AreaFix
  675.     o AreaMgr
  676.     o JetMail AreaFix
  677.     o JetMail Server
  678.     o FileFix
  679.     o FileMgr
  680.     o Ticker
  681.     o Raid
  682.     
  683.     Example:
  684.     
  685.     Robots   *Mgr Manager *Fix GEcho
  686.     
  687.     Also, JetMail will not react on mail from these names if you are
  688.     using VacationDate. Also, no signature will be appended to netmails
  689.     to these "persons".
  690.  
  691. NoSignature     <patterns...>
  692.  
  693.     With this command, you can prevent JetMail from appending a
  694.     signature to addressees matching <patterns...>. This is very
  695.     useful if you write often netmails to mail partners who know the
  696.     information in your signature well (e.g. your uplink or boss).
  697.     
  698.     Example:
  699.     
  700.     NoSignature   *Spilker *Thieme
  701.     
  702.     ATTENTION: If you write to addressees listed behind "Robots" and
  703.                all hardcoded mail robots, they won't get any
  704.                signature. So you don't have to define these twice.
  705.  
  706.  
  707. LINK DEFINITIONS
  708. ================
  709.  
  710. Links are an elementary concept of JetMail. For every system to which you want
  711. to route mail, you have to specify characteristics like AreaFix password,
  712. Arcmail type, packettype and many more. Every link definition begins with the
  713. line:
  714.  
  715. Link            <full_5D_address> [fakenet]
  716.  
  717. and end withs the line
  718.  
  719. LinkEnd
  720.  
  721. The fakenet MUST be given if the Link is a point, and not one of yours
  722. and uses Controlmodes 2D or 3D. If he/she uses 4D or 5D Controlmodes,
  723. no fakenet is needed.
  724.  
  725. The following keywords are only active within linkdefinitions:
  726.  
  727. Sysop           <put name of link here>
  728.  
  729.     This field defines the name of the sysop. If not defined, JetMail tries to
  730.     get the sysop name from the sysop field of the nodelist. If JetMail can't
  731.     find the name in the nodelist, it puts 'Sysop' in the field. 
  732.    
  733.     This field is used for automatic replies or netmails to set the TO field
  734.     in the messageheader (instead of using "Sysop").
  735.    
  736. Password        <upto_8_chars>
  737.  
  738.     Defines packet and AreaFix password. Please note that some systems don't
  739.     include a password in the packet header. In this case defining a Password
  740.     causes a 'password mismatch' when processing the packet.
  741.  
  742. SessionPwd      <upto_8_chars>
  743.  
  744.     Defines the session password with this link if it differs from your mail
  745.     password. This one was implemented to get request responses from BinkleyTerm
  746.     systems imported which contain the session password as packet
  747.     password.
  748.  
  749. AreaFixPwd      <upto_8_chars>
  750.  
  751.     Defines an AreaFix password. Only needed when you can't specify a password
  752.     because the link doesn't support packet passwords or if you want to have
  753.     different password for AreaFix and packet.
  754.  
  755. ArcMode         [ARCmail|LZHmail|LHAmail|ZIPmail|ZOOmail|ARJmail|None]
  756.  
  757.     Specifies which archiver to use for the link. If 'None' specified,
  758.     the packets will remain uncompressed.
  759.   
  760. PackCommand     <flags>
  761.  
  762.     If defined, <flags> overrules the standard flags for compressing from the 
  763.     archiver definition.
  764.   
  765.     Example: You have an archiver definition for ZIP like this:
  766.   
  767.              ZipPack  c:\archiver\zip\zipjr.ttp -a -mt
  768.            
  769.              But you know that some systems are using ZIP 2.0 compatible archivers
  770.              and you wish to send them deflated packets. Then you put a
  771.            
  772.              PackCommand   -a -mt -edb
  773.            
  774.              in the link definition.
  775.  
  776. PktType         [FTS0001|FSC0039|FSC0045|FSC0048]
  777.  
  778.     Packetheadertype for this link. Defaults to FSC0039. This type is supported
  779.     by nearly all mailprocessors. If your link complains about the type just try 
  780.     one of the others (FSC0048 first, then FSC0045 and at last FTS0001).
  781.  
  782.     For technical information about the header types take a look into the 
  783.     FidoNet Technical Standards. These documents should be available from any
  784.     FidoNet system.
  785.   
  786. INTLMode        [2D|3D|4D]
  787.  
  788.     Defines the address type for written INTL lines. These lines are needed for
  789.     interzone mails. Defaults to 3D.
  790.   
  791. ForceINTL
  792.  
  793.     This keyword forces JetMail to write an INTL in every mail, even if the 
  794.     zone doesn't change. Some echomail processors don't assume the origin and
  795.     destination zone of a message from the zone fields in the packetheader and
  796.     use the zone of their first alias instead (or assume the zone from the MSGID
  797.     and REPLY kludges which causes trouble if the originating network wasn't 
  798.     fido compatible). This causes for example a netmail from 90:4/0 recognized
  799.     as from 2:4/0 :-((
  800.  
  801. ControlMode      [2D|3D|4D|5D]
  802.  
  803.     Defaults to 2D and describes how to write SEEN-BY and PATH into echomail.
  804.     Please use modes higher than 2D only with other JetMail systems.
  805.  
  806. OutboundMode     [2D|3D|3Dpoint|4D|5D]
  807.  
  808.     Defaults to 5D. This one should be used by systems with links which are
  809.     using mailers which are not domain/zone/point aware, because Binkley-ST
  810.     takes the first own address as default template to expand the received
  811.     remote address. OutboundMode is very useful if having links in a domain
  812.     which isn't your default domain and they're using mailers which aren't
  813.     domain/zone/point aware. Or a foreign point is a link of you and he/she
  814.     presents his/her fakenet address, 'cause he is using a BinkleyTerm-ST
  815.     version below 3.00
  816.     
  817.     Examples:
  818.     
  819.     Presented remote's address | OutboundMode
  820.     ---------------------------+-------------
  821.     24596/5                    | 2D
  822.     2:24596/5                  | 3D
  823.     245/96.5                   | 3Dpoint
  824.     2:245/96.5                 | 4D
  825.     2:245/96.5@fidonet.org     | 5D (default)
  826.  
  827. NetmailType      [2D|3D|4D]
  828.  
  829.     Describes how to export netmail. Defaults to 4D which means that for point 
  830.     addressing FMPT/TOPT and INTL lines are written into the mail (standard). 3D 
  831.     uses the fakenet to generate the message header (containing a INTL kludge if 
  832.     the mail leaves the zone). 2D only writes the fakenet into the message-
  833.     header.
  834.  
  835.     There is no difference between 4D and 3D for nodes. The difference between
  836.     3D and 2D is the existence of an INTL line when the mail leaves the zone.
  837.   
  838. EchomailType     [2D|3D|4D]
  839.  
  840.     Same as NetmailType, but for Echomail.
  841.  
  842.     NOTE: You don't need a fakenet if you specify all kind of address modes 4D
  843.     or higher.
  844.   
  845. ExtraNetmail
  846.  
  847.     Send netmail unbundled in an extra packet. Standard is to put netmail and
  848.     echomail into one packet.
  849.  
  850. RouteNetmail
  851.     
  852.     Normally, netmail for Links or their points are sent direct to them. With
  853.     this flag, you can force JetMail to route the mail via the ROUTE-TO lines
  854.     of ROUTE.JM. According to Joerg, this feature is sometimes (seldom?, hint)
  855.     useful, if you have a protected session partner, but you don't want to
  856.     force him to call you for mail.
  857.     
  858. DummyPacket
  859.  
  860.     When using the POLL command in the routing file, JetMail generates an empty
  861.     packet (you know this from ACS) if using DummyPacket. Otherwise JetMail only
  862.     writes an OFT files of 0 byte length.
  863.   
  864.     Especially some FD systems need this dummy packets because they don't send
  865.     mail to you if you don't send mail to them :-))
  866.     
  867.     If you are using Semper, the fantastic mailer by Jan Kristen, then you have
  868.     to use DummyPacket in conjunction with POLL, because Semper doesn't
  869.     recognize empty OFT files as a reason to poll that system.
  870.  
  871. AutoArea        [group]
  872.  
  873.     Adds an non-existing area automatically to your AREAS.BBS file as and
  874.     connects the system. If not set, messages in unknown areas from this link
  875.     are trashed. You can define the group which the new area will get. This
  876.     should be used to prevent a FidoNet link to connect to an NeST area which
  877.     was automatically added.
  878.  
  879. AutoDArea       [group]
  880.  
  881.     Same as AutoArea, but adds the areas to the DAREAS.BBS as passthrough
  882.     area.
  883.  
  884. FwdRequests
  885.  
  886.     Allows forward requests of areas which aren't available at your system to
  887.     other systems. This part of the AreaFix isn't finished. He will reply to
  888.     the link that the request is forwarded but it really isn't. You have to
  889.     request the area manually.
  890.     
  891. NoNotify
  892.     
  893.     Deactivates NOTIFY for this link. For nearer information, look into
  894.     the chapter about the command line.
  895.  
  896. Passive         [groups]
  897.  
  898.     Defines that the link is on vacation and wants to get only the mail
  899.     addressed to him. If <groups> is specified, only the areas of the
  900.     specified groups are passive for that link.
  901.  
  902. CrashOK
  903.  
  904.     Allows JetMail to sent Crashmails to this link (point). This flag should
  905.     be used for points which are 24 hours online. This point must be listed.
  906.  
  907. Groups          <string>
  908.  
  909.     <string> determines to which areas the link can connect. If the group char
  910.     of an area matches one char in the string then the link is allowed to 
  911.     connect to this area. The group char has to be defined with the
  912.     Group command (see above).
  913.   
  914. Aka             <full_5D_address> [fakenet] [{groups}]
  915.  
  916.     Defines an AKA for this link. What happens is that JetMail makes a copy of
  917.     the link structure and substitutes fakenet and groups in the copy with the
  918.     values from the AKA statement.
  919.   
  920.     Example:
  921.   
  922.     Aka 90:400/0@nest.ftn {Nn}
  923.     Aka 2:245/90@fidonet.org 25090 {ABC}
  924.     
  925.     ATTENTION: If you use AutoArea or AutoDArea with their optional
  926.                parameter, the default group is NOT copied to the aka
  927.                link. Instead, the first group of the {} definition is
  928.                taken.
  929.  
  930. RouteAka        <full_5D_address> [fakenet] [{groups}]
  931.  
  932.     Same as Aka, but sets the RouteNetmail flag in the link copy.
  933.                 
  934. UseAlias        <full_5D_address>
  935.  
  936.     Use <full_5D_address> for packet and message header to this link. The
  937.     address has to be one of your aliases.
  938.   
  939.     This is usefull for coordinators which more than one address in a domain. 
  940.     For example, i've the addresses
  941.   
  942.     Address 90:4/0@nest.ftn
  943.     Address 90:400/0@nest.ftn
  944.     Address 90:400/100@nest.ftn
  945.   
  946.     When sending mail to a link, JetMail will normally use the first alias with
  947.     the correct domain from this table for all links. But this can cause
  948.     difficulties if points of me get mail with headers like this:
  949.     
  950.     90:4/0@nest.ftn -> 90:400/100.1@nest.ftn
  951.     
  952.     With UseAlias 90:400/100@nest.ftn in the link defintion for this point the
  953.     right header will be set.
  954.     
  955.     For HUBs which poll me, i'll set UseAlias 90:400/0@nest.ftn
  956.     
  957.     NOTE: Don't use Aka and UseAlias in one link definition.
  958.  
  959. RemoteAreaFix   <arealistname> [<areafixname>] [!<pwd>]
  960.  
  961.     This one is to make this system available for automatic area
  962.     request forwarding and to tell JetMail's AreaFix where a list of
  963.     areas is located which are available on this link. This list will
  964.     be included in your own list of available areas on your system.
  965.     
  966.     The arealist can also be a arealist returned by a JetMail system
  967.     if used %LIST. All you have to do is to name the list with the
  968.     extension '.JET' that JetMail knows, that this is a JetMail format
  969.     list. Also, you have to remove the whole header and footer of the
  970.     message returned by %LIST and concatenate all broken descriptions so
  971.     that one line in a *.JET file contains ONE (not more, not less)
  972.     area descriptions.
  973.     
  974.     You can use "+" instead of a filename to mark a default forward host.
  975.     If you define more than one default host, the last one is choosen.
  976.     
  977.     The optional parameter <areafixname> is to define the name of the
  978.     AreaFixer on this link if it's different from "AreaFix"
  979.     
  980.     !<pwd> is an optional parameter which is useful if the remote
  981.     AreaFix is not domain aware and protects all areas from other
  982.     domains than the default one with a special password (like ACS does).
  983.     Forward requests will look like:
  984.     
  985.     NEST_AREA !pwd
  986.     
  987.     Note that all areas in the forward list for this link must be
  988.     protected with the same password.
  989.     
  990.     ATTENTION: The <pwd> parameter HAS to be leaded by "!"
  991.  
  992. RemoteAFpassword <pwd>
  993.  
  994.     This statement is used to specify the password you must use with
  995.     the remote's AreaFix.
  996.  
  997. NoReAddress
  998.  
  999.     Disables automatic Re-Addressing for this link (point). See also
  1000.     the description of "ReAddress".
  1001.  
  1002. AutoConnect <patterns...>
  1003.  
  1004.     This one lets JetMail connect all matching links to a new area
  1005.     received from this link. This is useful (e.g.) for RCs who want to
  1006.     distribute a new echo automatically to all other RCs.
  1007.     
  1008.     Example:
  1009.     
  1010.     Link 90:101/0@nest.ftn
  1011.        ...
  1012.        AutoDArea N
  1013.        AutoConnect 90:400/{[1-4]00} 90:7/0
  1014.        ...
  1015.     LinkEnd
  1016.     
  1017.     This would connect Joerg's hubs and NeST Italy to every new NeST
  1018.     area Joerg receives from James Partner (90:101/0@nest.ftn).
  1019.  
  1020. NoRoute
  1021.  
  1022.     This option prevents routing any netmails to this link. This switch
  1023.     is invented for systems running gateways under a point address. The
  1024.     netmails to this link are copied to the netmail are with the
  1025.     InTransit and Orphan flags.
  1026.  
  1027. MaxPktSize
  1028.  
  1029.     Sets the maximum PKT size for that link. See also "StdMaxPktSize".
  1030.  
  1031.  
  1032. RECOGNIZED FLAGS IN AREAS.BBS
  1033. =============================
  1034.  
  1035. Scanning AREAS.BBS is one of the part of JetMail which is not as fast as the
  1036. name promises. The reason is that up to now, we don't have a binary AREAS.SYS
  1037. format. This means that every entry must be parsed and checked if it is a valid
  1038. link. But be hopeful, it's not for now and forever.
  1039.  
  1040. You needn't specfify domains in the AREAS.BBS file unless your configuration 
  1041. doesn't has two links with same numbers in different domains. JetMail will guess
  1042. the right domain from the link definition. JetMail will issue a warning when 
  1043. no link is defined for an entry in the AREAS.BBS.
  1044.  
  1045. Scanning the connected links is intelligent. Lines like the following are
  1046. possible and will lead to the expected result.
  1047.  
  1048. ATARI.GER 2:245/52@fidonet.org 96.1 .2 .3 .4 240/36 605 245/23
  1049.  
  1050.  
  1051.  
  1052. -MinMsgs        <number>
  1053.  
  1054.     Number of messages which will in all cases stay in the area even if they
  1055.     are older than specified by the -Days statement.
  1056.  
  1057. -MaxMsgs        <number>
  1058.  
  1059.     Maximum number of messages in the area.
  1060.     
  1061. -DAYS           <number>
  1062.  
  1063.     Messages older than <number> of days will be deleted on crunching.
  1064.     
  1065.     If you specify -DAYS 0, no messages will be deleted.
  1066.   
  1067.     All these values default to the messages settings in the configuration
  1068.     file if undefined in AREAS.BBS.
  1069.  
  1070. -Desc           <string>
  1071.  
  1072.     Description of the area. This one is send to users within AreaFix
  1073.     requests.
  1074.   
  1075. -ORIGIN         <string>
  1076.  
  1077.     Use <string> as origin for this area.
  1078.     
  1079. -Passthrough
  1080.  
  1081.     Area is Passthrough. Messages are distributed to the connected links but not
  1082.     saved into the local messagebase. This flag is only implemented to remain
  1083.     compatibility with ACS. JetMail uses the DAREAS.BBS file to store information
  1084.     about passthrough areas.
  1085.   
  1086. -ReadOnly
  1087.  
  1088.     This area is readonly. Only the sysop is allowed to send messages in this
  1089.     echo. Mail from other systems is trashed.
  1090.  
  1091. -Remote         <patterns>
  1092.  
  1093.     The patterns specify the systems which are allowed to send mails for
  1094.     this area. -Readonly has priority over -Remote.
  1095.     
  1096.     Example:
  1097.     
  1098.     -Remote 2:243/* 2:245/*
  1099.  
  1100. -NoRemote       <patterns>
  1101.  
  1102.     This is the negation of -Remote and works only in conjunction with it.
  1103.     
  1104.     Example:
  1105.     
  1106.     -Remote    2:243/*
  1107.     -NoRemote  2:243/114
  1108.     
  1109.     This pair allows all systems in net 243 except 243/114 to write in the
  1110.     area.
  1111.  
  1112. -Local
  1113.  
  1114.     BBS-only echo. Not scanned by JetMail.
  1115.   
  1116. -Group          <character>
  1117.  
  1118.     Classifies the group for this area. Only links with the appropiate group
  1119.     string can connect. Areas with no group specified can be connected by every
  1120.     link. Please note the problems if doing so: A link can connect a NeST area
  1121.     under his FidoNet address if the NeST areas aren't protected by special
  1122.     groups.
  1123.   
  1124. -UseAlias       <full_5D_address>
  1125.  
  1126.     Use this address for generating Origin/MSGID when scanning locally entered 
  1127.     messages.
  1128.   
  1129. -NoCPP
  1130.  
  1131.     Deactivates the (C)ircular (P)ath (P)rotection. This feature checks for
  1132.     duplicate system addresses in the PATH line. Trash message if so. Should not
  1133.     be used by ZoneGates. -NoCPP disables this check.
  1134.  
  1135. -Signature      <filename>
  1136.  
  1137.     Take signature from the file for locally entered messages. Like the 
  1138.     .signature file for UseNet newsreaders.
  1139.     
  1140.     ATTENTION: To prevent problems with automatic netmail utilities,
  1141.                JetMail doesn't append -Signatures in netmails to
  1142.                AreaFix, JetMail AreaFix, AreaMgr or FileFix.
  1143.  
  1144. -StripSeenby
  1145.  
  1146.     Strip SEEN-BY lines in this areas. Only usefull for ZoneGates.
  1147.     !!!!!!!!!!!!!!!!!! Must be permitted from the ZC !!!!!!!!!!!!!!
  1148.     If you've got a permission, you should contact us. You'll get a special
  1149.     JETMAIL.KEY which enables this feature.
  1150.  
  1151. -NoSaveSeenby
  1152.  
  1153.     Same as global command NoSaveSeenby, but only for that specific
  1154.     area.
  1155.     
  1156.     ATTENTION: Rescanning of this area is no longer possible!
  1157.  
  1158. -Pseudonym <name>
  1159.  
  1160.     This one lets you use a pseudonym in an area when exporting
  1161.     locally entered messages. The From: field is filled with this
  1162.     <name>.
  1163.  
  1164. -AllowPvt
  1165.  
  1166.     This one allows private messages in this area. If not used, the
  1167.     Pvt flag is stripped while the next crunching process of this area
  1168.     or while scanning this message.
  1169.  
  1170. -NoHistory
  1171.  
  1172.     This flag prevents the area to be listed in the JetMail history
  1173.     files and JetStat charts.
  1174.  
  1175. -NoConnect [patterns...]
  1176. -NoDisconnect [patterns...]
  1177.  
  1178.     These ones are to avoid connecting/disconnecting via AreaFix for
  1179.     the systems matching one of the patterns. If no pattern is
  1180.     specified, nobody can (dis)connect.
  1181.     
  1182.     -NoConnect implies -NoForce
  1183.  
  1184. -ForcePvt
  1185.  
  1186.     This one lets JetMail set ALWAYS the Private flag of all messages
  1187.     in this area when crunching it.
  1188.     
  1189.     ATTENTION: This area MUST have the -Local flag set!
  1190.  
  1191. -Password <pwd>
  1192.  
  1193.     This one is to set a special area password. This password has to
  1194.     be specified when connecting this area after a "!" sign.
  1195.  
  1196. -NoDeleteUnread
  1197.  
  1198.     Same as the global NoDeleteUnread, but only for THIS area.
  1199.  
  1200. -GateTo <areas...>
  1201.  
  1202.     With this option you can gate the area with others.
  1203.  
  1204. -ForceConnect <patterns...>
  1205.  
  1206.     This option forces certain links to connect to this area. A matching
  1207.     ForceConnect pattern implies a -NoDisconnect for this link.
  1208.     
  1209.     Example: -ForceConnect 90:?/0@nest.ftn
  1210.     
  1211. -NoForce <patterns>
  1212.  
  1213.     This command is used to make exceptions to -ForceConnect
  1214.  
  1215. -NoExport
  1216.  
  1217.     Avoid SCANning this area. This is useful if an echo is read-only
  1218.     for YOU and you want to prevent sending messages by mistake.
  1219.  
  1220. -OriginalEcho <name>
  1221.  
  1222.    With this option, you can define the <name> of the area under which the
  1223.    area is known to the network. So you can run UseNet's COMP.SYS.ATARI.ST
  1224.    as CSAST by defining:
  1225.    
  1226.    -OriginalEcho COMP.SYS.ATARI.ST
  1227.    G:\MSGBASE\INTERNET\CSAST CSAST  2:2456/95@fidonet.org
  1228.    
  1229.    So, LED users are able to distinguish very long area names.
  1230.  
  1231.  
  1232. ROUTING / EVENTS
  1233. ================
  1234.  
  1235. All kind of routing information is hold in an extra file names ROUTE.JM in the
  1236. system directory. In this file, you will define the mail flavour for systems.
  1237. You can change mail flavour to certain times with the Event feature. Mail
  1238. flavour can be defined seperately for Netmail and Echomail.
  1239.  
  1240. Please note, that all matching of addresses is done on a 5D basis. You will
  1241. find some examples later in this chapter.
  1242.  
  1243. Wildcards
  1244. ---------
  1245.  
  1246. JetMail accpets the following wildcards:
  1247.   
  1248. *               : matches anything
  1249. ALL             : same as *, but only active in ROUTE.JM
  1250. ?               : matches one char
  1251. [x-y]           : matches characters x through y
  1252. {str1,..,strN}  : matches str1 through strN
  1253.                   (where the strings CAN'T contain wildcards).
  1254.  
  1255. Examples:
  1256.   
  1257. 2:245/5[0-18-9]
  1258.   
  1259. is matched by 2:245/50, 2:245/51, 2:245/58 and 2:245/59
  1260.   
  1261. 2:243/{95,600}
  1262.   
  1263. is matched by 2:243/95 and 2:243/600
  1264.  
  1265. Events
  1266. ------
  1267.  
  1268. You can enable parts of the routing file only to specific times by enclosing
  1269. lines with Event ... EndEvent. The exact syntax is:
  1270.  
  1271. Event Day <start_time> <end_time>
  1272.  
  1273.     routing information
  1274.  
  1275. EndEvent
  1276.  
  1277.     Times are in the format hh:mm. Allowed days are: Mon, Tue, Wed, Thu, Fri, 
  1278.     Sat, Sun, WkDay and WkEnd. WkDay means from Mon to Fri and WkEnd stands for
  1279.     Sat and Sun. A syntax like Mon|Tue isn't possible at the moment. Only events
  1280.     with the All identifier may extend over midnight. The lines between Event
  1281.     and EndEvent are only parsed when system time is between start_time and 
  1282.     end_time. 
  1283.     
  1284.     ATTENTION: Place the events to the end of of ROUTE.JM, because the LAST rule
  1285.     is taken!
  1286.     
  1287. Changing of mail flavour
  1288. ------------------------
  1289.  
  1290. CHANGE          <flavour> TO <flavour>  <links>
  1291.  
  1292.     where <flavour> is one of the following: HOLD, NORMAL and CRASH. links must be
  1293.     defined in the link section of CONFIG.JM otherwise JetMail issues a warning.
  1294.     
  1295.     This command only affects bundles, packets and file requests, but not file-
  1296.     attaches and TICs (?FT).
  1297.  
  1298. CHANGE-FILE     <flavour> TO <flavour>  <links>
  1299.  
  1300.     Same as CHANGE but for fileattaches (?FT).
  1301.  
  1302.  
  1303. Routing
  1304. -------
  1305.  
  1306. ROUTE-TO        <destination-link> <patterns>
  1307.  
  1308.     Every netmail which destination address matches one of the <patterns> is
  1309.     routed to the <destination-link>. 
  1310.     
  1311.     Every <pattern> must match a 5D address. Some parts of a <pattern> are set
  1312.     by JetMail if not specified so that the pattern will match a 5D address.
  1313.     
  1314.     a) JetMail takes a missing zone from your first alias.
  1315.     
  1316.     b) A missing domain is taken from the first link with the same zone as in
  1317.        the pattern.
  1318.     
  1319.     c) If point is missing, * is taken.
  1320.     
  1321.     Example:
  1322.     
  1323.     245/52      -> 2:245/52.*@fidonet.org
  1324.     2:245/52.0  -> 2:245/52.0@fidonet.org
  1325.     90:101/0    -> 90:101/0.*@nest.ftn 
  1326.     90:*        -> 90:*.*@nest.ftn
  1327.     90:400/*    -> 90:400/*.*@nest.ftn
  1328.  
  1329.     Please note that specifying .0 in a <pattern> will cause only mail to THIS 
  1330.     system routed to <destination-link>. Mail to points of this node don't pass 
  1331.     the pattern matcher!!!!!!
  1332.     
  1333.     Specify FIRST the GENERAL routing and then the special cases (like in
  1334.     ACS and in opposite to IOS).
  1335.  
  1336. FORWARD-FROM    <patterns...>
  1337. FORWARD-TO      <patterns...>
  1338.  
  1339.     to limit netmail distribution only from/to certain portions of the
  1340.     whole network. If these statements aren't used, all netmail is
  1341.     routed to all destinations.
  1342.  
  1343. HOLD-FOR        <patterns...>
  1344.  
  1345.     Put NETmail on hold for all systems matching <patterns>.
  1346.  
  1347. CRASH-TO        <patterns...>
  1348.  
  1349.     Send NETmail to systems matching <patterns> crashed.
  1350.  
  1351. IMMEDIATE-TO    <patterns...>
  1352.  
  1353.     Send NETmail immediately to systems matching <patterns>.
  1354.  
  1355. DIRECT-TO       <patterns...>
  1356.  
  1357.     Send netmail to systems matching <patterns> directly to the
  1358.     destination system, same as if you set the Direct extended message
  1359.     flag.
  1360.     
  1361.     This command is the same as NO-ROUTE in ACS and others.
  1362.  
  1363. POLL            <links...>
  1364.  
  1365.     POLL defines, that you want to poll these links. In <links>, you CAN'T
  1366.     use patterns! You have to define the address(es) without * and ?
  1367.     
  1368.     If no bundle or packet is present, an empty flow file (*.OFT) is created
  1369.     to force BinkleyTerm to call these links in the mail events. If DummyPacket
  1370.     is set, JetMail creates an empty packet instead.
  1371.     
  1372.     If using POLL, JetMail generates normal outbound mail (OAT).
  1373.  
  1374. PICKUP          <links...>
  1375.  
  1376.     PICKUP is generally the same as POLL, but it doesn't force Binkley to
  1377.     poll. The links are only polled if mail is waiting for them.
  1378.     If using PICKUP, JetMail generates normal outgoing mail (OAT).
  1379.  
  1380. CRASH           <links...>
  1381.  
  1382.     Tells JetMail that you want to deliver all mail for these links
  1383.     crash. It generates CAT bundles.
  1384.  
  1385. HOLD            <links...>
  1386.  
  1387.     Tells JetMail that you want to put mail for these links on hold.
  1388.     This is the default if no POLL/PICKUP/CRASH is specified for a
  1389.     link. As you may already noticed, this statement is obsolete but
  1390.     is left in JetMail to remain highest compatibility to routefiles
  1391.     of other software.
  1392.     
  1393.     To make the differences clear between the statements with and
  1394.     without FOR/TO, some examples:
  1395.     
  1396.     DIRECT-TO 2:245/52.0@fidonet.org
  1397.     
  1398.     Puts echomail on hold (default) for the link and sends netmail as a normal
  1399.     mailpacket.
  1400.     
  1401.     POLL 2:243/95@fidonet.org
  1402.     CRASH-TO 2:243/95@fidonet.org
  1403.     
  1404.     NORMAL ECHOmail and sends NETmail CRASHed. If binkley runs an
  1405.     appropriate event, the poll is done wether you have mail to send
  1406.     or not.
  1407.         
  1408.     CRASH 2:243/95@fidonet.org
  1409.     HOLD-FOR 2:243/95@fidonet.org
  1410.     
  1411.     Sends ECHOmail CRASH to the link and puts NETmail on HOLD.
  1412.     
  1413.     HOLD-FOR/CRASH-TO/DIRECT-TO and IMMEDIATE-TO statements applies
  1414.     BEFORE routing!!!
  1415.     
  1416. DENY            <patterns>
  1417.  
  1418.     Don't process mail from systems matching <patterns>. The packets are
  1419.     renamed to *.DEN and imported, if no DENY is active for the originating
  1420.     system anymore. This statement can be used in mail events when
  1421.     using small call slots and your machine should not be busy
  1422.     processing received mail.
  1423.  
  1424. MOVE-MAIL       <destlink> <links...>
  1425.  
  1426.     All mail packets for <links...> are compressed into the bundle
  1427.     of <destlink>. This is useful for links with more than one network
  1428.     address, but his mailer can't handle this properly.
  1429.  
  1430. FILE-FROM       <patterns>
  1431.  
  1432.     Allows file routing from all systems matched by <patterns>.
  1433.  
  1434. FILE-TO         <patterns>
  1435.  
  1436.     Allows file routing to all systems matched by <patterns>.
  1437.  
  1438. FILE-MAX        <val> <patterns>
  1439.  
  1440.     Only files smaller than <val> in kilobytes (1024 bytes) are routed
  1441.     from/to the systems matched by <patterns>.
  1442.  
  1443. HOLD-MAX        <val> <patterns>
  1444.  
  1445.     This one defines the maximum amount of mail laid on hold for links
  1446.     matching <patterns>. <val> must be defined in kilobytes (1024 bytes).
  1447.     If a link exceeds his limit, the link flag "Passive" is set.
  1448.  
  1449. USE-ALIAS       <alias> <patterns>
  1450.  
  1451.     This one advises JetMail to use <alias> as From-address in netmail
  1452.     messages destinated to systems which match the specified patterns.
  1453.     This feature is similar to ACS's Key command.
  1454.  
  1455. EXCEPT          <patterns>
  1456.  
  1457.     With this command you can define exceptions to a one of these
  1458.     preceeding commands:
  1459.     
  1460.     HOLD-FOR
  1461.     DIRECT-TO
  1462.     CRASH-TO
  1463.     IMMEDIATE-TO
  1464.     DENY
  1465.     FILE-FROM
  1466.     FILE-TO
  1467.     FILE-MAX
  1468.     HOLD-MAX
  1469.     FORWARD-FROM
  1470.     FORWARD-TO
  1471.     
  1472.     Example: You want to delived netmail to the USA directly to it's
  1473.     destination. But netmail to net 205 should go it's normal route
  1474.     path. Then you have to define
  1475.     
  1476.     DIRECT-TO 1:ALL@fidonet.org
  1477.     EXCEPT 1:205/ALL@fidonet.org
  1478.  
  1479.  
  1480. STATISTICS
  1481. ==========
  1482.  
  1483. JetMail will write a statistic of inbound/outbound mail traffic and traffic
  1484. in the areas into the files INBOUND.HIS, OUTBOUND.HIS, ECHOMAIL.HIS and
  1485. TOP10.TXT
  1486.  
  1487. Simply try the JetStat programm. It's really nice. It must be placed
  1488. to the same place of JETMAIL.TTP if the environment variable JETMAIL
  1489. is NOT set.
  1490.  
  1491. You can pass "ASCII" to JetStat in the command line. The boxes of TOP10.TXT
  1492. are then drawn with ASCII characters.
  1493.  
  1494.  
  1495. COMMANDLINE
  1496. ===========
  1497.  
  1498. JetMail accepts the following options on the commandline (you can use more
  1499. than one of them at the same time seperated by a blank):
  1500.  
  1501. IMPORT/TOSS
  1502.     
  1503.     Import mail packets and distribute to connected systems. Don't bundle
  1504.     the packets. They just stay as *.TMP files in the outbound folders.
  1505.  
  1506. BUNDLE
  1507.  
  1508.     Bundles all *.TMP files in the outbound folders.
  1509.  
  1510. PACK
  1511.  
  1512.     Scan netmail for messages and export them.
  1513.  
  1514. SCAN
  1515.  
  1516.     Scan changed echomail areas for messages and export them.
  1517.     The archive bit will be used for determining if the area has been
  1518.     changed.
  1519.     
  1520.     Because of a "misdesign" in TOS versions below 1.04, JetMail isn't
  1521.     able to detect changed areas and because of this, SCAN will act
  1522.     like SCANALL.
  1523.  
  1524. SCANALL
  1525.  
  1526.     Same as scan. But scan all echomail areas.
  1527.  
  1528. MAINT/CRUNCH
  1529.  
  1530.     Crunch messagebase according to days/max and minmessages.
  1531.     
  1532.     Example of a logfile line:
  1533.     
  1534.     - 23:27:00  NET_DEV (8/175)
  1535.     
  1536.     In NET_DEV, 8 messages were deleted and 175 are remaining.
  1537.  
  1538. NOTIFY
  1539.  
  1540.     Sends a netmail to all links with their link parameters like Arcmailtype,
  1541.     Packettype, used AKA for this system and link flags like Passive, AutoArea,
  1542.     FwdRequests and Dummypacket status. It also sends a little inbound/outbound
  1543.     statistic.
  1544.     
  1545.     NOTE: The notify message is only send to links, for which the
  1546.           "NoNotify" flag is NOT active.
  1547.  
  1548. REPORT
  1549.  
  1550.     Writes a system report message into the netmail folder with some
  1551.     configuration data.
  1552.  
  1553. AREA=<name>
  1554.  
  1555.     Limit SCAN and MAINT to <area>.
  1556.  
  1557. LABEL=<name>
  1558.  
  1559.     Activate label <name> in the ROUTE.JM files.
  1560.     
  1561.     Labels are used as following:
  1562.     
  1563.     Label <name>
  1564.     [commands]
  1565.     EndLabel
  1566.  
  1567. REMOVE=<name>
  1568.  
  1569.     Allows you to remove an area from [D]AREAS.BBS. All links of that
  1570.     area will get an automatic AreaFix disconnect request.
  1571.     
  1572. +wait
  1573. -w
  1574. /w
  1575.  
  1576.     Wait for keypress after execution
  1577.     
  1578. +logfile <filename>
  1579. -l <filename>
  1580. /l <filename>
  1581.  
  1582.     specify other logfile.
  1583.     
  1584. ALL
  1585.  
  1586.     Short for IMPORT SCAN PACK BUNDLE MAINT
  1587.  
  1588.  
  1589. JETMAIL INTERFACE FOR ROUTING FILES
  1590. ===================================
  1591.  
  1592. JetMail has a build in interface for routing files. JetMail will look for
  1593. a special netmail message flag and when scanning the netmail. Please
  1594. contact Daniel Roesen (2:2456/114@fidonet.org or 90:400/602@nest.ftn
  1595. or 51:601/111@atarinet.ftn) for further information.
  1596.  
  1597.  
  1598. JETMAIL NETMAIL GATEWAY TO OTHER DOMAINS
  1599. ========================================
  1600.  
  1601. There is a built in interface to send mails to other domains in FidoNet
  1602. technology networks for systems which no direct access to this network.
  1603.  
  1604. Example: Daniel Roesen had no NeST access. But he wanted to send mail to some
  1605. NeST system (and he doesn't know the FidoNet address). His boss (or the host
  1606. of net 2456) bounced the mail back to Daniel because their messagetrackers
  1607. didn't know anything about zone 90.
  1608.  
  1609. What could he do? It's very easy. He just wrote a netmail like this:
  1610.  
  1611. From: Daniel Roesen on 2:2456/114
  1612. To:   Gateway on 2:243/6007
  1613. ------------------------------------------------------------------------------
  1614. To: Daron Brewood % 90:1/0@nest.ftn
  1615.  
  1616. Hi Daron, ..............
  1617.  
  1618.  
  1619. JetMail changes the message to
  1620.  
  1621. From: Gateway on 90:4/0
  1622. To:   Daron Brewood on 90:1/0
  1623. ------------------------------------------------------------------------------
  1624. From: Daniel Roesen % 2:2456/114@fidonet.org
  1625.  
  1626. and distributes it to the destination address. If Daron decides to reply he just
  1627. changes the word From: to To:
  1628.  
  1629. You can leave out the '%' if you want, JetMail understands both formats.
  1630.  
  1631.  
  1632. JETMAIL SERVER
  1633. ==============
  1634.  
  1635. JetMail has a built-in remote maintenance function for your system. If you know
  1636. FDServer (FrontDoor), you should know what I mean.
  1637.  
  1638. The server function is activated with
  1639.  
  1640. ServerPassword  <password>
  1641.  
  1642. You can write a netmail to "JetMail Server" on your own system with this
  1643. password in the subject line. The whole contents of the message (without kludges
  1644. is written to a file SERVER.BAT in the JetMail system directory.
  1645.  
  1646. This Batchfile can be executed by your main BBS batchfile.
  1647.  
  1648. ATTENTION:  If JetMail receives a server netmail, the contents is APPENDED
  1649.             to a probably existing SERVER.BAT, so you have to delete the file
  1650.             in your main BBS batchfile.
  1651.  
  1652.  
  1653. MENTAL SUPPORT:
  1654. ===============
  1655.  
  1656. This software was written while listening to:
  1657.  
  1658. Rage against the machine
  1659. Clawfinger
  1660. Dream Theater
  1661. U2
  1662. Pearl Jam
  1663. Guns N' Roses
  1664. Red Hot Chilli Peppers
  1665. Sophie B. Hawkins
  1666. Joe Satriani
  1667. Soul Asylum
  1668. MTV
  1669. etc...
  1670.  
  1671. Special thanx to the Jack Daniel's distillery for their great stuff!
  1672. ;-)
  1673.