Install claws-mail-clamd-plugin by entering the following commands in the terminal:
sudo apt update sudo apt install claws-mail-clamd-plugin
ClamAV socket-based plugin for Claws Mail
This plugin uses Clam AntiVirus to scan all messages that are received from an IMAP, POP or local account. . When a message attachment is found to contain a virus it can be deleted or saved in a specially designated folder. . Due to licensing issues this plugin does not link against any libraries from ClamAV. The plugin therefore requires a ClamAV daemon running, either on localhost or somewhere else, for the plugin to access it via a Unix or TCP socket.