Skip to content

Commit

Permalink
Upgrade from v3.06 to v4.02
Browse files Browse the repository at this point in the history
  • Loading branch information
iandouglas committed May 4, 2014
1 parent aca007b commit f486563
Show file tree
Hide file tree
Showing 3 changed files with 402 additions and 368 deletions.
44 changes: 16 additions & 28 deletions README
Original file line number Diff line number Diff line change
@@ -1,38 +1,26 @@
You can run a "Build your own SpamAssassin Trainer Script" wizard
at http://iandouglas.com/spamassassin-trainer/

This script setup is meant for people who are on shared hosting
accounts with services who offer cPanel. Up until about late 2010,
cPanel didn't give you the means to train your own SpamAssassin
tokens for locally-hosted mailboxes, so I wrote a very simple
script that you can call from your cgi-bin folder which will scan
for your mailboxes and train SpamAssassin for you, which should
give you a *dramatic* reduction of spam in your inbox.
## Background
This script setup is meant for people who are on shared hosting accounts with services who offer cPanel, although with some editing, you can adapt this to run on a virtual private server as well.

Full documentation can be found at the URL above if you want to
tweak the script yourself. There are also heavy amounts of
commenting in the Perl script itself.
Up until about late 2010, cPanel didn't give you the means to train your own SpamAssassin tokens for locally-hosted mailboxes, so I wrote a very simple script that you can call from your cgi-bin folder which will scan for your mailboxes and train SpamAssassin for you, which should give you a *dramatic* reduction of spam in your inbox.

I am available for support if you need assistance with the setup
of the script.
## Documentation
There are also heavy amounts of commenting in the Perl script itself, but more background, etc., can be found at http://iandouglas.com

## Support
I am available for support if you need assistance with the setup of the script, via paid one-on-one coaching via Google Helpouts.

Configuration
## Configuration

There are only two things you need to change in the Perl script
and only one change in the user_prefs file.
There are only two things you need to change in the Perl script and only one change in the user_prefs file:

In the CGI script, you will need to configure your domain name
and cPanel username where noted. In the user_prefs file, there's
a place where you need to enter your cpanel username.
- In the CGI script, you will need to configure your domain name and cPanel username where noted.

- In the user_prefs file, there's a place where you need to enter your cpanel username.

Installation
## Installation

sa-trainer.cgi
Place this file into your public_html/cgi-bin folder and set its
permissions to 755
- sa-trainer.cgi
Place this file into your public_html/cgi-bin folder and set its permissions to 755

user_prefs
Place this file into your home directory in a subfolder called
".spamassassin" (with the preceeding period in the filename)
- user_prefs
Place this file into your home directory in a subfolder called ".spamassassin" (with the preceeding period in the filename)
Loading

0 comments on commit f486563

Please sign in to comment.