home *** CD-ROM | disk | FTP | other *** search
- InterMail Semaphore files
- =========================
- Copyright 1993 Peter Stewart & InterZone Software, Inc.
-
-
- InterMail 2.00-2.10
- -------------------
- File: Function:
- ----- ---------
- IMRESCAN.NOW Tells the Mailer to rescan the netmail folder,
- whenever the timestamp of the file changes. The
- easiest way to update the filestamp is to use the
- standard DOS create file call, and immediately
- close the file.
-
- IERESCAN.NOW Tells the Editor to rescan the netmail folder.
-
- EVTSCAN.IM Tells the Mailer that the event file has been updated.
-
- CFGSCAN.IM Tells the Mailer that setup options have been changed.
-
- IMEXIT.### Tells the Mailer to exit with an errorlevel specified
- by the extension of the file.
-
- InterMail v2.20-2.21
- --------------------
- File: Function:
- ----- ---------
- IMRESCAN.NOW Tells the Mailer to rescan the netmail folder.
-
- IERESCAN.NOW Tells the Editor to rescan the netmail folder.
-
- EVTSCAN.IM Tells the Mailer that the EVENT.001, EVENT.002, etc.
- has been updated.
-
- CFGSCAN.IM Tells the Mailer that setup options have been changed.
-
- IMEXIT.### Tells the Mailer to exit with an errorlevel specified
- by the extension of the file.
-
- IMSLEEP.NOW Tells all Mailers to "go to sleep", ceasing all activity
- releasing the nodelist files, and closing the logs. If
- the file is older than 2 hours, it is ignored.
-
- X#######.??? This file is used to signal an outgoing call or an
- inbound connection with a specific node. The semaphore
- consists of the last 9 digits of a node's phone number
- in hex, with an "X" as the first character, and the mail
- server id # as the extension, eg .001, .002, etc.
-
- Any process that needs to ensure that no mailer is in an
- active mail session can do so by making sure that no
- file that starts with an "X" exists in the semaphore
- directory.
-
- To prevent the editor from renumbering messages, you
- can create a file which starts with "X" in the
- semaphore directory.
-
- InterMail v2.22 and later
- -------------------------
- File: Function:
- ----- ---------
- IMRESCAN.NOW Tells the Mailer to rescan the netmail folder.
-
- IERESCAN.NOW Tells the Editor to rescan the netmail folder.
-
- EVTSCAN.IM Tells the Mailer that the EVENT.001, EVENT.002, etc.
- has been updated.
-
- CFGSCAN.IM Tells the Mailer that setup options have been changed.
-
- IMEXIT00.### Tells all Mailers to exit with an errorlevel specified
- by the extension of the file.
-
- IMEXIT??.### Tells the Mailer to exit with an errorlevel specified
- | by the extension of the file, with ?? specifying the
- | number of the Mail Server that is to exit.
-
- IMSLEEP.NOW Tells all Mailers to "go to sleep", ceasing all activity
- releasing the nodelist files, and closing the logs. Also
- | makes the Editor warn a user that another process needs
- | access to the nodelist files. If the file is older than
- | 2 hours, it is ignored.
-
- X#######.??? This file is used to signal an outgoing call or an
- inbound connection with a specific node. The semaphore
- consists of the last 9 digits of a node's phone number
- in hex, with an "X" as the first character, and the mail
- | server id # in hex as the extension, eg .001, .002, etc.
-
- | X1234567.8yy Node number semaphore, where "x" is the character "X",
- | "1234567.8" is hex of a CRC-32 over two longs containing
- | the 4d address, and "yy" is the mail server (line)
- | number in hex. Primarily for use by echomail processors.
-
- | IMRENUM.NOW Renumbering is signaled/prevented via the semaphore
- | IMRENUM.NOW, as follows: If the timestamp has changed,
- | the netmail folder has been renumbered. A successful
- | lock on byte 1-1000 of this zero byte file is also
- | necessary before a process can renumber the folder.
- | Consequently, renumbering can be prevented by
- | establishing a lock anywhere in the first 1000 bytes.
- |
- | So the procedure for a Mailer calling out or answering
- | an incoming call, will be to first establish a lock on
- | the IMRENUM file, the byte position of the lock
- | being identical to the mail server/line number, then
- | create semaphores for the node it will be calling
- | (first checking for conflicting semaphores) and make
- | the call. On the EMSI handshake additional semaphores
- | may be created. After the call the semaphores are
- | removed and the lock is released.
- |
- | For an echomail processor, locking IMRENUM.NOW at byte
- | 1000 will prevent renumbering. A lock over the first
- | 1000 bytes will of course prevent any activity from
- | occurring...
-
-