---
name: "Mail::Audit::Razor"
section: "3pm"
platform: "linux"
package: "libmail-audit-perl"
version: "2.1-5sarge4"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/Mail::Audit::Razor"
---

# Mail::Audit::Razor(3pm)

Mail::Audit::Razor - Mail::Audit plugin for the Vipul's Razor spam detection system

```
    use Mail::Audit qw(Razor);
        my $mail = Mail::Audit->new;
    ...
        $mail->spam_accept($spambox);
        $mail->accept;
```

This is a Mail::Audit plugin that uses the Vipul's Razor distributed spam detection system to detect and deal with spam.  It requires the `"Razor::Client"` and `"Razor::Agent"` modules from `"http://razor.sourceforge.net"`. While Razor never flags false positives, it has been having problems with false reporting.  Until that gets fixed I'd advise against ignoring or rejecting spam with this module.\
 **METHODS** Calls `"accept"` and returns 1 if the message is spam, otherwise 0. Calls `"ignore"` and returns 1 if the message is spam, otherwise 0. Calls `"reject"` and returns 1 if the message is spam, otherwise 0. Calls `"pipe"` and returns 1 if the message is spam, otherwise 0. Returns 1 if the message is spam, 0 if it is not.\
 **VARIABLES** The path to your razor config file.  The default is `"$ENV{HOME}/razor.conf"`. Nate Mueller \<nate@cs.wisc.edu\> `"http://razor.sourceforge.net"` and Mail::Audit
