razor-revoke command not found

In this troubleshooting guide we learn how to fix razor-revoke command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

razor-revoke: command not found

or when using sudo you get the following error message

sudo: razor-revoke: command not found

Solutions to razor-revoke: command not found

How To Fix razor-revoke: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu razor-revoke is provided by razor package.

razor is:

Vipul’s Razor is a distributed, collaborative, spam detection and filtering network. Razor establishes a distributed and constantly updating catalogue of spam in propagation. This catalogue is used by clients to filter out known spam. On receiving a spam, a Razor Reporting Agent (run by an end-user or a troll box) calculates and submits a 20-character unique identification of the spam (a SHA Digest) to its closest Razor Catalogue Server. The Catalogue Server echos this signature to other trusted servers after storing it in its database. Prior to manual processing or transport-level reception, Razor Filtering Agents (end-users and MTAs) check their incoming mail against a Catalogue Server and filter out or deny transport in case of a signature match. Catalogued spam, once identified and reported by a Reporting Agent, can be blocked out by the rest of the Filtering Agents on the network.

To fix this problem, we can install more using the command below.

sudo apt-get -y install razor

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install razor.

sudo apt -y install razor

Or if you have aptitude installed you can use the following command.

sudo aptitude install razor

Summary

In this tutorial we learn how to fix razor-revoke command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.