Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.SSH into sa-vm.apache.org and run sudo vi /usr/local/spamassassin/automc/rsync/secrets.

  1. Determine the username for the requestorrequester. We typically use first initial/last name.
  2. Wiki MarkupCome up with a random password. Something like \[http://www.adel.nursat.kz/apg/online/index.php APG\] can apg (available in most Linux distros, or in Homebrew for Mac) can help.
  3. Put the "username:password" pair in the appropriate secrets file.
  4. Mail the user a non-descript message with the username and password in it.
No Format
sudo vi /home/corpus-/usr/local/spamassassin/automc/rsync/secrets
[add a line to the end like "username:3498fgdio3X498Qfgd4ioT2jE"

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:

No Format

sudo cp /home/corpus-rsync/secrets /home/corpus-rsync/secrets-submit
sudo chmod 600 /home/corpus-rsync/secrets-submit

1.#4 Subscribe the user to the RuleQA mailing list - a remote administrator needs to send an email by with '=' instead of '@') after the command word - `<ruleqa-subscribe-john=host.domain@spamassassin.apache.org>`. A remote administrator can then confirm the subscription.

NOTE: If you are not a remote administrator, you can email the mailing list owners to perform the task by sending an email to ruleqa-owner@spamassassin.apache.org.

  1. Mail the user a message with the username and password in it.


Sample Message

Thank you for your interest in helping the Apache SpamAssassin Project with our RuleQA via the Nightly Mass Check.

Your rsync username is XXX, your password is XXX

The wiki at https://wiki.apache.org/spamassassin/NightlyMassCheck has some good instructions to get you started!

And if you have any questions, you've been added to the RuleQA Mailing list. You can post a question by emailing ruleqa@spamassassin.apache.org 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".