home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / wms02b4.zip / wmserver.doc < prev    next >
Text File  |  1994-06-21  |  25KB  |  699 lines

  1. WMServer 0.2 Beta - Mail server software for UUPC/Extended for OS/2
  2. -------------------------------------------------------------------
  3.  
  4. Copyright Lars Olofsson 1994
  5.  
  6. Index
  7. -----
  8.  
  9. 1.0 Legal Stuff
  10.   1.1 Copyrights and Trademarks
  11.   1.2 Disclaimer
  12.   1.3 Distribution
  13.   1.4 Registration
  14.   1.5 Support and Feedback
  15.  
  16. 2.0 Introduction
  17.   2.1 What is WMServer
  18.   2.2 Contents
  19.   2.3 History
  20.   2.4 To Do List
  21.   2.5 Known Bugs
  22.   2.6 Availability
  23.   2.7 Contacting the Author
  24.  
  25. 3.0 Installation
  26.   3.1 Step-by-step
  27.   3.2 Running a server
  28.   
  29. 4.0 Programs
  30.   4.1 WMServer
  31.     4.11 Fileserver Extension
  32.     4.12 Mailinglist Extension
  33.     4.13 Writing your own scripts
  34.     4.14 Security
  35.   4.2 WMSend
  36.  
  37.  
  38. 1.0 Legal Stuff
  39. ---------------
  40.  
  41. Boring legal stuff which probably isn't necessary, but everyone
  42. has it, or so it seems.
  43.  
  44.  
  45. 1.1 Copyrights and Trademarks
  46. -----------------------------
  47.  
  48. The WMServer programs and this documents is Copyright Lars Olofsson 1994
  49.  
  50. All other names and products in this document is the copyright and/or
  51. trademarks of their respective creators.
  52.  
  53.  
  54. 1.2 Disclaimer
  55. --------------
  56.  
  57. I, Lars Olofsson, takes no responsibility for any damages the use, or
  58. lack of use, of the WMail programs may result in. Use at your own risk.
  59. By using this software you accept this disclaimer.
  60.  
  61. This software is not a complete stand alone product. It requires 
  62. UUPC/Extended for OS/2 by other authors and an uuencode program.
  63.  
  64. This software release is a BETA version, and is in no ways complete
  65. or bugfree. If you use this software, you are required to report any
  66. bugs you encounter.
  67.  
  68.  
  69. 1.3 Distribution
  70. ----------------
  71.  
  72. This software is Shareware. You may freely distribute it, as long as
  73. the original archive is kept intact, and no modifications are made to
  74. the distributed archive. You may not charge anything for the distribution
  75. of this software, unless it is a fee not specifically for the WMail Package.
  76. Thus a BBS owner may charge his or her users a membership fee for the BBS,
  77. and Shareware distributors may sell a CD with this software included under
  78. the conditions mentioned above.
  79.  
  80.  
  81. 1.4 Registration
  82. ----------------
  83.  
  84. This software is Shareware. You may use it for 30 days, after which you
  85. have to register if you wish to continue using it. The registration fee
  86. is USD 15 or SEK 100 (in Sweden) for a domain license. This license is
  87. valid for a single e-mail domain, as specified in the UUPCSYSRC file,
  88. and will be valid for all future versions of the WMServer package, up
  89. until version 2.0.
  90.  
  91. This software is in no way crippled if you do not register. Unless you
  92. register, the 'X-Mailer' header in any email generated by this software
  93. will include 'Unregistered Version'. This is the only effect of not
  94. registering.
  95.  
  96. To register send your registration fee to the adress below. You may send
  97. cash or a check drawn in a Swedish bank, payable to Lars Olofsson.
  98. I do not accept credit cards.
  99.  
  100. Lars Olofsson
  101. Molndalsv. 39
  102. 412 63 Goteborg
  103. SWEDEN
  104.  
  105. Phone: Nat 031-7739557
  106.        Int +46-31-7739557
  107.  
  108. To receive your registration code, you will have to send me an email
  109. at <larso@wmute.trillium.se> stating that you wish to register, and 
  110. the domain you wish to register. Please don't send any money before
  111. you receive a reply from me.
  112.  
  113. The registration code for your domain will be sent by email 
  114. when I receive the payment. This code should be placed at the
  115. first line of a file called 'wmail.reg', which should be located
  116. in the directory specified by 'Confdir=' in the UUPCSYSRC file.
  117.  
  118.  
  119. 1.5 Support and Feedback
  120. ------------------------
  121.  
  122. While WMServer is in beta, I'll give free support by e-mail
  123. to anyone using this software. 
  124.  
  125. When the first non-beta version is released I will provide free
  126. support by e-mail to any registered users of this software. This also
  127. includes anyone using the software for the 30 day trial period.
  128.  
  129. Send any questions or comments to
  130.  
  131. <larso@wmute.trillium.se>
  132.  
  133. Please specify WMail as the subject of the letter, for quicker responses.
  134. If there seems to be some error in the programs, please send your UUPCUSRRC,
  135. UUPCSYSRC and WMFILTER.INI files,and the header of any letter that generated
  136. an error while being processed.
  137.  
  138. Feedback of any kind is welcome from anyone.
  139.  
  140.  
  141.  
  142. 2.0 Introduction
  143. ----------------
  144.  
  145. Necessary readmes.
  146.  
  147.  
  148. 2.1 What is WMServer
  149. --------------------
  150.  
  151. WMServer is a mailserver program, that executes REXX scripts.
  152. Included in this distribution is scripts for a simple fileserver, and for
  153. a mailinglist server. The user may create his own scripts to extend the
  154. available servers or create entirely new ones. The limit is the capacity
  155. of REXX. As a simple RMAIL interface for use in WMServer scripts a small
  156. program, WMSend, is also included.
  157.  
  158. What does the WM stand for ?  - WMail: a DLL for handling UUPC e-mail.
  159. What does the W in WMail stand for ? - Wish I knew.
  160.  
  161. 2.2 Contents
  162. ------------
  163.  
  164. The distribution archive, WMS02b4.ZIP, _should_ contain
  165. the following files:
  166.  
  167. File               Size        Description
  168. ----               ----        -----------
  169.  
  170. fileserv.zip        8683       The Fileserver REXX scripts
  171. listserv.zip        6586       The Listserver REXX scripts
  172. WMail.DLL          99360       The WMail DLL
  173. WMSend.exe         48528
  174. WMServer.exe       70032
  175. WMServer.doc       24927       This document.
  176. WMServer.txt        2223       Short description of WMServer
  177.  
  178.  
  179. 2.3 History
  180. -----------
  181.  
  182. Ver 0.1beta     WMServer        Internal BETA.
  183.                 WMSend          Internal BETA
  184.                 
  185.  
  186. Ver 0.2beta     WMServer        Several small bugfixes.
  187.                                 Fixed some bugs in the REXX scripts.
  188.                                 Processing of commands now stop at
  189.                                 'END' or '--' instead of only '--'.
  190.                                 Replies are slightly different, looking
  191.                                 more like most mailservers do.
  192.                                 Fixed daemon mode.
  193.                 WMSend          Same as 0.1b
  194.  
  195.  
  196. 2.4 To Do List
  197. --------------
  198.  
  199.         Create an .INF document for this manual.
  200.         Install/Config program
  201.         Allow UNIX slashes in paths as an alternative to backslash
  202.         Include a heading pointing to the mail text in user.rc
  203.  
  204.  
  205. 2.5 Known Bugs
  206. --------------
  207.  
  208. None (yet). I have tested the software extensivly, and processed over
  209. 300 requests for files from different users worldwide. The listserver
  210. extension is still quite untested.
  211.  
  212.  
  213. 2.6 Availability
  214. ----------------
  215.  
  216. I will continually make bufixes to this program while in Beta.
  217. These will be available from <fileserver@wmute.trillium.se> and
  218. will also be uploaded to the following FTP-sites, except during
  219. July 1994, when I have no FTP access:
  220.  
  221. ftp-os2.cdrom.com
  222. ftp.luth.se
  223. ftp.informatik.tu-muenchen.de
  224.  
  225. Please note that the DLL might be incompatible between different
  226. versions of the program, so always use the one distributed with
  227. the programs.
  228.  
  229. The distributed code is 486 optimized, but if there is demand for it
  230. I might release a Pentium optimized program.
  231.  
  232.  
  233. 2.7 Contacting the Author
  234. -------------------------
  235.  
  236. Any feedback is welcome. You may contact me in any of the following ways:
  237.  
  238. E-mail:         <larso@wmute.trillium.se>
  239. Snail-mail:     Lars Olofsson
  240.                 Molndalsv. 39
  241.                 412 63 Goteborg
  242.                 SWEDEN
  243. Phone:          Nat 031-7739557
  244.                 Int +46-31-7739557
  245. Get PGP-key:    <pgp-larso@wmute.trillium.se>
  246. URL:            http://www.mdstud.chalmers.se:/~md2larso/
  247.  
  248.  
  249. E-mail is always the simplest and the cheapest way to contact me, and I
  250. read my mail at least once every day, so responses should be quite fast.
  251. (and seriously, anyone using this software should have e-mail :-) )
  252.  
  253.  
  254. 3.0 Installation
  255. ----------------
  256.  
  257. These pages are intended as a step-by-step guide to installing this
  258. software. This is of course just one way to do it, and not necessarily
  259. the quickest or the best, but it works for me.
  260.  
  261. You will not be able to get this software running without reading this
  262. fantastic manual.
  263.  
  264. I will hopefully write an installation program, to simplify the setup,
  265. if there is demand for it.
  266.  
  267.  
  268. This is some relatively simple steps you have to take before configuring
  269. this software.
  270.  
  271. Step One: Make sure that your installation of UUPC/Extended is correct.
  272.           The WMServer only runs on systems that has UUPC/Extended for
  273.           OS/2 installed.
  274.  
  275. Step Two: Backup your system.
  276.  
  277. Step Three: Copy both .exe (wmserver.exe and wmsend.exe) files supplied 
  278.             in this package to a directory specified by your PATH
  279.             environment variable.
  280.             A suitable place is where the UUPC/Extended executables
  281.             are placed.
  282.  
  283.             For the each user that will run WMServer create a directory
  284.             called 'wmail', located in the directory specified as
  285.             Home in the users UUPCUSRRC file. This is where logging of
  286.             any activity will be placed.
  287.  
  288. Step Four: Copy WMAIL.DLL to a directory specified by your LIBPATH.
  289.  
  290. Step Five: Edit your UUPCSYSRC and UUPCUSRRC files, so that any
  291.            paths specified in those files contains '\' (backslash)
  292.            instead of the UNIX compatible '/' (slash). No path should
  293.            end with '\' or '/'.
  294.  
  295.            Make sure that the following entries exist in UUPCSYSRC:
  296.            Domain, Maildir, MailExt, ConfDir, TempDir, Rmail, Organization.
  297.  
  298.            Make sure that the following entries exist in any UUPCUSRRC
  299.            files for the user that will use the WMServer software:
  300.            Mailbox,Name,Home,Signature.
  301.  
  302. Step Six:  If you intend to use the fileserver extension, create a directory,
  303.            from now on reffered to as FILESERVDIR, and unzip the 'fileserv.zip'
  304.            file into that directory.
  305.  
  306.            If you intend to use the listserver extension, create a directory,
  307.            from now on reffered to as LISTSERVDIR, and unzip the 'listserv.zip'
  308.            file into that directory.
  309.  
  310. Step Seven: Fileserver: In the FILESERVDIR create a file called
  311.                         'fileserver.ini', which should contain:
  312.  
  313.                         FileDir=path
  314.  
  315.                         where 'path' is the complete path to the root
  316.                         directory where any files available from the
  317.                         fileserver should be located.
  318.  
  319.             Listserver: In LISTSERVDIR create a file for each mailing
  320.                         list you wish to access through WMServer. Each file
  321.                         should be the name of the mailinglist used by
  322.                         WMServer commands, with the extension of '.lst'
  323.                         Such a file should look like:
  324.  
  325.                         File=mailinglistfile
  326.                         Archive=archivefile
  327.  
  328.                         where 'mailinglistfile' is the name of the file
  329.                         where adresses in the mailing list should be stored,
  330.                         and archivefile should be a file where old mail
  331.                         in the list should be stored.
  332.  
  333. Step Eight: FileServer: Copy any files you wish to make available
  334.                         from the fileserver to the directory specified
  335.                         by the 'fileserver.ini' file, and create
  336.                         subdirectories if you wish to do so.
  337.  
  338.             Listserver: Edit the UUPC ALIASES file so that it will
  339.                         support your mailinglists as aliases. Please
  340.                         refer to the UUPC manual for this procedure.
  341.  
  342. Step Nine: This step is described further in 'Running a server' below.
  343.  
  344.            For each server you wish to have running add WMServer to
  345.            your startup folder if you wish to have it running in
  346.            daemon mode, with the following arguments:
  347.  
  348.            wmserver -t time mailbox directory
  349.  
  350.            where 'time' is the interval in minutes between check for new mail
  351.            to process, 'mailbox' is the complete path to the mailbox to
  352.            process, and 'directory' is the complete path to the FILESERVDIR
  353.            or the LISTSERVDIR.
  354.  
  355.            If you only wish to run wmserver when you have polled your
  356.            UUCP host for mail add the following for each server you
  357.            wish to support to the script you execute when polling.
  358.  
  359.            wmserver -o mailbox directory
  360.  
  361.            where 'mailbox' and 'directory' is the same as above.
  362.  
  363.            WMServer will execute for the user set by the environment
  364.            variable UUPCUSRRC, so make sure that it is set to the
  365.            correct user.
  366.  
  367. Step Ten:  Test your system.
  368.  
  369.  
  370. 3.2 Running a server
  371. --------------------
  372.  
  373. To run WMServer, the program should be added to the .CMD
  374. file you execute when sending/receiving mail from your UUCP-host, or
  375. they should be run in the background in daemon mode.
  376.  
  377. The latter method is more useful if you have a lot of local email,
  378. which requires processing all the time, while the former is recommended
  379. if all email is received from another domain.
  380.  
  381. You should change the UUPCUSRRC environment variable to the correct user
  382. before executing WMServer. This is done using the command
  383.  
  384. SET UUPCUSRRC=[path]\[rc file]
  385.  
  386. To add executing of mailservers using WMServer to the script file, write
  387. something like:
  388.  
  389. SET UUPCUSRRC=e:\uupc\daemon.rc
  390. wmserver -o e:\uupc\spool\mail\daemon.mbx e:\uupc\fileserv
  391.  
  392. These commands should be placed _after_ the UUXQT program has been executed.
  393.  
  394. The filename after the '-o' option is the mailbox which should be processed,
  395. and the path following that is the directory where the scripts that may
  396. be executed is located, together with any configuration files for that type
  397. of server.
  398.  
  399. To execute WMServer in daemon mode, you should create a .CMD file
  400. inlcuding something like the follwoing and execute it:
  401.  
  402. SET UUPCUSRRC=e:\uupc\daemon.rc
  403. wmserver -t 5 e:\uupc\spool\mail\daemon.mbx e:\uupc\fileserv
  404.  
  405. where '5' is the time interval in minutes beween checks for new mail
  406. to process. If you wish to run several WMServer for different mailboxes
  407. from the same .CMD file, it could look something like:
  408.  
  409. SET UUPCUSRRC=e:\uupc\daemon1.rc
  410. wmserver -t 5 e:\uupc\spool\mail\daemon1.mbx e:\uupc\fileserv
  411. SET UUPCUSRRC=e:\uupc\daemon2.rc
  412. wmserver -t 5 e:\uupc\spool\mail\daemon2.mbx e:\uupc\listserv
  413. .
  414. .
  415. .
  416.  
  417. It is strongly recommended that you backup any mailboxes before any
  418. of the WMServer programs is executed, expecially while still configuring
  419. the system. If something goes wrong, you might lose e-mail otherwise.
  420. This could be done by adding the something like the following to your
  421. send/receive .CMD file before executing any WMail programs:
  422.  
  423. copy e:\uupc\spool\mail\user.mbx e:\uupc\spool\mail\user.bak
  424.  
  425.  
  426. 4.0 Programs
  427. ------------
  428.  
  429. This section describes the two programs supplied in the WMServer package.
  430.  
  431. 4.1 WMServer
  432. ------------
  433.  
  434. Usage: wmserver [-t time | -o] mailbox directory
  435.  
  436. WMServer is a mailserver program, that will execute REXX scripts,
  437. placed in a particular path. Distributed in the WMail package
  438. is scripts for a fileserver and an email mailing list server.
  439. The administrator of the mailserver may extend or change these
  440. scripts, or write completly new ones, the only limit being the
  441. REXX language.
  442.  
  443. Usage:
  444.                 -o              Process the mailbox once and
  445.                                 exit the program.
  446.  
  447.                 -t time         With this option specified
  448.                                 instead of '-o' the mailbox
  449.                                 is processed once every 'time'
  450.                                 minutes, until aborted. This
  451.                                 is reffered to as 'daemon mode'.
  452.  
  453.                 mailbox         This is the complete filename
  454.                                 of the mailbox to be processed.
  455.  
  456.                 directory       This is the complete path
  457.                                 to the directory where the REXX
  458.                                 scripts to be executed are located.
  459.                                 The script files should be copied
  460.                                 to this directory.
  461.  
  462.  
  463.  
  464. WMServer will treat each line in the body of a letter as a single
  465. command, and execute it from the command line. If a file with the
  466. name specified at the beginning of the line isn't found in the
  467. directory specified nothing will happen. Otherwise the command
  468. is executed. Anything written to standard output by the command
  469. file is included in the reply to the sender.
  470.  
  471. If a line contains '..' '&&' '<' '>' or '|' it will be treated
  472. as an invalid command for security reasons.
  473.  
  474. Processing of lines in the body of a letter will continue until
  475. the command 'END' or '--' is encountered,where the processing
  476. will stop.
  477.  
  478. While a command is executed there will be a file 'user.ini' in
  479. the directory specified on the comamnd line, with these contents:
  480.  
  481. From="Lars Olofsson" <larso@wmute.trillium.se>
  482. ReturnAdress=larso@wmute.trillium.se
  483. Date=Mon, 06 Jun 1994 12:28:59 CED
  484. Subject=GET scijokes.txt
  485. MsgId=<2df2fa6c.diziet@wmute.trillium.se>
  486.  
  487. The 'From=' entry contains the complete 'From:' header in
  488. the letter being processed. 'ReturnAdress=' is where
  489. the reply should be sent. 'Date=' is the 'Date:' header
  490. in the letter. 'Subject=' is the subject of the letter.
  491. 'MsgId' is the id of the letter.
  492.  
  493. This file might be used by the executed REXX script to get
  494. information on the user whose letter is being processed.
  495.  
  496. It is important to note that you have to change hardrive to
  497. the drive where the scripts are located, or they might not
  498. work correctly.
  499.  
  500.  
  501. 4.1 Fileserver Extension
  502. ------------------------
  503.  
  504. Please note that the fileserver extension supplied in this
  505. package requires an external uuencode program. The scripts
  506. are written for 'UUCODE' ver 1.01 by Timo Eronen <tke@utu.fi>,
  507. but you could rewrite the scripts to support another UUENCODE.
  508.  
  509. The follwoing files are included in the fileserver extension
  510. to WMServer (fileserv.zip):
  511.  
  512. help.cmd               
  513. index.cmd
  514. dir.cmd
  515. get.cmd
  516. getf.cmd
  517. zview.cmd
  518. fileserver.ini
  519.  
  520. The 'fileserver.ini' file contains a single entry:
  521.  
  522. FileDir=directory
  523.  
  524. where directory is the complete path to the directory
  525. where files available for request should be located.
  526.  
  527. The 'help.cmd' file simply writes the fileserver help to
  528. standard output, which is piped back into the reply.
  529.  
  530. The 'index.cmd' file types a file called index.txt to
  531. standard output, which is piped back into the reply.
  532. The 'index.txt' file should include a description of
  533. the files available for request from the fileserver, and
  534. any other information you might think of.
  535.  
  536. 'dir.cmd' will produce a directory listing which is
  537. piped into the reply. this command will also take an
  538. argument, which might be the path to a directory located under
  539. the FileDir specified by the fileserver.ini file.
  540.  
  541. 'get.cmd' will take one argument, which is a file located
  542. in the FileDir, and send it back to the adress specified in
  543. the 'user.ini' returnadress entry, using WMSend. If the file
  544. has an extension '.TXT' it won't be uuencoded, otherwise the
  545. file will be returned in uuencoded form.
  546.  
  547. 'getf.cmd' is the same as get, but it will always uuencode
  548. the file being returned.
  549.  
  550. 'zview.cmd' will take one argument, and will display the contents
  551. of a .ZIP file. This requires the use of a unzip program.
  552.  
  553. Please view the contents of these REXX scripts for a deeper
  554. understanding of their function.
  555.  
  556. The body of a sample letter might look like:
  557.  
  558. HELP
  559. DIR
  560. DIR wmail
  561. GET wmail\wm48602.zip
  562. index
  563. ZvIeW wmAil\wm48602.zip
  564. END
  565.  
  566. These are all valid commands (at the filserver reachable as
  567. <filserver@wmute.trillium.se>, where you might request the
  568. WMail package). There is no case sensitivity and please note
  569. that paths should use the DOS or OS/2 backslash instead of
  570. the UNIX slash.
  571.  
  572.  
  573. 4.12 Mailinglist Extension
  574. --------------------------
  575.  
  576. The following files are included in the mailinglist extension
  577. of WMServer (listserv.zip):
  578.  
  579. help.cmd
  580. subscribe.cmd
  581. unsubscribe.cmd
  582. mailbox.cmd
  583. wmail.lst
  584.  
  585. The 'wmserver.lst' is a sample of a mailing list definition file (.lst),
  586. an should contains the following:
  587.  
  588. File=e:\uupc\wmslist
  589. Archive=e:\uupc\wmsllst.mbx
  590.  
  591. The 'File=' entry is the complete filename of the mailing list
  592. file, where all the adresses on the mailing list are stored.
  593. The 'Archive=' entry is where old email for the mailinglist should
  594. be stored.
  595.  
  596. One mailing list definition file should be created for each
  597. mailing list available on your mailing list server. The name
  598. of the mailing list, that should be specified in commands is the
  599. name of mailing list definition file, without the extension.
  600.  
  601. The 'help.cmd' file simply writes the listserver help to standard
  602. output, which is piped back into the reply letter.
  603.  
  604. The 'subscribe.cmd' file takes one argument which is the name of
  605. a mailing list, and adds the return adress to that list.
  606.  
  607. The 'unsubscribe.cmd' command file takes one argument which is
  608. the name of a mailing list, and removes the return adress from
  609. that list.
  610.  
  611. The 'mailbox.cmd' sends all old letters, that are stored in a file
  612. as specified by the 'Archive=' entry in the mailing list definition
  613. file. Please note that adding letters to that file is out of the 
  614. scope of the WMail package, but is easily accomplished by adding
  615. the file name to the mailing list alias, as specified in the
  616. UUPC ALIASES file.
  617.  
  618.  
  619. 4.13 Writing your own scripts
  620. -----------------------------
  621.  
  622. You may alter the scripts supplied in this package as long as
  623. you keep the copyright notice, and add your name and the
  624. date of the modification.
  625.  
  626. You may also freely create new REXX scripts. I intend to keep
  627. those available at <fileserver@wmute.trillium.se>, so if you
  628. do create your own, please email them to me at <larso@wmute.trillium.se>
  629. and I'll make them available at the fileserver. Your own scripts will 
  630. not be distributed with the WMServer package, although you may distribute
  631. them yourselves, such as by the fileserver mentioned above.
  632.  
  633. When writing your own scripts, please bear in mind the security
  634. aspect. Commands should only accept the correct number of arguments,
  635. and should not be able to access anything unwanted on your harddrive,
  636. or any unwanted commands. Although it is quite possible to make a script
  637. RUN that simply takes all arguments and executes them as a OS/2 
  638. command line, it is not recommended.
  639.  
  640. Since REXX may be used for almost anything, such as database access,
  641. there are almost no limits to what kind of script you could create.
  642.  
  643. To get user information for your scripts, the file 'user.ini' is
  644. created in the directory specified when WMServer was invoked. That
  645. is the same directory as the one where the scripts should be
  646. located.
  647.  
  648. If you wish to send a file separately from the reply letter,
  649. use the WMSend program.
  650.  
  651. Make sure that all your scripts terminates. There is no way for
  652. WMServer to check this, so you have to make sure that they do
  653. yourself.
  654.  
  655. If you intend to write your own scripts, please take a look
  656. at those distributed in the WMail package. Consider them examples
  657. of what is possible.
  658.  
  659.  
  660. 4.14 Security
  661. -------------
  662.  
  663. Since there is no file security in OS/2, you have to be careful
  664. when creating new scripts. The scripts supplied in the WMail
  665. package is secure so far, but I make no guarantees, and I take
  666. no responsibility for whatever effect the use of WMServer might
  667. result in.
  668.  
  669. Never place any other executable files or script files in the
  670. directory where the scripts are located. If you do, those
  671. files might be executed when processing a letter, if the
  672. name of the executable appears at the beginning of a line
  673. in the letter.
  674.  
  675. If a line to be executed contains '..' '&&' '<' '>' or '|'
  676. WMServer will send an error message instead of executing
  677. the command.
  678.  
  679.  
  680. 4.2 WMSend
  681. ----------
  682.  
  683. Usage: wmsend file [-s subject] destination
  684.  
  685. WMSend is a simple UUPC RMAIL interface. It is recommended that
  686. it is used together with any WMServer scripts.
  687.  
  688. Usage:          file            This is the name of the file to send.
  689.  
  690.                 -s subject      If this option is specified, subject
  691.                                 will be the subject fo the letter.
  692.  
  693.                 destination     This is the adress(es) to send the
  694.                                 letter to. Any number of adresses
  695.                                 may be specified, up to the length
  696.                                 of the OS/2 command line.
  697.  
  698. WMSend simply invokes the UUPC RMAIL program.
  699.