There was a problem loading the comments.

Install and Configure SpamAssassin Virtual Appliance

Support Portal  »  Knowledgebase  »  Viewing Article


Install and Configure SpamAssassin Virtual Appliance

The Linux-based SpamAssassin is a multi-threaded application that can analyze multiple messages simultaneously. With the SpamAssassin Virtual Appliance, system administrators can leverage the Linux-based SpamAssassin client without building an entire Linux environment from scratch. Since it is easily configured, extensive Linux knowledge is not required. NOTE: This article assumes that you are at least familiar with the functionality of VMWare Server or VMWare player.

Applies to SmarterMail 8.x - 14.x

Initial Configuration
Follow these steps to download and install the SpamAssassin Virtual Appliance:

  1. Download the virtual appliance from here.
    • Download: Latest version of SAVASM VMW version (.zip archive) from either mirror 1 or mirror 2.
  2. Load the virtual machine image into VMWare Server or VMWare Player.
  3. Power on the virtual machine and let the system boot.
  4. When prompted with Kudzu, press any key to configure new hardware.
  5. Select Remote Configuration.
  6. Select Configure.
  7. Configure the networking options as desired.
  8. Click OK.
  9. When prompted to login, use:
    • Username: root
    • Password: savasm
  10. Change the root password by using this command: passwd
  11. Enter the new password twice.
  12. When finished, enter logout to exit the terminal.
Web Administration Configuration
Follow these steps to configure SAVASM web portal:

  1. From a web browser, navigate to: http://savasm_ip:10000/
  2. When prompted to login, use the new root and the password you created.
  3. When logged in, go to Servers ->SpamAssassin Mail Filter.
  4. Click Spam Startup Parameters.
  5. You will see this:
d -u spamassassin -c -i -A 192.168. -H --max-children=5 --max-conn-per-child=128 -s /var/log/spamd.log --virtual-config-dir=/vhome/%u/spamassassin -r /var/run/spamassassin/
  1. Look for the –A switch, there is an IP there. It is set to 192.168., this means that SpamAssassin will allow all connections from the 192.168.*.* network. Change this to the SmarterMail IP or range of IPs. If you need to list individual IPs, separate them with commas. Examples:
    • Specific IP:
    • Specific Network (10.1.1.*): 10.1.1.
    • Two SmarterMail Servers:,
  2. Once you are finished changing the configuration, you will need to restart SpamAssassin.
  3. Go to: System -> Bootup/Shutdown
  4. Select SpamAssassin.
  5. Then click Restart Selected.
Test SpamAssassin with SmarterMail
To test SpamAssassin, follow these steps:

  1. Log in to SmarterMail as the system administrator.
  2. Click the Security icon.
  3. Expand the Advanced Settings folder and click SpamAssassin Servers.
  4. Click New in the content pane.
  5. Enter the Following information: Name, IP of your SAVASM appliance, and Port of 783.
  6. Click Save.
  7. Click Antispam Administration in the navigation pane.
  8. Enable Remote SpamAssassin.
  9. Click Save.

Share via

Related Articles

Copyright © 2023 TheGigabit. All right reserved. Reg.No: 200701034297 (792326-P)