rpc.dracd command not found

In this troubleshooting guide we learn how to fix rpc.dracd command not found error message

Introduction

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

rpc.dracd: command not found

or when using sudo you get the following error message

sudo: rpc.dracd: command not found

Solutions to rpc.dracd: command not found

How To Fix rpc.dracd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rpc.dracd is provided by drac package.

drac is:

A daemon that dynamically updates a relay authorization map for some MTA (postfix, sendmail). It provides a way to allow legitimate users to relay mail through an SMTP server, while still preventing others from using it as a spam relay. User’s IP addresses are added to the map immediately after they have authenticated to the POP or IMAP server. By default, map entries expire after 30 minutes, but can be renewed by additional authentication. Periodically checking mail on a POP server is sufficient to do this. The POP and SMTP servers can be on different hosts.

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

sudo apt-get -y install drac

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

You can also use apt command to install drac.

sudo apt -y install drac

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

sudo aptitude install drac

Summary

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