Past Episodes

Pages

How to Install and Configure ClamXav Anti-Virus for Mac

ClamXav can be downloaded directly or through the Mac App Store. The Mac App Store version does not contain the Sentry tool that allows constant scanning for changes by folder, so this tutorial is for the download version which you can get at http://www.clamxav.com/.

These instructions assume you’re running Snow Leopard (10.6) or Lion (10.7), if you’re running a previous version some features need to be enabled, see the instructions here: http://www.clamxav.com/docs_menu.php. After installation, log out of your Mac and back in.

Starting Up

wpid3209-wpid-media_13207252557741.png

When you first launch ClamXav it’s a good idea to update the Virus Definitions. Next let’s set some preferences.

wpid3214-media_1342993185487.png

General Preferences

wpid3215-wpid-media_13207252897931.png
  1. You can set these as you desire, especially the audible alerts
  2. Believe it or not, UNcheck scanning your email for malware. Your spam filter will catch most of this and put it in a spam bucket but ClamXav will stil find it and give you CONSTANT popups about it. I also don’t update virus definitions on launch because we’ll put it on a schedule in a later step. I DO however allow the application to check for updates on launch like any other program.
  3. Click on the Sentry tab next.

Sentry

wpid3210-wpid-media_13207253012211.png

Sentry keeps an eye on any folder you choose. We’re going to set it to watch your downloads folder, because that’s where new stuff shows up that we want scanned.

Drag Home Folder Into the Window

wpid3216-wpid-media_13207253866851.png

Drag your home folder into the window. Alternatively you can push the plus button and navigate to your home folder.

Your Home Folder Will Now be Monitored

wpid3217-wpid-media_13207253964691.png
  1. Verify – you should see simply ~/Downloads in the folders being watched.
  2. Click on the Schedule tab next.

Schedule

wpid3211-wpid-media_13207255066991.png

It’s a good idea to allow virus definitions to be updated daily so set the pulldown to a time you’re sure your machine will be on. Now simply let ClamXav run and hope you never hear back from it!

Run a Full Scan

wpid3213-media_1333845534951.png

Run a full scan of your home folder. This took about 3 hours for my very large home folder. It found 450 .emix files, where are all Mail files that are probably in my spam and junk mail folders. Once the scan is done, you can right click on the files and show where they are in the finder, or you can simply choose delete from that menu, or select them all and hit command-delete.

Now that your machine is clean, you can rely on Sentry to watch for changes and to scan only those changes.

Scan On Demand

wpid3212-wpid-media_13207272103371.png

ClamXav also installs a Service that lets you scan a file or folder at any time. simply right click on the file or folder you want to scan, pull down to Services, and choose Scan with ClamXav. The application will run and show you the results of the scan.

If you’re running Leopard you must actually drag the plugin for contextual menus into your library to get the Service to work as shown. Read the text file entitled "How to install the plugin" to see exactly how to do this.

If you’re running Snow Leopard or Lion (and presumably Mountain Lion later) you’ll have to log out and back into your account for the contextual menus to be available under Services.