Rsync Configuration
All things rsync currently live on rsync.spamassassin.org under the /home/corpus-rsync directory. There's really 2 types of users for rsync: nightly result submitters, and score generation result submitters. The process of adding an account is the same for both, just using a different file for authorization. Use "sudo" to access the files.
- Determine the username for the requestor. We typically use first initial/last name.
Come up with a random password. Something like [http://www.adel.nursat.kz/apg/online/index.php APG] can help.
- Put the "username:password" pair in the appropriate file.
- Mail the user a non-descript message with the username and password in it.
sudo vi /home/corpus-rsync/secrets [add a line to the end like "username:3498fgdio"
Nightly submitters get added to the "secrets" file, and also add their real name and email to the file "result-acct". When preparing for a score generation run, overwrite the "secrets-submit" file with the "secrets" file:
sudo cp /home/corpus-rsync/secrets /home/corpus-rsync/secrets-submit sudo chmod 600 /home/corpus-rsync/secrets-submit
and add anyone else who is only interested in score generation. At the end of the score generation run, the "secrets-submit" file ought to be truncated ala "cat /dev/null > secrets-submit".