spamprobe command not found

In this troubleshooting guide we learn how to fix spamprobe command not found error message

Introduction

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

spamprobe: command not found

or when using sudo you get the following error message

sudo: spamprobe: command not found

Solutions to spamprobe: command not found

How To Fix spamprobe: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu spamprobe is provided by spamprobe package.

spamprobe is:

This package provides a spam filter based on the article ‘A Plan for Spam’ by Paul Graham. It uses a database (either BerkeleyDB or a simpler hash file) to store one- and two-word phrases. Only certain headers are analyzed and HTML tags are ignored to prevent false positives of legitimate HTML emails. Image attachments are considered as words that can signal spam. It can be simply integrated with procmail or maildrop to filter spam on incoming mail.

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

sudo apt-get -y install spamprobe

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

You can also use apt command to install spamprobe.

sudo apt -y install spamprobe

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

sudo aptitude install spamprobe

Summary

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