pyzor, razor keeps disabled in Spamassassin 3.1.7-1!

Got SA issues? Post here.

Moderators: Admins, Forum Moderator

pyzor, razor keeps disabled in Spamassassin 3.1.7-1!

Postby h2t » Fri Nov 17, 2006 5:01 pm

Hi all,

today I have tried to setup a new Spam Gateway server using the latest document available at http://www200.pair.com/mecham/spam/spamfilter20060701.html

So far so good but when I tried to test the spamassassin I get the warnig /error that pyzor, razor, awl and dcc are disabled. In the local.cf file all the plugin is enabled (unquoted!).
See the logging below:

[8197] dbg: plugin: loading Mail::SpamAssassin::Plugin::DCC from @INC
[8197] dbg: dcc: local tests only, disabling DCC
[8197] dbg: plugin: registered Mail::SpamAssassin::Plugin::DCC=HASH(0x95b5c70)
[8197] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[8197] dbg: pyzor: local tests only, disabling Pyzor
[8197] dbg: plugin: registered Mail::SpamAssassin::Plugin::Pyzor=HASH(0x95d4e50)
[8197] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[8197] dbg: razor2: local tests only, skipping Razor
[8197] dbg: plugin: registered Mail::SpamAssassin::Plugin::Razor2=HASH(0x95e9950)
[8197] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
[8197] dbg: reporter: local tests only, disabling SpamCop


Somebody has the same experience?

Any help will be appreciated!

Thanks.

H2T
h2t
 
Posts: 20
Joined: Wed Oct 11, 2006 5:40 am
Location: NL

Postby mr88talent » Fri Nov 17, 2006 6:38 pm

In amavisd.conf, check this setting, it should be zero:

$sa_local_tests_only = 0;

then
amavisd-new reload
User avatar
mr88talent
Moderator
 
Posts: 1672
Joined: Tue Mar 08, 2005 4:19 pm
Location: Salt Lake City

Postby h2t » Sat Nov 18, 2006 2:30 pm

Hi Mr88talent,

Yes that parameter has already the value 0 by default. I haven't change that!
I have tried to reload amavisd-new but still the same result!
Did I missed something?

Regards,

H2T
h2t
 
Posts: 20
Joined: Wed Oct 11, 2006 5:40 am
Location: NL

Postby mr88talent » Sat Nov 18, 2006 3:18 pm

In the local.cf file all the plugin is enabled (unquoted!).
Do you mean init.pre or v310.pre? Plugins do not go in local.cf.

Maybe you should show contents of v310.pre and local.cf
User avatar
mr88talent
Moderator
 
Posts: 1672
Joined: Tue Mar 08, 2005 4:19 pm
Location: Salt Lake City

Postby h2t » Sat Nov 18, 2006 3:34 pm

Mr88talent,

Her is my config file;

/etc/spamassassin/init.pre:
# URIDNSBL - look up URLs found in the message against several DNS
# blocklists.
#
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL

# Hashcash - perform hashcash verification.
#
loadplugin Mail::SpamAssassin::Plugin::Hashcash

# SPF - perform SPF verification.
#
loadplugin Mail::SpamAssassin::Plugin::SPF


/etc/spamassassin/v310.pre

# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
# This file was installed during the installation of SpamAssassin 3.1.0,
# and contains plugin loading commands for the new plugins added in that
# release. It will not be overwritten during future SpamAssassin installs,
# so you can modify it to enable some disabled-by-default plugins below,
# if you so wish.
#
###########################################################################

# DCC - perform DCC message checks.
#
# DCC is disabled here because it is not open source. See the DCC
# license for more details.
#
loadplugin Mail::SpamAssassin::Plugin::DCC

# Pyzor - perform Pyzor message checks.
#
loadplugin Mail::SpamAssassin::Plugin::Pyzor

# Razor2 - perform Razor2 message checks.
#
loadplugin Mail::SpamAssassin::Plugin::Razor2

# SpamCop - perform SpamCop message reporting
#
loadplugin Mail::SpamAssassin::Plugin::SpamCop

# AntiVirus - some simple anti-virus checks, this is not a replacement
# for an anti-virus filter like Clam AntiVirus
#
#loadplugin Mail::SpamAssassin::Plugin::AntiVirus

# AWL - do auto-whitelist checks
#
loadplugin Mail::SpamAssassin::Plugin::AWL

# AutoLearnThreshold - threshold-based discriminator for Bayes auto-learning
#
loadplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold

# TextCat - language guesser
#
#loadplugin Mail::SpamAssassin::Plugin::TextCat

# AccessDB - lookup from-addresses in access database
#
#loadplugin Mail::SpamAssassin::Plugin::AccessDB

# WhitelistSubject - Whitelist/Blacklist certain subject regular expressions
#
loadplugin Mail::SpamAssassin::Plugin::WhiteListSubject

###########################################################################
# experimental plugins

# DomainKeys - perform DomainKeys verification
#
# External modules required for use, see INSTALL for more information.
#
#loadplugin Mail::SpamAssassin::Plugin::DomainKeys

# MIMEHeader - apply regexp rules against MIME headers in the message
#
loadplugin Mail::SpamAssassin::Plugin::MIMEHeader

# ReplaceTags
#
loadplugin Mail::SpamAssassin::Plugin::ReplaceTags



And at least the local.cf:

bayes_path /var/lib/amavis/.spamassassin/bayes
auto_whitelist_path /var/lib/amavis/.spamassassin/auto-whitelist
whitelist_from spam-bin@Banned
lock_method flock
bayes_auto_learn_threshold_nonspam -0.5
dcc_timeout 8


Thanks in advance.

Regards,

H2T
h2t
 
Posts: 20
Joined: Wed Oct 11, 2006 5:40 am
Location: NL

Postby mr88talent » Sat Nov 18, 2006 3:36 pm

Also, what command was given to get this output? See this:
http://www.nabble.com/spamassassin-stuc ... 16307.html

Looks like something has changed in recent versions of SpamAssassin. I will install this newer version and check it out.
User avatar
mr88talent
Moderator
 
Posts: 1672
Joined: Tue Mar 08, 2005 4:19 pm
Location: Salt Lake City

Postby mr88talent » Sat Nov 18, 2006 4:01 pm

Yes, this is something new. Running --lint now turns off net tests where it did not before. I will have to make some changes to the doc. Thanks for pointing it out.
User avatar
mr88talent
Moderator
 
Posts: 1672
Joined: Tue Mar 08, 2005 4:19 pm
Location: Salt Lake City

Postby mr88talent » Sat Nov 18, 2006 4:09 pm

For now, you can simply pipe some garbage to spamassassin

echo "test" | spamassassin -D

or

echo "test" | spamassassin -D 2>&1 | less
User avatar
mr88talent
Moderator
 
Posts: 1672
Joined: Tue Mar 08, 2005 4:19 pm
Location: Salt Lake City

Postby h2t » Sat Nov 18, 2006 4:51 pm

Mr88Talent,

Thanks for your quick response and help.
It looks like that it runs correctly. At least I see now that spamassassin try to contacting pyzor sever etc.

Regards,

H2T
h2t
 
Posts: 20
Joined: Wed Oct 11, 2006 5:40 am
Location: NL


Return to Spam Assassin

Who is online

Users browsing this forum: No registered users and 1 guest

cron