-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aca007b
commit f486563
Showing
3 changed files
with
402 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Oops, something went wrong.