# Example configuration file for CrashEcho # # $Id: crashecho.conf,v 1.16 2002/02/04 22:13:30 raorn Exp $ # # This file demonstrates all keywords you can use in the configuration file. # # General configuration # ===================== # # SYSOP # # This keyword lets you configure the name of the system operator. It # is used as the sender name of all messages that CrashEcho # generates. (Bounce messages, receipts, AreaFix responses.) Max 36 # characters. SYSOP "Sir Raorn" # LOGFILE # LOGLEVEL # # Here you can configure the logging in CrashEcho. CrashEcho will write # all log messages with a level lower than the level configured here # both to the console and to the specified file. # # The following loglevels exist: # # 1 Minimum # 2 Small # 3 Normal # 4 Extra # 5 Extreme # 6 Debug # # If CrashEcho is compiled with syslog(3) support, it is possible to # enter facility name, prefixed with `$' as the filename (e.g. $local3). # If you do this, everything will be logged to the syslog instead. LOGFILE "/var/log/ftn/crashecho.log" LOGLEVEL 5 # DUPEFILE # DUPEMODE BAD/KILL/IGNORE # # Here the file that CrashEcho uses for its duplicate detection is # specified. Maxsize is specified in KB and sets the maximum size of # the dupetable. Note that CrashEcho needs this amount of memory in a # continous memory block. Each stored message uses about 39.0865 bytes # in the dupe table. # # These are the available modes for dupe checking: # # BAD Dupes are moved to the BAD area KILL Dupes are killed IGNORE No # dupechecking DUPEFILE "/var/lib/ftn/crashecho.dupes" 200 DUPEMODE BAD # MAXPKTSIZE # MAXBUNDLESIZE # # Here you can configure the maximum size of the .pkt files and bundles # that CrashEcho generates. If a file grows bigger than this limit, # CrashEcho starts a new bundle/pkt instead. The limits are in KB. MAXPKTSIZE 50 MAXBUNDLESIZE 100 # MSGBASEUMASK # # umask(2) used when creating messagebases. E.g. to make them group # writable. mask must be octal. MSGBASEUMASK 007 # DEFAULTZONE # # If CrashEcho can't figure out the zone of a message in another way, # the zone configured here is used. DEFAULTZONE 963 # Paths # ===== # # PROTINBOUND # # The protected inbound directory is the directory where CrashEcho looks # for .pkt files and bundles to toss. PROTINBOUND "/var/spool/ftn/in/secure" # INBOUND # # The unprotected inbound directory is the directory where CrashEcho looks # only for .pkt files to toss. INBOUND "/var/spool/ftn/in" # LOCALINBOUND # # The local inbound directory is the directory where CrashEcho looks for # .pkt files and bundles to toss. Tossing performed without all security # checks LOCALINBOUND "/var/spool/ftn/in/local" # TEMPINBOUND # # This is the directory where CrashEcho unpacks incoming bundles. TEMPINBOUND "/var/spool/ftn/in/temp" # OUTBOUND # # The outbound directory is where CrashEcho writes the flow files that # tells the mailer what files to send. OUTBOUND "/var/spool/ftn/out/aso" # CREATEPKTDIR # # This is the directory where CrashEcho stores created .pkt files until # they are stored in the packet directory. CREATEPKTDIR "/var/spool/ftn/out/temp" # PACKETDIR # # This is the directory where CrashEcho stores generated bundles. PACKETDIR "/var/spool/ftn/out/packets" # STATSFILE # # This is the file where CrashEcho stores statistics about areas and # nodes. You can display the contents of this file with CrashStats. STATSFILE "/var/lib/ftn/crashecho.stats" # AREAFILE # # This is the file where CrashEcho should look for areas definitions. AREAFILE "/etc/ftn/areas.conf" # External programs # ================= # # AFTERUNPACK # # CrashEcho will execute after successfull unpacking of # protected inbound AFTERUNPACK /usr/lib/crashecho/afterunpack.sh # BEFOREPACK # # CrashEcho will execute before compressing outbound BEFOREPACK /usr/lib/crashecho/beforepack.sh # Switches # ======== # # STRIPRE # # CrashEcho should strip all occurences of "Re:", "Re[x]:" and "Re^x:" # in the subject of messages before they are imported. STRIPRE # FORCEINTL # # CrashEcho should add an INTL line to all messages even when the sender # and the destination are in the same zone. FORCEINTL # CHECKSEENBY # # CrashEcho should never send echomail to nodes that already are in the # SEEN-BY lines. CHECKSEENBY # CHECKPKTDEST # # CrashEcho should check the destination node of all incoming .pkt files # and only toss them if thety are adressed to one of the local AKAs. #CHECKPKTDEST # ALLOWNULLPASSWORDS # # CrashEcho shoul accept .pkt files with empty passwords. Usually such # packets generated by buggy mailers (e.g. T-Mail) #ALLOWNULLPASSWORDS # KEEPAREAFIX # # Use this if you want messages to CrashEcho's internal AreaFix not to # be deleted from your netmail area. KEEPAREAFIX # AREAFIXREMOVE # # Use this to allow the AreaFix to remove areas when the last downlink # unsubscribed. AREAFIXREMOVE # WEEKDAYNAMING # # Name bundles according to the day of the week they are created. WEEKDAYNAMING # ADDTID # # Add a ^TID line to all echomail messages exported by CrashEcho. ADDTID # ALLOWRESCAN # # Allow nodes to rescan areas in the AreaFix. ALLOWRESCAN # FORWARDPASSTHRU # # Make areas created when they were forward-requested by a downlink # pass-through rather than importing them to your messagebase. #FORWARDPASSTHRU # REMOVEWHENFEED # # CrashEcho should remove areas when the feed unsubscribes to # them. AreaFix messages or notification messages can be sent to your # downlinks, see the Node configuration. #REMOVEWHENFEED # INCLUDEFORWARD # # Include all forward-requestable areas in the area lists generated by # the AreaFix. INCLUDEFORWARD # NOMAXOUTBOUNDZONE # # CrashEcho normally puts outgoing mail for all zones >4095 in the # outbound directory for zone 4095 (usually outbound.fff). If this # switch is turned on, CrashEcho will use separate outbound directories # also for zones >4095. The background of this option is that the # Binkley outbound style originated on platforms where file names # were limited to 8+3 characters. For compatibility with many older # mailers, leave this switch turned off. There are however some mailers # that also expect to find mail for zones >4095 in separate outbound # directories. #NOMAXOUTBOUNDZONE # USEASO # # Use Amiga-style outbound. USEASO # ALLOWKILLSENT # # If this option is used, CrashEcho will delete all netmail messages # with the killsent flag after they have been expored #ALLOWKILLSENT # LOCKBYLINK # # If this option is used, CrashEcho will use link(2) when creating # lockfiles instead of open(2) #LOCKBYLINK # CCONSCAN # # Do Carbon Copies when scanning #CCONSCAN # Groupnames # ========== # # GROUPNAME # # Here you can describe you groups. These descriptions are used in the # area lists created by the AreaFix. GROUPNAME A "Hell Fortress" GROUPNAME B "ViwaNet" GROUPNAME C "FidoNet" GROUPNAME N "NetMail" # Carbon copy # =========== # # CARBON # # Copy messages, that satisfy pattern, from area pattern to destination area # # The following type's can be used: # # FROM # # Check "From" field of a message. # # TO # # Check "To" field of a message. # # SUBJ # # Check "Subject" field of a message. # #CARBON "*" TO "Sir Raorn" MAIL.FOR.SIR.RAORN #CARBON "RU.UNIX.FTN" SUBJ "CrashEcho" COMMENTS.ABOUT.CRASHECHO # Packers # ======= # # PACKER # # Here you configure the external packers that CrashEcho uses. %a stands # for archive name and %f stands for file name. The recog string is # used when CrashEcho detects the packer used to pack a bundle. If the # beginning of the bundle matches the recog string, CrashEcho uses that # packer. ? can be used as a wildcard and you can use $xx to specify a # hexadecimal number. PACKER "RAR" "/usr/bin/rar a -ep -w/var/spool/ftn/out/temp/ %a %f" "/usr/bin/unrar e -o+ %a" "Rar!" PACKER "ZIP" "/usr/bin/zip -j %a %f" "/usr/bin/unzip -j -o %a" "PK" # AKA # === # # AKA # ADDNODE node1 node2 ... # REMNODE nodepattern1 nodepattern2 ... # # Here you configure the adresses of your node. ADDNODE is used to add # nodes the the SEEN-BY lines in areas with this AKA and REMNODE is used # to remove nodes. Nodes for ADDNODE and REMNODE has to be 2D, that is # only net/node should be specified. Patterns are allowed for REMNODE. AKA 963:1/64.0 AKA 2:5020/1437.4 AKA 2:5020/2115.32 # Nodes # ===== # # NODE [] # AREAFIXINFO # DEFAULTGROUP # REMOTEAF # REMOTESYSOP # # These are the nodes you interchange mail with. You can only send # echomail to nodes specified here, but netmail can also be sent to # other nodes. The groups decide what areas a node may subscribe to # in the AreaFix. If the area is in one of the read-only groups, the # node will be added as read-only. If a new area is added in one of the # add groups, this node will automatically be subscribed to it. The # default group is the group used for areas that are autoadded from this # node. REMOTEAF and REMOTESYSOP are used when CrashEcho needs to send # messages to the AreaFix or the sysop of this node. # # The following flags can be set for a node: # # NOTIFY # # When a SENDQUERY, SENDLIST, SENDUNLINKED, SENDINFO or SENDHELP with # the argument ALL is used on the command-line, messages will be sent # to all nodes with this flag set. # # PASSIVE # # Echomail is never sent to this node. Used for the %PAUSE and %RESUME # commands in the AreaFix. # # NOSEENBY # # No SEEN-BY lines are included in messages sent to this node. Should # normally not be used. # # TINYSEENBY # # Only sender and destination is included in SEEN-BY lines in messages # sent to this node. Should normally not be used. # # FORWARDREQ # # This node is allowed to do forward-requests. # # SENDAREAFIX # # AreaFix disconnect requests should be sent to this node when the feed # unsubscribes from an area. # # SENDTEXT # # Notification messages should be sent to the sysop of this node when # the feed unsubscribes from an area. # # AUTOADD # # New areas from this node should be auto-added to the # configuration. If auto-add is not set, the areas will still be added # but with an UNCONFIRMED line. # # CRASH # # Send echomail to this node with priority Crash. # # DIRECT # # Send echomail to this node with priority Direct. # # HOLD # # Send echomail to this node with priority Hold. # NODE 963:1/969.0 963:1/64.0 "ZIP" "xxxxxxxx" AUTOADD SENDAREAFIX AREAFIXINFO "xxxxxxxx" "B" "" "" DEFAULTGROUP B REMOTEAF "AreaFix" "xxxxxxxx" REMOTESYSOP "Dmitry Lechew" NODE 2:5020/1437.0 2:5020/1437.4 "ZIP" "xxxxxxxx" AUTOADD DEFAULTGROUP C NODE 963:1/64.18 963:1/64.0 "ZIP" "xxxxxxxx" FORWARDREQ AREAFIXINFO "xxxxxxxx" "AB" "" "" REMOTESYSOP "Cyril Margorin" # AreaFix # ======= # # AREAFIXHELP # # The file that is sent when a downlink issues a %HELP command. AREAFIXHELP "/usr/share/crashecho/AreafixHelp.txt" # AREAFIXMAXLINES # # The maximum number of lines in an AreaFix response. CrashEcho splits # the response if it exceeds this number. # AREAFIXMAXLINES 250 # AREAFIXNAME # # A name that CrashEcho's AreaFix should respond to. AREAFIXNAME "CrashEcho" AREAFIXNAME "AreaFix" AREAFIXNAME "AreaMgr" # FORWARDTIMEOUT days # # This keyword sets time in days, that crashecho will wait until the # requested area is autocreated. If area has not been created within # period specifyed, request will be discarded. # See EXPIRES keyword. FORWARDTIMEOUT 14 # REMOVETIMEOUT days # # This keyword sets time in days, that CrashEcho will ignore messages in deleted # areas. # See REMOVED keyword. REMOVETIMEOUT 2 # AREALIST [GROUP ] [FORWARD] [DESC] # # This is a list of the areas that are available at a node. It should # contain lines with the format " ". If DESC # is specified, descriptions are taken from this file when CrashEcho # auto-adds areas. If FORWARD is specified, this file is used to # determine what files are available for forward-requests. GROUP # specifies the group needed to be allowed to forward-requests areas in # this list. AREALIST 963:1/969.0 "/etc/ftn/lists/963.1.969.0.echolist" GROUP B FORWARD # MSG # === # # MSG_HIGHWATER # # Use 1.msg as highwater mark in *.msg areas. MSG_HIGHWATER # MSG_WRITEBACK # # Overwrite the old message with the new message when it is imported # instead of just changing the SENT flag. Use this to see the new # SEEN-BY:s and PATH in the messagebase. #MSG_WRITEBACK # JAM # === # # JAM_FLAGSDIR # # Path, where CrashEcho will create import.jam and newareas.jam files JAM_FLAGSDIR "/var/lib/ftn/flags" # JAM_HIGHWATER # # Use highwater marks to speed up scanning. The highwater mark is stored # in a file called .cmhw. JAM_HIGHWATER # JAM_QUICKLINK # # Just compare the CRC of MSGID/REPLY when linking and don't read the # strings from the messagebase. This makes linking quicker, but messages # that don't match may be linked by mistake. JAM_QUICKLINK # JAM_HARDDELETE # # Delete messages by setting UserCRC and HdrOffset in the index to # 0xFFFFFFFF instead of setting MSG_DELETED attribute. JAM_HARDDELETE