How To Install exim-clamav on Fedora 36

In this tutorial we learn how to install exim-clamav in Fedora 36. exim-clamav is Clam Antivirus scanner dæmon configuration for use with Exim

Introduction

In this tutorial we learn how to install exim-clamav on Fedora 36.

What is exim-clamav

This package contains configuration files which invoke a copy of the clamav dæmon for use with Exim. It can be activated by adding (or uncommenting) av_scanner = clamd in your exim.conf, and using the ‘malware’ condition in the DATA ACL, as follows deny message = This message contains malware ($malware_name) malware = * For further details of Exim content scanning, see chapter 41 of the Exim specification http

We can use yum or dnf to install exim-clamav on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install exim-clamav.

Install exim-clamav on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install exim-clamav using dnf by running the following command:

sudo dnf -y install exim-clamav

Install exim-clamav on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install exim-clamav using yum by running the following command:

sudo yum -y install exim-clamav

How To Uninstall exim-clamav on Fedora 36

To uninstall only the exim-clamav package we can use the following command:

sudo dnf remove exim-clamav

exim-clamav Package Contents on Fedora 36

/etc/clamd.d/exim.conf
/etc/logrotate.d/clamd.exim
/etc/sysconfig/clamd.exim
/usr/lib/systemd/system/clamd.exim.service
/usr/lib/tmpfiles.d/exim-clamav.conf
/usr/sbin/clamd.exim
/var/log/clamd.exim
/var/run/clamd.exim

References

Summary

In this tutorial we learn how to install exim-clamav on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).