Laserfiche WebLink
<br />South Platte Water Rights Management System <br /> <br />" <br /> <br />extracts the file portion of the message (everything between the keyword delimiters) and <br />starts the executable LoadOverlayFile to load the overlay. <br /> <br />If any errors occur during the processing of the mail, the message is returned to the sender <br />with a brief explanation. If the message is processed without errors, the output from the <br />program LoadOverlayFile will be returned to the sender. This output can be used to deter- <br />mine the success of the load. A log file is maintained to track the messages sent to the <br />processing login. All messages successfully submitted for loading are archived in a speci- <br />fied UNIX mail file. <br /> <br />Creating the processing login <br /> <br />To create the processing login, first determine on which machine the SPWRMS Mailbot <br />will run. Users on this machine must have access to the SPWRMS database. Create a login <br />on this machine (referred to as the SPWRMS processing login). Grant this user connect <br />privileges to the SPWRMS database as well as INSERT privileges on the overlay tables. <br />This user must have privileges to execute the programs spwnns_mailbot and LoadOverlay- <br />File in the SPWRMS bin directory, and should be configured with the necessary SPWRMS <br />environment variables as discussed in section XXX of the XXX. Create a subdirectory in <br />the user's home directory called DBMAIL. Files used by the spwrms_mailbot will be <br />placed in this subdirectory. <br /> <br />Configuring the spwrms_mailbot program <br /> <br />The next step is to configure the spwrms_mailbot program for the processing login. The <br />program spwrms_mailbot is written in Perl-a readily available scripting language- which <br />is generally located in lusr/locallbin/perl. The program needs to be configured to run in the <br />machine's environment. <br /> <br />The following Perl variables should be configured (in spwrms_mailbot.pl): <br /> <br />$MAIL: The path to the DBMAIL directory for the processing login. <br /> <br />$MaiIBoxName: The path to the mailbox file where the submitted messages are archived. <br /> <br />$ProcessPgm: The path to the LoadOverlayFile program. <br /> <br />$MyReplyAddress: The From (user indicated when replies are sent to the message <br />submitter). <br /> <br />$DBMAILSERVER: The name of the machine on which this mailbot should run. This <br />name should match identically the result of the program lusr/ucb/hostname. <br /> <br />$BackupMaiIBoxName: The path to the mailbox file where the submitted messages are <br />archived if the program fails to archive in the file $MailBoxName. <br /> <br />$LogFile: The path to which the file log messages are written. <br /> <br />@SENDERS: A list of users who may submit water information sheet overlay files via this <br />mechanism. <br /> <br />$CONTACT: The name of the person responsible for the maintenance of this program. <br />This contact is mailed to the submitter when several error conditions arise. <br /> <br />16 <br /> <br />Administrators Manual <br />