Rated 5 out of 5 stars

Malware is not such a problem on Linux OS, but you may be forwarding emails to people with Windows machines so you should make sure the emails are clean.
Installing clamdrib LIN addon for Thunderbird 52 on Ubuntu 16.04.

Install the following packages.
sudo apt-get install clamav clamav-daemon

If you would like additional virus signatures run the following commands:
sudo apt-get update
sudo apt-get install clamav-unofficial-sigs

To install the clamav manuals:
sudo apt-get install clamav-docs
$ man clam <Tab>

Now using a text editor add these two lines to /etc/clamav/clamd.conf
sudo vim /etc/clamav/clamd.conf
TCPSocket 3310
TCPAddr 127.0.0.1
Save changes to clamd.conf

Make sure there are only the following two lines in /etc/systemd/system/clamav-daemon.socket.d/extend.conf
sudo vim /etc/systemd/system/clamav-daemon.socket.d/extend.conf
SocketUser=clamav
ListenStream=127.0.0.1:3310
Save changes to extend.conf

Enter the following since the clamav-daemon.socket changed on disk.
sudo systemctl daemon-reload

Enter the following:
sudo systemctl restart clamav-daemon.service clamav-daemon.socket clamav-freshclam.service

sudo systemctl status clamav-daemon.service clamav-daemon.socket clamav-freshclam.service

The status of the clamav-daemon.socket should be:
Listen: /run/clamav/clamd.ctl (Stream)
127.0.0.1:3310 (Stream)

Enabling Google Safe Browsing service provides lists of URLs that contain malware or phishing content.
The file /etc/clamav/freshclam.conf will have to be edited. First freshclam.conf has to be made writable:
sudo chmod -v u+w /etc/clamav/freshclam.conf

Now edit freshclam.conf using a text editor.
sudo vim /etc/clamav/freshclam.conf
setting: SafeBrowsing true
Save changes to freshclam.conf

Make /etc/clamav/freshclam.conf read only again.
sudo chmod -v u-w /etc/clamav/freshclam.conf


Thank you, TmaWizard