How to set up Spam Assassin
Spam Assassin is now installed and working on the server. It takes a little
getting used to and a little work to get it to learn what is spam and what is
ham. Ham is good mail.
Spam Assassin is set up for every mail name separately. You train spam
assassin for every mail name and set up personal white and black lists for each
mail name as well. So what you do to one email account doesn't affect other
email accounts even in the same domain name.
There is a Global
whitelist and global blacklist, but there is very little in them except my email
address so it can't get blocked when I email you as a client.
The filter works on 2 principles. With a Hit number and a Bayesian Filter. When
you first use the filter there are standard built in filters that give an email
hits. If the hit totals exceed the number you set, the email is considered spam.
Positive numbers are spam filters and negative numbers are ham filters. Though
there are only few ham filters in the package.
After you classify 200 emails as spam and 200 emails as ham, the Bayesian
filter starts working, learning from which mails you mark spam & which you mark
ham in the Training page.
VERY IMPORTANT (if you skim this part and you might as well not use the
filter!) : When Training your Bayesian Filter, be careful
what you classify spam and ham. Don't just use your personal preferences
on mail you don't want to get, but be sure it's really spam. And example of what
not to mark spam is an email from a mail list you signed up with but no longer
like. Go unsubscribe. And don't mark a link request from someone you don't like
or is sending you one a week, as you should blacklist their email address
instead. Since the format of these types of messages is a pattern
that looks like ham, and you mark it spam, you will pollute your Bayesian
filter. You want to mark real unsolicited emails as spam, the ones that come out
of no where and fill you mail box with medication, sex, watch and other stupid
offers. If at any time you can't decided if an email is spam or ham, use
the forget box to mark the message. Also you must mark the messages and
click ok before you download them or they won't be in the training section for
the Bayesian filter to learn.
ALSO!: If you set the filter to delete spam, it's gone forever. There is
no place to go get it back or see what it killed. It's gone, good bye, can't see
it anymore, actually you never see it, as it's killed when it comes in your mail
account.
1) Turn on Spam Assassin: Go to one of your mail name screens and click on the Mail icon. Look at the bottom of that screen and you will see a checkbox to activate Spam Assassin for that mail name. It is labeled Enable spam filtering. Click ok and you are taken back to that specific mail name screen.
2) Set up Spam Assassin: Still in the same mail name screen from
above, click on the Spam Assassin icon.
A) Jump down to Personal settings section.
2) Black List & White List: Here you can add email addresses that
you wish to always include (white list) or always exclude (black list). These
steps are just a matter of entering an email address and hitting Add or
highlighting one and hitting Remove. Wild cards are accepted. For
example one of my favorite wild cards for my black lists is paypal@*
which blacklists any email from paypal@anythingatall.anytld
You blacklist or white list an entire domain with *@somedomain.com, which
will include anynameatall@somedomain.com. A broader use of wild cards is
another favorite of mine *confirm@*, which includes any email address at
all that contains the phrase "confirm" as the user part of an email
address. Phishing scammers love to use things like aw-confirm@ebay.com or
confirm@paypal.com and this one catches them all! Be creative, but
be careful, as wild cards are powerful.
3) Training the Bayesian Filter: Now comes the fun part. It's not hard, just gets a little time consuming, and again, it must be done for every mail name. This training is not universal. This is a good reason to use aliases to point to one real mail name. Not only do you only have to check only one mail account, but the filters work then across all the aliases for that mail name.
Additional Resources: I have a nice blacklist of typical spammers email patterns that can be obtained by emailing me. Also I have about 300 spam messages saved that I can send to you so you can train your Bayesian filter very rapidly. You can just forward yourself ham message to train the filter by just sending about 200 saved good mails back to yourself! It works better the more ham you send yourself. 500 to 1000 good ham messages will set the filter correctly to email you typically receive. You can have it all trained in less than an hour. You will just get tired going thru hundreds of spams and hams marking them in the training section, but it really works well once trained.