mail_room command not found

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

Introduction

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

mail_room: command not found

or when using sudo you get the following error message

sudo: mail_room: command not found

Solutions to mail_room: command not found

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

In Ubuntu mail_room is provided by ruby-mail-room package.

ruby-mail-room is:

mail_room is a configuration based process that will idle on IMAP connections and execute a delivery method when a new message is received.

Examples of delivery methods include:

  • POST to a delivery URL (Postback)
  • Queue a job to Sidekiq or Que for later processing (Sidekiq or Que)
  • Log the message or open with LetterOpener (Logger or LetterOpener)

This package provides gitlab’s fork of mail_room.

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

sudo apt-get -y install ruby-mail-room

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

You can also use apt command to install ruby-mail-room.

sudo apt -y install ruby-mail-room

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

sudo aptitude install ruby-mail-room

Summary

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