If it doesn't say it's not working, it is working. The messages
indicate, that razor is called.

If you want to be sure, just check your spam mails, some of them should
contain a RAZOR tag. Or snoop the network for trafic to the razor
servers.

-Sietse

-----Original Message-----
From: Kevin Murphy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 14, 2006 8:46 PM
To: users@spamassassin.apache.org
Subject: Is razor working with spamassassin?

I need confirmation that razor is working with spamassassin.  I'm using 
the latest versions of Mail::SpamAssassin and razor2.

I know there is an entry for this question on the wiki, but it wasn't 
helpful; maybe it is out of date?

When I run:

sudo -u amavis spamassassin -D --lint </tmp/junk.msg

Here are the first few lines in the output that mention razor:

[19041] dbg: diag: module installed: Razor2::Client::Agent, version 2.82
[19041] dbg: config: read file
/usr/local/share/spamassassin/25_razor2.cf
[19041] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from
@INC
[19041] dbg: razor2: razor2 is available, version 2.82

Then later this chunk:

[19041] dbg: plugin: registering glue method for check_razor2_range 
(Mail::SpamAssassin::Plugin::Razor2=HASH(0x2afedc))
[19041] dbg: info: entering helper-app run mode
[19041] dbg: info: leaving helper-app run mode
[19041] dbg: razor2: part=0 engine=4 contested=0 confidence=0
[19041] dbg: razor2: results: spam? 0
[19041] dbg: razor2: results: engine 8, highest cf score: 0
[19041] dbg: razor2: results: engine 4, highest cf score: 0
[19041] dbg: plugin: registering glue method for check_razor2 
(Mail::SpamAssassin::Plugin::Razor2=HASH(0x2afedc))

I can't tell if razor is really being applied or not.

My configuration:

In /etc/mail/spamassassin/v310.pre, I have:

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

In /var/amavis/.razor/razor-agent.conf, I have:

debuglevel             = 3
identity               = identity
ignorelist             = 0
listfile_catalogue     = servers.catalogue.lst
listfile_discovery     = servers.discovery.lst
listfile_nomination    = servers.nomination.lst
logfile                = razor-agent.log
logic_method           = 4
min_cf                 = ac
razordiscovery         = discovery.spamnet.com
rediscovery_wait       = 172800
report_headers         = 1
turn_off_discovery     = 0
use_engines            = 4,8
whitelist              = razor-whitelist
razorhome              = /var/amavis/.razor/

In /var/amavis/.razor/, I see:

razor-agent.conf
razor-agent.log
server.c101.cloudmark.com.conf
server.joy.cloudmark.com.conf
server.shock.cloudmark.com.conf
servers.catalogue.lst
servers.catalogue.lst.lock
servers.discovery.lst
servers.nomination.lst
servers.nomination.lst.lock

The whole /var/amavis tree is owned by 'amavis'.

Thanks,
Kevin Murphy

Reply via email to