home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume30 / netvote / part01 / single / README < prev    next >
Text File  |  1992-06-19  |  2KB  |  68 lines

  1. This is the voting software I used on comp.security.misc 
  2. I make no guarantees or warranties...but it worked for 
  3. me. It is written in PERL...if you don't have that then
  4. you're on your own to get it. 
  5.  
  6. [*] OVERVIEW
  7.  
  8. This software is designed to sit at the end of an alias pipe
  9. from some mailer. It recieves mail messages and attempts to
  10. parse a reasonable vote out of them. Whether it finds a vote
  11. or not it sends a reply back to the voter informing him/her
  12. of what (if anything) it was able to do.
  13.  
  14. [*] WHAT'S HERE
  15.  
  16. I left it tailored for the last vote so you could see what I did
  17. more clearly. Here are the files in this distribution:
  18.  
  19. acknowledge - The automatic acknowledgement that is sent
  20.     a voter via email.
  21.  
  22. cfv.config - Most all the configuration data is in here
  23.  
  24. cfv_handler.pl - This is the handler for incoming mail. Look
  25.     inside it to configure it for the path name of the 
  26.     above file. 
  27.  
  28. official - Used to do an official tally of votes.  
  29.  
  30. refused - Sent to voter when a vote is refused for some reason
  31.  
  32. [*] CONFIGURATION
  33.  
  34. Edit the cfv_handler.pl file to suit your needs. Everything is 
  35. self explanatory. You'll probably find that the current patterns
  36. are ok, feel free to add more according to your needs.
  37.  
  38. [*] INSTALLATION
  39.  
  40. Since (for some reason - if you find out please let ME know) 
  41. sendmail aliases can be almost any uid, a setuid program is needed
  42. to avoid making the vote data world writable. The "makeme" script
  43. (I *really* didn't want to use 'make') will do this in two 
  44. ways:
  45.  
  46. "makeme static" will only work if you have a statically linked
  47. PERL binary  in this directory AND an "undump" for your system 
  48. somewhere in your path. This is the "preferred" way to make a 
  49. setuid perl program.
  50.  
  51. "makeme" will make a C wrapper around the program. Make sure that
  52. if you do it this way that you don't decide to move this directory
  53. to somewhere else without rerunning "makeme".
  54.  
  55. Once that is done, a binary called "cfv_handler" should be resident
  56. in this directory. Next decide upon an alias for your vote and do
  57. this in your /etc/aliases file:
  58.  
  59. vote_address: "| <your directory>/cfv_handler"
  60.  
  61. [*] TRIVIA
  62.  
  63. Any problems, bugs, or enhancements should be sent to dave@elxr.jpl.nasa.gov...
  64. as this is pretty trivial code I have no problem supporting it.
  65.  
  66.  
  67.  
  68.