You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ron McKeating <R....@lboro.ac.uk> on 2005/02/09 11:17:19 UTC

surbl errors

Hi, we are running SA 3 and using surbl. We wanted to change the score
on the default rules so we put 

# Alter scores for things found in blacklists

score URIBL_AB_SURBL 5.0
score URIBL_OB_SURBL 5.0
score URIBL_PH_SURBL 5.0
score URIBL_SBL 5.0
score URIBL_SC_SURBL 5.0
score URIBL_WS_SURBL 5.0

in the local.cf.

This works and entries in the log show that spams are getting these
scores, but if we do

/usr/bin/spamassassin --lint -C local.cf

I get

warning: score set for non-existent rule URIBL_SC_SURBL
warning: score set for non-existent rule URIBL_WS_SURBL
warning: score set for non-existent rule URIBL_AB_SURBL
warning: score set for non-existent rule URIBL_SBL
warning: score set for non-existent rule URIBL_OB_SURBL
warning: score set for non-existent rule URIBL_PH_SURBL
lint: 6 issues detected.  please rerun with debug enabled for more
information.

anybody tell me what I'm doing wrong?

Ron


Re: surbl errors

Posted by Ron McKeating <R....@lboro.ac.uk>.
On Wed, 2005-02-09 at 10:32 +0000, Dennis Davis wrote:
> On Wed, 9 Feb 2005, Ron McKeating wrote:
> 
> > From: Ron McKeating <R....@lboro.ac.uk>
> > To: spam <sp...@incubator.apache.org>
> > Date: Wed, 09 Feb 2005 10:17:19 +0000
> > Subject: surbl errors
> > 
> > Hi, we are running SA 3 and using surbl. We wanted to change the score
> > on the default rules so we put 
> > 
> > # Alter scores for things found in blacklists
> > 
> > score URIBL_AB_SURBL 5.0
> > score URIBL_OB_SURBL 5.0
> > score URIBL_PH_SURBL 5.0
> > score URIBL_SBL 5.0
> > score URIBL_SC_SURBL 5.0
> > score URIBL_WS_SURBL 5.0
> > 
> > in the local.cf.
> > 
> > This works and entries in the log show that spams are getting these
> > scores, but if we do
> > 
> > /usr/bin/spamassassin --lint -C local.cf
> > 
> > I get
> > 
> > warning: score set for non-existent rule URIBL_SC_SURBL
> > warning: score set for non-existent rule URIBL_WS_SURBL
> > warning: score set for non-existent rule URIBL_AB_SURBL
> > warning: score set for non-existent rule URIBL_SBL
> > warning: score set for non-existent rule URIBL_OB_SURBL
> > warning: score set for non-existent rule URIBL_PH_SURBL
> > lint: 6 issues detected.  please rerun with debug enabled for more
> > information.
> > 
> > anybody tell me what I'm doing wrong?
> 
> Surely it's ignoring all the distributed rules?  From the man page for 
> spamassassin:
> 
>        -C path, --configpath=path, --config-file=path
>            Use the specified path for locating the distributed
>            configuration files.  Ignore the default directories
>            (usually "/usr/share/spamassassin" or similar).

Ah! I see, so/usr/bin/spamassassin --lint --config-
file=/usr/share/spamassassin/

works with no errors

Ron


Re: surbl errors

Posted by Martin Hepworth <ma...@solid-state-logic.com>.
Ron

you don't need the -C option in order to pick up the local.cf, it will 
try nad inclide that file by default.

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300


Dennis Davis wrote:
> On Wed, 9 Feb 2005, Ron McKeating wrote:
> 
> 
>>From: Ron McKeating <R....@lboro.ac.uk>
>>To: spam <sp...@incubator.apache.org>
>>Date: Wed, 09 Feb 2005 10:17:19 +0000
>>Subject: surbl errors
>>
>>Hi, we are running SA 3 and using surbl. We wanted to change the score
>>on the default rules so we put 
>>
>># Alter scores for things found in blacklists
>>
>>score URIBL_AB_SURBL 5.0
>>score URIBL_OB_SURBL 5.0
>>score URIBL_PH_SURBL 5.0
>>score URIBL_SBL 5.0
>>score URIBL_SC_SURBL 5.0
>>score URIBL_WS_SURBL 5.0
>>
>>in the local.cf.
>>
>>This works and entries in the log show that spams are getting these
>>scores, but if we do
>>
>>/usr/bin/spamassassin --lint -C local.cf
>>
>>I get
>>
>>warning: score set for non-existent rule URIBL_SC_SURBL
>>warning: score set for non-existent rule URIBL_WS_SURBL
>>warning: score set for non-existent rule URIBL_AB_SURBL
>>warning: score set for non-existent rule URIBL_SBL
>>warning: score set for non-existent rule URIBL_OB_SURBL
>>warning: score set for non-existent rule URIBL_PH_SURBL
>>lint: 6 issues detected.  please rerun with debug enabled for more
>>information.
>>
>>anybody tell me what I'm doing wrong?
> 
> 
> Surely it's ignoring all the distributed rules?  From the man page for 
> spamassassin:
> 
>        -C path, --configpath=path, --config-file=path
>            Use the specified path for locating the distributed
>            configuration files.  Ignore the default directories
>            (usually "/usr/share/spamassassin" or similar).

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.

**********************************************************************


Re: surbl errors

Posted by Dennis Davis <D....@bath.ac.uk>.
On Wed, 9 Feb 2005, Ron McKeating wrote:

> From: Ron McKeating <R....@lboro.ac.uk>
> To: spam <sp...@incubator.apache.org>
> Date: Wed, 09 Feb 2005 10:17:19 +0000
> Subject: surbl errors
> 
> Hi, we are running SA 3 and using surbl. We wanted to change the score
> on the default rules so we put 
> 
> # Alter scores for things found in blacklists
> 
> score URIBL_AB_SURBL 5.0
> score URIBL_OB_SURBL 5.0
> score URIBL_PH_SURBL 5.0
> score URIBL_SBL 5.0
> score URIBL_SC_SURBL 5.0
> score URIBL_WS_SURBL 5.0
> 
> in the local.cf.
> 
> This works and entries in the log show that spams are getting these
> scores, but if we do
> 
> /usr/bin/spamassassin --lint -C local.cf
> 
> I get
> 
> warning: score set for non-existent rule URIBL_SC_SURBL
> warning: score set for non-existent rule URIBL_WS_SURBL
> warning: score set for non-existent rule URIBL_AB_SURBL
> warning: score set for non-existent rule URIBL_SBL
> warning: score set for non-existent rule URIBL_OB_SURBL
> warning: score set for non-existent rule URIBL_PH_SURBL
> lint: 6 issues detected.  please rerun with debug enabled for more
> information.
> 
> anybody tell me what I'm doing wrong?

Surely it's ignoring all the distributed rules?  From the man page for 
spamassassin:

       -C path, --configpath=path, --config-file=path
           Use the specified path for locating the distributed
           configuration files.  Ignore the default directories
           (usually "/usr/share/spamassassin" or similar).
-- 
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis@bath.ac.uk               Phone: +44 1225 386101