You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by David Flanigan <da...@flanigan.net> on 2006/04/29 14:58:42 UTC

SA & Razor problem - help requested

Hello Spamasssins, 

 I am having an odd problem, I was hoping for some insight from those more adept than 
I. 

I am trying to get Razor working with Spamassassin to little effect. To put it simply, 
SA never uses RAZOR, and I have never in thousands of messages 
(http://www.flanigan.net/spam) seen even a single RAZOR hit. However, I get no errors 
in the error logs. The only error I see is on a `spamassassin –lint` which says:

[8611] warn: config: failed to parse line, skipping: use_razor2__1
[8611] warn: config: failed to parse line, skipping: razor_config 
__/etc/mail/spamassassin/.razor/razor-agent.conf


Oddly, I get the exact same symptoms with DCC. 

I have compiled SA from scratch and installed in over the existing install just to make 
sure. 

I have searched the mailing list, and and I followed the wiki guide at 
spamassassin.apache.org for installing razor with SA. I have verifed that both SA and 
Razor work on there own, and have fed razor several test messages. SA works fine other 
than the razor problems. 


My config: 
1. I am envoking spamc 3.1.1 through /etc/procmailrc using a simple:
 
:0fw
| /usr/bin/spamc

2. spamd is called with the following args: “-u spamd -d -x -m5 -
H /etc/mail/spamassassin/ -r /var/run/spamd.pid
3. I am running version 2.8.1 of razor clients 
4. I am running the above on Linux Fedora Core 5 (kernel 2.6.16-1.2096_FC5). 
5. My local.cf lines for razor are:

My local.cf has the following lines for razor: 
use_razor2              1
razor_config            /etc/mail/spamassassin/.razor/razor-agent.conf


Any advise you could offer would be greatly appreciated!




---
Kind Regards,
David

http://www.flanigan.net


Re: SA & Razor problem - help requested

Posted by David Flanigan <da...@flanigan.net>.
Theo, 

Thanks for this. Now I feel stubid for bother the list. I have been running SA for 
some time, and didn't notice that change. My bad. 

Thanks for the quick reply!
Dave

On Sat, 29 Apr 2006 10:39:48 -0400, Theo Van Dinter wrote
> On Sat, Apr 29, 2006 at 08:58:42AM -0400, David Flanigan wrote:
> > (http://www.flanigan.net/spam) seen even a single RAZOR hit. However, I get no 
errors 
> > in the error logs. The only error I see is on a `spamassassin –lint` which says:
> > 
> > [8611] warn: config: failed to parse line, skipping: use_razor2__1
> > [8611] warn: config: failed to parse line, skipping: razor_config 
> > __/etc/mail/spamassassin/.razor/razor-agent.conf
> 
> enable the razor plugin in v310.pre.
> 
> > Oddly, I get the exact same symptoms with DCC.
> 
> ditto.
> 
> > I have searched the mailing list, and and I followed the wiki guide at 
> > spamassassin.apache.org for installing razor with SA. I have verifed that both SA 
and 
> > Razor work on there own, and have fed razor several test messages. SA works fine 
other 
> > than the razor problems.
> 
> the third thing in the UPGRADE doc:
> 
> - Due to license restrictions the DCC and Razor2 plugins are disabled
>   by default. [...]
> 
> -- 
> Randomly Generated Tagline:
> "... then you'll excuse me, but I'm in the middle of fifteen things, all of
>  them annoying."
>          - Ivonova, Babylon 5 (Midnight on the Firing Line)


---
Kind Regards,
David

http://www.flanigan.net


Re: SA & Razor problem - help requested

Posted by Rainer Sokoll <R....@intershop.de>.
On Sat, Apr 29, 2006 at 01:07:28PM -0400, Theo Van Dinter wrote:

> On Sat, Apr 29, 2006 at 06:16:36PM +0200, Rainer Sokoll wrote:
> > loadplugin Mail::SpamAssassin::Plugin::Razor2
> 
> don't do that in a cf file..

Moved to init.pre

> What does the output from:
> 
> spamassassin --lint -D razor2
> 
> look like?

dbg: razor2: razor2 is available, version 2.81

Nothing else :-(

Rainer

Re: SA & Razor problem - help requested

Posted by Theo Van Dinter <fe...@apache.org>.
On Sat, Apr 29, 2006 at 06:16:36PM +0200, Rainer Sokoll wrote:
> loadplugin Mail::SpamAssassin::Plugin::Razor2

don't do that in a cf file..

> Any suggestions?

What does the output from:

spamassassin --lint -D razor2

look like?

-- 
Randomly Generated Tagline:
"What is a lie but the truth in masquerade." - Byron

Re: SA & Razor problem - help requested

Posted by Rainer Sokoll <R....@intershop.de>.
On Sat, Apr 29, 2006 at 10:39:48AM -0400, Theo Van Dinter wrote:

> the third thing in the UPGRADE doc:
> 
> - Due to license restrictions the DCC and Razor2 plugins are disabled
>   by default. [...]

OK, in my local.cf I have:

loadplugin Mail::SpamAssassin::Plugin::Razor2
ifplugin Mail::SpamAssassin::Plugin::Razor2
  use_razor2 1
  razor_config /home/vscan/.razor/razor-agent.conf
endif

A test gives me:

vscan@mailgate:~> /usr/local/perl-5.8.8/bin/spamassassin -D --lint \
--config-file=/tmp/local.cf 2>&1 | grep -i razor
[25516] dbg: diag: module installed: Razor2::Client::Agent, version 2.81
[25516] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[25516] dbg: razor2: razor2 is available, version 2.81
[25516] dbg: plugin: registered Mail::SpamAssassin::Plugin::Razor2=HASH(0x90f8dec)
[25516] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[25516] dbg: razor2: razor2 is available, version 2.81
[25516] dbg: plugin: did not register Mail::SpamAssassin::Plugin::Razor2=HASH(0x8fc5f1c), already registered
vscan@mailgate:~>

Beside the fact that Razor2 seems to be loaded two times: I expect to
see something similar to
http://wiki.apache.org/spamassassin/RazorHowToTell?
If I do a razor-check manually, razor seems to work fine.
Any suggestions?

Thank you,
Rainer

Re: SA & Razor problem - help requested

Posted by Theo Van Dinter <fe...@apache.org>.
On Sat, Apr 29, 2006 at 08:58:42AM -0400, David Flanigan wrote:
> (http://www.flanigan.net/spam) seen even a single RAZOR hit. However, I get no errors 
> in the error logs. The only error I see is on a `spamassassin –lint` which says:
> 
> [8611] warn: config: failed to parse line, skipping: use_razor2__1
> [8611] warn: config: failed to parse line, skipping: razor_config 
> __/etc/mail/spamassassin/.razor/razor-agent.conf

enable the razor plugin in v310.pre.

> Oddly, I get the exact same symptoms with DCC. 

ditto.

> I have searched the mailing list, and and I followed the wiki guide at 
> spamassassin.apache.org for installing razor with SA. I have verifed that both SA and 
> Razor work on there own, and have fed razor several test messages. SA works fine other 
> than the razor problems. 

the third thing in the UPGRADE doc:

- Due to license restrictions the DCC and Razor2 plugins are disabled
  by default. [...]

-- 
Randomly Generated Tagline:
"... then you'll excuse me, but I'm in the middle of fifteen things, all of
 them annoying."
         - Ivonova, Babylon 5 (Midnight on the Firing Line)