home *** CD-ROM | disk | FTP | other *** search
- This is the voting software I used on comp.security.misc
- I make no guarantees or warranties...but it worked for
- me. It is written in PERL...if you don't have that then
- you're on your own to get it.
-
- [*] OVERVIEW
-
- This software is designed to sit at the end of an alias pipe
- from some mailer. It recieves mail messages and attempts to
- parse a reasonable vote out of them. Whether it finds a vote
- or not it sends a reply back to the voter informing him/her
- of what (if anything) it was able to do.
-
- [*] WHAT'S HERE
-
- I left it tailored for the last vote so you could see what I did
- more clearly. Here are the files in this distribution:
-
- acknowledge - The automatic acknowledgement that is sent
- a voter via email.
-
- cfv.config - Most all the configuration data is in here
-
- cfv_handler.pl - This is the handler for incoming mail. Look
- inside it to configure it for the path name of the
- above file.
-
- official - Used to do an official tally of votes.
-
- refused - Sent to voter when a vote is refused for some reason
-
- [*] CONFIGURATION
-
- Edit the cfv_handler.pl file to suit your needs. Everything is
- self explanatory. You'll probably find that the current patterns
- are ok, feel free to add more according to your needs.
-
- [*] INSTALLATION
-
- Since (for some reason - if you find out please let ME know)
- sendmail aliases can be almost any uid, a setuid program is needed
- to avoid making the vote data world writable. The "makeme" script
- (I *really* didn't want to use 'make') will do this in two
- ways:
-
- "makeme static" will only work if you have a statically linked
- PERL binary in this directory AND an "undump" for your system
- somewhere in your path. This is the "preferred" way to make a
- setuid perl program.
-
- "makeme" will make a C wrapper around the program. Make sure that
- if you do it this way that you don't decide to move this directory
- to somewhere else without rerunning "makeme".
-
- Once that is done, a binary called "cfv_handler" should be resident
- in this directory. Next decide upon an alias for your vote and do
- this in your /etc/aliases file:
-
- vote_address: "| <your directory>/cfv_handler"
-
- [*] TRIVIA
-
- Any problems, bugs, or enhancements should be sent to dave@elxr.jpl.nasa.gov...
- as this is pretty trivial code I have no problem supporting it.
-
-
-
-