Introduction
In this tutorial we learn how to install amavisd-new
on Kali Linux.
What is amavisd-new
amavisd-new is:
AMaViSd-new is a script that interfaces a mail transport agent (MTA) with
zero or more virus scanners, and spamassassin (optional).
It supports all common virus scanners (more than 20 different AVs), with
direct talk-to-daemon support for ClamAV, OpenAntiVirus, Trophie, AVG,
f-prot, and Sophos AVs.
AMaViSd-new supports all MTAs through its generic SMTP/LMTP filter mode
(ideal for postfix and exim). It is faster and safer to use the SMTP/LMTP
filter mode than using the AMaViS pipe client. It supports sendmail milter
through the amavisd-new-milter package.
There are three methods to install amavisd-new
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install amavisd-new Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install amavisd-new
using apt-get
by running the following command:
sudo apt-get -y install amavisd-new
Install amavisd-new Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install amavisd-new
using apt
by running the following command:
sudo apt -y install amavisd-new
Install amavisd-new Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install amavisd-new
using aptitude
by running the following command:
sudo aptitude -y install amavisd-new
How To Uninstall amavisd-new on Kali Linux
To uninstall only the amavisd-new
package we can use the following command:
sudo apt-get remove amavisd-new
Uninstall amavisd-new And Its Dependencies
To uninstall amavisd-new
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove amavisd-new
Remove amavisd-new Configurations and Data
To remove amavisd-new
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge amavisd-new
Remove amavisd-new configuration, data, and all of its dependencies
We can use the following command to remove amavisd-new
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge amavisd-new
Dependencies
amavisd-new have the following dependencies:
- init-system-helpers
- adduser
- debconf
- file
- libarchive-tar-perl
- libarchive-zip-perl
- libberkeleydb-perl
- libconvert-tnef-perl
- libconvert-uulib-perl
- libdigest-md5-perl
- libio-stringy-perl
- libmail-dkim-perl
- libmailtools-perl
- libmime-base64-perl
- libmime-tools-perl
- libnet-libidn-perl
- libnet-server-perl
- libtime-hires-perl
- libunix-syslog-perl
- pax
- perl
- lsb-base
- perl
References
Summary
In this tutorial we learn how to install amavisd-new
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.