[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vps-mail] Fwd: Re[2]: [iserver] RE: Spam Recepies?? Razor? ... ISERVER HELP!
- Subject: [vps-mail] Fwd: Re[2]: [iserver] RE: Spam Recepies?? Razor? ... ISERVER HELP!
- From: Abigail Marshall <abigail@xxxxxxxxxxxx>
- Date: Mon, 3 May 2004 04:39:56 -0700
OK, by popular demand, here is a revised tutorial for
activating RBL Checks with Spamassassin. This has
instructions for both VPS1 / VPS2 platforms.
-Abigail
--------------------------------------------------
TUTORIAL:
Running RBL checks in SpamAssassin 2.5x / 2.6x:
STEP 1: is you have to make sure that the Net::DNS::Resolver is
installed.
Run the following command in shell:
VPS1:
% virtual spamassassin -D --lint
VPS2:
% 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:
VPS1:
% unlimit
% vcpan Net::DNS
VPS2:
%perl -MCPAN -e 'install Net::DNS'
After you do this, run the -D --lint tests again to make
sure the Net::DNS module is now correctly installed.
STEP 2:
VPS1:
% cd ~/usr/local/share/spamassassin
VPS2:
% 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.)
If you are running spamd, then you need to restart it for
changes to the local.cf file to take effect.
======================================================================
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