[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vps-mail] Re: Weekend project; Upgrade spamassassin?
- Subject: [vps-mail] Re: Weekend project; Upgrade spamassassin?
- From: Abigail Marshall <webmaster@xxxxxxxxxxxx>
- Date: Mon, 16 Feb 2004 13:40:06 -0800
Hello Tim,
Sunday, February 15, 2004, 2:28:00 AM, you wrote:
TG> Any chance that you could share with us, as to how you have set up the
TG> RBL checks via spamassassin.
OK, all instructions here are for a VPS1.
STEP 1: is you have to make sure that the Net::DNS::Resolver is
installed.
So on a VPS1, you run the following command in shell:
% virtual spamassassin -D --lint
This will give you a report as to what is running o.k., and
what has problems.
If you don't have Net::DNS then do this:
% unlimit
% vcpan Net::DNS
After you do this, run the -D --lint tests again to make
sure everything is now correctly installed.
STEP 2:
% cd ~/usr/local/share/spamassassin
You will find all the tests that Spamassassin is configured
to run in the file: 20_dnsbl_tests.cf
You can see which tests are active and how they are scored
with this command:
% fgrep RCVD_IN 50_scores.cf
If a score is set to 0 that means that the RBL is currently
disabled. If you want to enable or disable a specific test,
edit your ~/etc/mail/spamassassin/local.cf file to change
the score.
For example, my local.cf has these commands:
score RCVD_IN_BL_SPAMCOP_NET 4.50
# This activates and assigns a high score to Spamcop
score RCVD_IN_SBL 0
# This turns off the checks for the Spamhaus block list
(Note: The reason I turned this off is that I am running
a check for this particular RBL via sendmail, rather
than spamassassin)
You will need to do your own research and monitoring to
gauge reliability of various blocklists for your users.
If you want to add a blocklist that isn't already listed in
the 20_dnsbl_tests.cf, you can use this syntax.
header RCVD_IN_EASYBLACK rbleval:check_rbl('EASYBLACK', 'blackholes.easynet.nl')
describe RCVD_IN_EASYBLACK Appears in blackholes easynet
tflags RCVD_IN_EASYBLACK net
score RCVD_IN_EASYBLACK 1.0
(DON'T COPY the above recipe exactly. The EASYBLACK
RBL's shut down effective 12/1/03 - so this is a dead
recipe. But the syntax would be the same for any
list.)
NOTE TO SCOTT: Hey look, I just wrote a good tutorial! I
don't want to have to write it again, so I hereby grant you
all appropriate rights to steal it, make whatever changes
and additions you want, and post it at:
http://perlcode.org/tutorials/spamassassin/
-Abigail
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index