Skip to main content
Wintersonne

Virus Scan Of Emails

Virus scanners on Linux.

If you only use Linux and don't work with a virtual machine running Windows, then an antivirus program isn't really necessary.
99.9% (if not more) of viruses are written for Windows—the malicious code usually can't even be executed.

You'll find the same recommendation on various websites for the UFW (Uncomplicated Firewall) available in Linux Mint—at least if you're only using your PC as a desktop at home.
It's important that the firewall on your router is enabled.
If you ever take your laptop with you and connect to public networks (hotels, cafes, etc.), then I would recommend enabling the firewall.

Since I tend to be on the cautious side, I've enabled the firewall and installed ClamAV as my antivirus scanner.

Email programs.

A while back, there was an add-on for Thunderbird that allowed you to scan emails for viruses. As far as I know, this add-on is no longer available for current versions of Thunderbird.

In the Evolution email client, you can set this up using a message filter.
This filter ensures that suspicious emails are moved to a specific folder.

The exam scripts.

For this, I use the finished files provided by White Glider provides.
The site describes how to use and set it up in quite some detail—with a little knowledge of English, that shouldn’t be a problem.

The text may need to be "Germanized" as needed, and the paths in lines 15 and 16 (RSLT and MSG) must be adjusted. If you have any questions, feel free to use the comment section.

The News Filter.

To do this, first create a folder where suspicious emails will be moved. "Virus" or "Suspected Virus" are two suggestions.

Rule Type: Inbox
For the account: Select the account where incoming emails will be scanned
Conditions: All of the following conditions

In the next block, select “Forward to program”—here, navigate to the executable “sh” file you downloaded from the website above.

Next, select “Delivers” and enter the number 1 in the field to the right of it.

In the “Then” block, select “Move to folder” and choose the “Suspected Virus” folder.

Test.

You can test whether the script itself works as described on the White Glider website.
To test it in Evolution, I emailed myself a few Eicar test files.
Whether this is easy to test depends on your email provider. Gmail has already blocked me from sending the test files.
It’s up to you to decide whether you’re willing to take the risk of temporarily disabling your provider’s virus protection to run the test.

More articles.

More articles on Linux can be found here.
For getting started with Linux Mint, I recommend the book by Dirk Becker.

 

Not yet rated

Comments

No Comments

Add a comment:

*Required fields




Subscribe to comments RSS Feed



Blog