Part C shows the .forward file I used while testing this application for account ray. The cmd.filter program relies on the crypt command, which may be missing from your system. If it is, you can find other encryption programs on the Internet. Another solution is the simple encryption technique of using exclusive OR operations. An example is the mailcrypt program shown in my June 1994 column.
Part D shows the steps required to prepare a command file for insertion into an e-mail message.
One important point about preparing your mail message. When a file is encoded with uuencode , you have to list the file name where uudecode is to place the decoded file. Because a daemon will run cmd.filter , you have to know the directory where uudecode will put the decoded script. Thus, you need to use an absolute path name when you encode the script file before mailing it. In Part D, I chose to put the script file in my home directory.