update-exim4.conf command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
update-exim4.conf: command not found
or when using sudo you get the following error message
sudo: update-exim4.conf: command not found
Solutions to update-exim4.conf: command not found
How To Fix update-exim4.conf: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu update-exim4.conf is provided by exim4-config package.
exim4-config is:
Exim (v4) is a mail transport agent. exim4-config provides the configuration for the exim4 daemon packages. The configuration framework has been split off the main package to allow sites to replace the configuration scheme with their own without having to change the actual exim4 packages.
Sites with special configuration needs (having a lot of identically configured machines for example) can use this to distribute their own custom configuration via the packaging system, using the magic available with dpkg’s conffile handling, without having to do local changes on all of these machines.
The Debian exim4 packages have their own web page, http://wiki.debian.org/PkgExim4. There is also a Debian-specific FAQ list. Information about the way the Debian packages are configured can be found in /usr/share/doc/exim4-base/README.Debian.gz, which additionally contains information about the way the Debian binary packages are built. The very extensive upstream documentation is shipped in /usr/share/doc/exim4-base/spec.txt.gz. To repeat the debconf-driven configuration process in a standard setup, invoke dpkg-reconfigure exim4-config. There is a Debian-centered mailing list, [email protected]. Please ask Debian-specific questions there, and only write to the upstream exim-users mailing list if you are sure that your question is not Debian-specific. You can find the subscription web page on http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
To fix this problem, we can install more using the command below.
sudo apt-get -y install exim4-config
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install exim4-config.
sudo apt -y install exim4-config
Or if you have aptitude installed you can use the following command.
sudo aptitude install exim4-config
Summary
In this tutorial we learn how to fix update-exim4.conf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.