On Wed, Jun 14, 2006 at 02:46:12PM -0400, Kevin Murphy wrote:
> I know there is an entry for this question on the wiki, but it wasn't 
> helpful; maybe it is out of date?

The information has generally been constant for a while, but I wouldn't be
surprised if pieces were out of date.  If you have a pointer to what you think
is out of date, let me know.

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

(fyi, you don't need the junk.msg, --lint generates and uses its own message)

> 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

Ok, the plugin is loaded and razor2 is available.

> Then later this chunk:
> 
> [19041] dbg: razor2: part=0 engine=4 contested=0 confidence=0

razor found a single part in the message.

> [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

and at the end the result is that the mail isn't considered spam.

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

If it wasn't in use, you wouldn't see the above stuff.

> loadplugin Mail::SpamAssassin::Plugin::Razor2
> ifplugin Mail::SpamAssassin::Plugin::Razor2
> use_razor2 1

"use_razor2 1" is enabled by default if you load the plugin, fyi.

-- 
Randomly Generated Tagline:
 Fry: I'm not a robot like you. I don't like having disks crammed 
  into me... unless they're Oreos, and then only in the mouth.

Attachment: pgpxbNPkGZZ5C.pgp
Description: PGP signature

Reply via email to