Command line parameters

WTRGATE.EXE

This is the main program. It must be correctly configured to run; the program will exit if it is unable to initialize. To create new configuration files, or modify an existing configuration, use the WtrConf program.

You can start WaterGate using a command line option or you can start it without one and select an option from the menu. Only a single command line option is available for each run.

When scanning for outgoing Fido echomail messages, the program will look for an ECHOTOSS.LOG or ECHOMAIL.JAM file in its system directory, containing a listing of the areas it has to scan.

?
Display a short help screen.

SCAN
Scans local message bases for outgoing messages.

TOSS
Toss received FidoNet from inbound.

UUCP
Toss received Usenet/Internet from spool directory.

BAG
Toss received BAG files.

SMTP
Toss received SMTP files from Mail Queue.

-NONETSCAN
Skip the scanning of all netmail areas for outgoing messages. The primary netmail area is stilled scanned for pending file attaches (FrontDoor mode only). This tells SCAN to check echo and local areas only.

-NOECHOSCAN
Skip the scanning of all echomail areas. A shorter alias for this option is -NOES.

-NONETMAIL
Do not route netmail messages; store them in the local netmail area instead.

-NOEXPORT
Do not export messages to other systems; only import local messages.

-NOLOCAL
Don't import local messages; only export them to up and downlinks.

-NODUPE
Force dupe checking off.

-NOCHECK
Force WaterGate to ignore the directory check at startup.

-NONEWSTOSS
Do not toss Usenet news batches, only e-mail.

-KEEPFA
Keep file attach netmail when the attached file cannot be found. This can used for busy LANs that report a file as "not found" when actually the LAN is to busy.

-MEMUSAGE
Report in the logfile the amount of memory used for each of the configuration table that are loaded at start-up. This will help you understand WaterGate's memory consumption.
Errorlevel returns 0 on success or >1 on failure.

WTRCONF.EXE

You will need this program to configure WaterGate; it is capable of creating and modifying configuration files, including the areabase and userbase files. For more information see "Installing WaterGate".
?
Show help screen.

EXPORT_SQUISH file
Exports a SQUISH.CFG file containing all areas defined in the configuration. Or use [file] to specify another file name.

EXPORT_AREAS file
Exports an AREAS.BBS file containing all areas defined in the configuration. Or use [file] to specify another file name.

IGNORE_SYSTEMDIR
WaterGate will ignore the System Directory as configured in WTRCFG.TDB. This allows you to use a configuration in an other directory than the original. Useful when checking somebody else's databases.
Errorlevel returns 0 on success or >1 on failure.

WTRUTIL.EXE

WaterGate comes with a messagebase maintenance utility called WtrUtil. It can link messages in all area types; remove messages that are too old or over the maximum number of messages in an area; create new index files for both Squish and Jam bases; and renumber areas.

You can start WtrUtil with command line options, or start it without one and simply select from the menu.

?
Show all command line options.

DATABASE
Removes deleted entries and unused links from all WaterGate's configuration files, rebuild the databases and sort the areabase for faster access by WtrConf.
Use -NOSORT to prevent the areabase from being sorted.

INDEX
Creates new index files for all Squish and JAM message bases.

LINK
Links messages in all areas.

RENUM
Renumbers all *.MSG areas.

RENUMJAM
Renumbers all JAM areas.

PURGE
Removes messages by number and date from all message bases.

IMPORT
This function imports messages from your *.MSG main netmail directory into a JAM or Squish netmail area.

IMPORT AREANAME [Address] [-NoKill]

AREANAME specifies the name of the netmail base to which the messages are to be imported.

Address specifies the AKA to which the messages have to be addressed to be selected for import. This parameter is optional; if not specified all your AKA's are used.

The -NoKill parameter ensures that the imported messages are not removed from your netmail directory, which is the default.

SHRINKLOG n
This function will clean the logfile and all leaving only today's plus n days of history, as supplied on the command line. For example, SHRINKLOG 6 will keep a whole week in the logfile.

-NOSLICE
Use this option to disable the time slicing support, in case it causes problems, or when you want to speed up processing without giving up time slices anymore.
Errorlevel returns 0 on success or >1 on failure.

Use the DATABASE option if you have removed large numbers of areas or users from your configuration. Letting them stay in the base only wastes memory and disk access time.

Since WtrConf has to sort the list of area names all the times, you can speed up the editing work in WtrConf greatly by sorting the area base with WtrUtil on a regular basis, for example every night.

Groups filter option

To limit the number of areas that WtrUtil processes during the INDEX, LINK, PURGE, RENUM and RENUMJAM options, you can add an extra command line argument to these options to tell WtrUtil which groups to process only.
For example:

WTRUTIL LINK       Links messages in all areas.
WTRUTIL LINK ABC   Links messages in areas that are in one of the
                   groups A B and C.
Notice that the groups filter option only works when using the five functions from the command line.
Back to Table of Contents or continue to the next section.

Comments or questions? Send an e-mail to editor@wsd.wline.se.

Last updated 13 October 1996