Note: of course everyone is welcome to look at this page. However, the information contained here is very technical and is useful to moderators only.
Moderation software uses PGP to ensure security of transmission of articles between algebra.com and human moderators. Moderators will be given public key of the moderation system, with the private key residing in scrm@algebra.com account. Potential crackers might want to know that No sensitive or any other data is permanently encrypted with this key and that it is used for transmission of articles only.
Moderators must ensure that they do not divulge the public key: possession of such public key is technically equivalent to privileges of a moderator. Moderators, please issue the following command immediately after you add the SCRM public key to your keyring:
chmod 700 $HOME/.pgpModerators need not be experts in using PGP, and you can forget about it after you've set it up: it will be used by moderation scripts internally.
Click here to get info where to get PGP, users' guide, etc.
Your Goal:
You can find procmail at ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/procmail.tar.gz
Procmail has documentation that you can view with man command, or with nroff. There is a number of things that you can do with procmail, but the core of what I want from you is very simple.
WARNING: please make sure that after you install procmail and create $HOME/.forward file you are able to receive mail. PLEASE SEND A TEST MAIL TO YOURSELF.
mkdir $HOME/Mail chmod 700 $HOME/Mail cat > $HOME/.procmailrc << _EOB_ # Please check if all the paths in PATH are reachable, remove the ones that # are not. PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:. MAILDIR=$HOME/Mail # You'd better make sure it exists DEFAULT=$MAILDIR/mbox LOGFILE=$MAILDIR/from LOCKFILE=$HOME/.lockmail :0 # Messages for moderation * ^X-Moderate-For: soc\.culture\.russian\.moderated $MAILDIR/scrm.incoming # go to $HOME/Mail/scrm.incoming # Anything that has not been delivered by now will go to $DEFAULT # using LOCKFILE=$DEFAULT$LOCKEXT _EOB_Edit file $HOME/.procmailrc and make sure that all elements of path exist. Note that after you install .forward file (not yet!) all mail will NOT be delivered to your system mailbox, but will go to file $HOME/Mail/mbox.
cat > $HOME/.forward << _EOB_ "|IFS=' ' && exec /path/to/procmail -f- || exit 75 # yourusername" _EOB_Note: you should replace /path/to/procmail with the actual path to the procmail binary.
You may want to edit your .profile or .login file (depending on your shell) and set MAIL environment variable to me $HOME/Mail/mbox.
Bourne shell: MAIL=$HOME/Mail/mbox export MAIL C shell setenv MAIL $HOME/Mail/mboxImmediately after that, make sure that you can receive email: send a test email to yourself:
echo http://www.wetware.com/mlegare/winnersk96.html | mail `whoami`and make sure you receive it. If you do not, it means that others cannot send email to you! Check contents of file $HOME/Mail/mbox. If something does not work, it is a fairly urgent matter and you can give me a call at home, but try to do your part first.
Check both .forward and .procmailrc and make sure that all file names point to correct files.
approve
and reject
. Grab text from
this link and save it to file `approve'.
Then grab file from this link and save it to
file `reject'. Do NOT forget to make both files executable.