home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
vrac
/
petnet10.zip
/
NODUPES.TXT
< prev
next >
Wrap
Text File
|
1994-06-14
|
3KB
|
94 lines
Sysops: Preventing duplicate messages is YOUR responsibility.
Re-exporting mail from crashed message bases puts a burden on the entire
network, and adds needlessly to other sysops' long distance telephone
bills.
Successful echomail sysops monitor their systems DAILY for potential
problems, and take measures to protect the network should a
configuration problem or system crash occur.
Here's a sample mailrun event batch file for WILDCAT sysops,
that uses PostMaster from Dave Cody, and Dupmsg from Jim
Metzler, along with, of course Robocomm and TNet.
This will keep sysops well informed about the progress of their mail
runs and will alert them to problems before the NetGods have to become
involved ... It should be all but impossible to be the source of a
problem if you follow these instructions. Substitute your own SysOp
name, HUB name and paths for the ones shown here, of course.
PCBoardies can use this too--there should be a set of utilities for
PCBoard which function in the same way as TNet (try RNet or QNet);
PostMaster, which takes text files and imports them to the message
base (TXT2MSG for instance); and Dupmsg, which purges duplicate
messages -- try PCBPack for this.
Here's a sample net mailrun batch file:
---- CUT HERE ----
C:
CD \WC30
:OK, let's clean out some dupes!
DUPMSG
:Now let's export some mail.
TNET EXPORT CRITCONN
:Mail's exported, let's send it to the HUB
CD \ROBO
:Rename our old QWK packets before we start
IF EXIST CRITCONN.QW2 DEL CRITCONN.QW2
IF EXIST CRITCONN.QW1 RENAME CRITCONN.QW1 CRITCONN.QW2
IF EXIST CRITCONN.QWK RENAME CRITCONN.QWK CRITCONN.QW1
:Let's backup the Robocomm log file and pick up the mail using Robocomm
IF EXIST ROBOCOMM.LOG TYPE ROBOCOMM.LOG >>ROBOLOG.OLD
DEL ROBOCOMM.LOG
ROBOCOMM /R /A NIGHTLY
CD \WC30
:now that Robo's finished, let's mail ourselves the log. Set the
:log style in Robocomm to 'Normal'
POSTMSTR /I:C:\ROBO\ROBOCOMM.LOG /C:0 /T:SysOp /F:ROBO /S:ROBO LOG
:now we import the mail and backup the TNET log file
IF EXIST ROBO\CRITCONN.QWK TNET IMPORT CRITCONN
IF EXIST TNET.LOG TYPE TNET.LOG >>TNETLOG.OLD
:now we mail ourselves the TNET log to see what we imported
POSTMSTR /I:C:\WC30\TNET.LOG /C:0 /T:SysOp /F:TNET /S:TNET LOG
DEL TNET.LOG
:Now let's kill any dupe messages that might have come from HUB because
:someone else forgot to check for dupes first!
CD \WC30
IF EXIST DUPMSG.LOG TYPE DUPMSG.LOG >>DUPLOG.OLD
DUPMSG
:And let's mail ourselves the DUPMSG log to see how it went
POSTMSTR /I:C:\WC30\DUPMSG.LOG /C:0 /T:SysOp /F:DUPMSG /S:DUPMSG
DEL DUPMSG.LOG
:And the Wildcat error log, just in case something went wrong that we
:need to fix (such as a trashed conference) with WCREPAIR
IF EXIST ERROR.LOG TYPE ERROR.LOG >>ERRORLOG.OLD
POSTMSTR /I:C:\WC30\ERROR.LOG /C:0 /T:SysOp /F:WILDCAT /S:ERRORLOG
DEL ERROR.LOG
:Likewise for TNET's error log
IF EXIST TNET.ERR TYPE TNET.ERR >>TNETERR.OLD
POSTMSTR /I:C:\WC30\TNET.ERR /C:0 /T:SysOp /F:TNET /S:TNET.ERR
DEL TNET.ERR
:And Tomcat's error log, just for good measure
IF EXIST TOMCAT.ERR TYPE TOMCAT.ERR >>TCERROR.OLD
POSTMSTR /I:C:\WC30\TOMCAT.ERR /C:0 /T:SysOp /F:TOMCAT /S:TCERROR
:Then we bring the BBS up again. EXIT if you shelled, CAT if you terminated.
---- CUT HERE ----