Version 1.0 11/28/90 AnyMail - An Amiga UUCP mail notifier Anymail was created as a replacement for the Amiga UUCP mail notifier, Inform. Anymail will notify you by bringing the workbench screen upfront and opening a window with the author and subject of all your waiting mail. You can easily click on the window to view your mail in your favorite mail reader or close the window, to read it later. AnyMail will scan UUMAIL: looking for mail files. Each file will be scanned for From and Subject lines to display in the AnyMail window. You may exclude files from the scan using the -e switch. Any file matching the amiga pattern following the -e switch will not be scanned. Normally you would exclude mbox from the scan. You may also force files to be included in the scan that were excluded by the -e switch. Any file matching the template following the -i switch will be scanned. AnyMail is not intended to be started by the user. Instead it is to be started by the mailers rmail and sendmail. The mailers look for a line in uulib:config labeled 'MailReadyCmd'. This line will be executed when new mail is available. You can set this line to start AnyMail. The mailers try to prevent executing the notifier multiple times by using a flag file. The mailers create the flag file, and the notifier deletes it. The notifier is passed the name of the flag file following -x. Starting AnyMail while another copy is already running will cause the first AnyMail to scan UUMAIL: again, and the second AnyMail to terminate. AnyMail deletes the flag file as soon as it starts up to allow multiple invocations of AnyMail. AnyMail is compiled with cres.o so you should be able to make it resident if you wish. AnyMail accepts the following switches: -c Command This command will be executed if the main body of the AnyMail window is selected. The command is usually used to start up a cli running dmail. For example: -c "newcli from uucp:s/start-dmail" -e Pattern This switch is used to exclude a set of files from the set to be scanned. The pattern is a normal amiga pattern. ? matchs any character. #C matches zero or more Cs. -i Pattern This switch is used to override the -e switch. It will force any file name matching the pattern to be included in the set of files to be scanned, regardless of any -e switches. For example, the following line will exclude files such as to-thanos, and to-chris, but it will include the file tony, even though it matches the -e template. AnyMail -e to#? -i tony -x FileName -x defines the name of the flag file. Here's an example using the MailReadyCmd line of uulib:config. MailReadyCmd AnyMail -e mbox -e to-#? -c "newcli from uucp:s/start-dmail" This will notify you of any new mail you have in UUMAIL:, but it wont bother you with mail you've archived in mbox, or files like to-neda, or to-dmk. It has the added attraction that you'll be notified of mail directed to postmaster, root, or even to a missspelled version of your user name. If you pick the main body of the window, dmail will be started in a new window to make it easy for you to read your new mail. Legal: It's yours. Do what you want with it. Enjoy it. Use it at your own risk. Preferences: Distribute the original archive which contains sources, documentation and executable. Don't distribute just part of it. Building AnyMail: AnyMail is meant to be built in Matt Dillons uucp source environemnt. The makefile was used with the lattice version of make, lmk. lmk - Will build and install AnyMail into uucp:c lmk lzh - Will build an archive for distribution. Author: Chris Hind Genly uucp address: chris@genly.uucp 95 Fountain Terr. or New Haven, CT uunet!hsi!genly!chris 06515 From compu$erve: >Internet: chris@genly.uucp