Understanding Spam and Virus Scanning with Spamav.com

Introduction

In modern times, email spam is an ever-present threat to businesses and individuals alike. It not only wastes valuable time sorting through unwanted messages, but it can also be dangerous to your computer system. Spamav.com is a virtual server that offers advanced spam and virus filtering features to keep your mailbox clean and secure. In this blog post, we will discuss how to enable spam and virus scanning, changing delivery destinations, reducing CPU load with Clamd, and moving spam and virus scanning to another system.

Enabling Spam and Virus Scanning

Spamav.com offers a straightforward method of enabling spam and virus filtering. In a typical installation, users can enable filtering for a new or existing virtual server by selecting the Spam filtering enabled and Virus filtering enabled checkboxes in the Create or Edit Virtual Server page. However, if these options do not appear, users should ensure that these features are enabled globally on their system. This can be done by logging in as root and checking the boxes next to Spam filtering and Virus filtering in the Features and Plugins section of the System Settings category.

Changing Delivery Destinations

By default, email classified as spam is delivered to the ~/Maildir/.spam file under each user’s home directory. However, users can change these destinations on a per-domain basis using Virtualmin. They can do so by logging in to Virtualmin and selecting the domain from the left menu. After this, they should open the Server Configuration category and click on Spam and Virus Delivery. They can then change the Destination for spam emails and virus emails based on their preference.

Reducing CPU Load with Clamd

In the default Virtualmin configuration, each email received is processed with the clamscan command to check for viruses. This can take a lot of time, particularly on VPS systems that have limited IO bandwidth or CPU resources. To address this, users can enable the use of the ClamAV server process. This process loads the virus database just once and then stays running. When email arrives, the clamdscan command connects to it, passes over the message to be scanned, then reads back the results. This typically only takes seconds, even on a system with limited resources. To enable this feature, users can log in to Virtualmin, go to the Email Messages category, and click on Spam and Virus Scanning. They should then Enable ClamAV Server by clicking the button at the bottom of the page.

Moving Spam and Virus Scanning to Another System

If a system is receiving a large amount of email, spamd and clamd can use up a lot of CPU time, slowing down email processing. However, it is possible to move some of this load to a separate system by making use of spamd and clamd, the SpamAssassin and ClamAV server processes. These can be run on one or two other systems on the network, and Virtualmin on the master system that receives email configured to offload scanning to them. To set this up, users should follow the instructions provided in this post.

Conclusion

Spamav.com is an essential tool for protecting your mailbox from unwanted and potentially harmful spam and viruses. By following the steps outlined in this post, users can configure spam and virus scanning, change delivery destinations, reduce CPU load with Clamd, and move spam and virus scanning to another system. With these features, users can ensure that their mailbox remains clean and secure.