You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Leigh Sharpe <ls...@pacificwireless.com.au> on 2007/07/05 09:06:22 UTC

Choosing score set in amavisd-new

Hi all,
I've just installed a virgin debian 4.0 with spamassassin and
amavisd-new. I have 
 
 $sa_local_tests_only=0; in /etc/amavis/conf.d/20-debian_defaults
and
skip_rbl_checks 0 in  /etc/mail/spamassassin/local.cf 
 
Yet for some reason, when I run spamassassin -D --lint, I get these
lines:
 
[12337] dbg: pyzor: local tests only, disabling Pyzor
[12337] dbg: plugin: registered
Mail::SpamAssassin::Plugin::Pyzor=HASH(0x9597ba0)
[12337] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from
@INC
[12337] dbg: razor2: local tests only, skipping Razor
[12337] dbg: plugin: registered
Mail::SpamAssassin::Plugin::Razor2=HASH(0x955f27c)
[12337] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from
@INC
[12337] dbg: reporter: local tests only, disabling SpamCop
[12337] dbg: plugin: registered
Mail::SpamAssassin::Plugin::SpamCop=HASH(0x9561b44)

As well as "Score set 0 chosen".
Can anybody tell me where I might have missed a config to use a
different score set? I want to use all the network tests.
 
Regards,
             Leigh
 
Leigh Sharpe
Network Systems Engineer
Pacific Wireless
Ph +61 3 9584 8966
Mob 0408 009 502
Helpdesk 1300 300 616
email lsharpe@pacificwireless.com.au
web www.pacificwireless.com.au
 


Re: Choosing score set in amavisd-new

Posted by Matt Kettler <mk...@verizon.net>.
Leigh Sharpe wrote:
> Hi all,
> I've just installed a virgin debian 4.0 with spamassassin and
> amavisd-new. I have
>  
>  $sa_local_tests_only=0; in /etc/amavis/conf.d/20-debian_defaults
> and
> skip_rbl_checks 0 in  /etc/mail/spamassassin/local.cf
>  
> Yet for some reason, when I run spamassassin -D --lint, I get these lines:
--lint implies local-only. Network tests will never be enabled when you
do this, as lint is intended to check your config files for syntax
errors. Enabling network tests just wastes time.

Try again using spamassassin -D <sample-spam.txt

>  
> [12337] dbg: pyzor: local tests only, disabling Pyzor
> [12337] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::Pyzor=HASH(0x9597ba0)
> [12337] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> [12337] dbg: razor2: local tests only, skipping Razor
> [12337] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::Razor2=HASH(0x955f27c)
> [12337] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
> [12337] dbg: reporter: local tests only, disabling SpamCop
> [12337] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::SpamCop=HASH(0x9561b44)
> As well as "Score set 0 chosen".
> Can anybody tell me where I might have missed a config to use a
> different score set? I want to use all the network tests.



Re: Choosing score set in amavisd-new

Posted by LEVEAU Stanislas <st...@ac-caen.fr>.
Hi

If you want to use Razor DCC Pyzor with spamassassin your oblige to have 
$sa_local_tests_only=0; in amavisd.conf

# SpamAssassin settings

# $sa_local_tests_only is passed to Mail::SpamAssassin::new as a value
# of the option local_tests_only. See Mail::SpamAssassin man page.
# If set to 1, SA tests are restricted to local tests only, i.e. no tests
# that require internet access will be performed.
#
$sa_local_tests_only = 0;   # (default: false)



_And in local.cf in spamassassin_
for activate the module

use_razor2 1
use_dcc 1
use_pyzor 1

and change the score

score RAZOR2_CHECK 6
score DCC_CHECK 6

Regards
Stan


Leigh Sharpe a écrit :
> Hi all,
> I've just installed a virgin debian 4.0 with spamassassin and 
> amavisd-new. I have
>  
>  $sa_local_tests_only=0; in /etc/amavis/conf.d/20-debian_defaults
> and
> skip_rbl_checks 0 in  /etc/mail/spamassassin/local.cf
>  
> Yet for some reason, when I run spamassassin -D --lint, I get these 
> lines:
>  
> [12337] dbg: pyzor: local tests only, disabling Pyzor
> [12337] dbg: plugin: registered 
> Mail::SpamAssassin::Plugin::Pyzor=HASH(0x9597ba0)
> [12337] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> [12337] dbg: razor2: local tests only, skipping Razor
> [12337] dbg: plugin: registered 
> Mail::SpamAssassin::Plugin::Razor2=HASH(0x955f27c)
> [12337] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
> [12337] dbg: reporter: local tests only, disabling SpamCop
> [12337] dbg: plugin: registered 
> Mail::SpamAssassin::Plugin::SpamCop=HASH(0x9561b44)
> As well as "Score set 0 chosen".
> Can anybody tell me where I might have missed a config to use a 
> different score set? I want to use all the network tests.
>  
> Regards,
>              Leigh
>  
> Leigh Sharpe
> Network Systems Engineer
> Pacific Wireless
> Ph +61 3 9584 8966
> Mob 0408 009 502
> Helpdesk 1300 300 616
> email lsharpe@pacificwireless.com.au 
> <bl...@pacificwireless.com.au>
> web www.pacificwireless.com.au 
> <blocked::http://www.pacificwireless.com.au/>
>  

-- 
*LEVEAU Stanislas**
*Rectorat de Caen
SIAC
168, rue Caponière
B.P. 6184
14061 CAEN Cedex
	/

Service Informatique de l'académie de Caen
Département Systèmes & Réseaux/


 Tel : 02.31.30.17.86