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/spamd.pid
  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: 10.1.1.1
    • Specific Network (10.1.1.*): 10.1.1.
    • Two SmarterMail Servers: 10.1.1.5,10.1.1.6
  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.
  • 1 Kasutajad peavad seda kasulikuks
Kas see vastus oli kasulik?

Seotud artiklid

Configure Outbound Spam Blocking

SmarterMail provides the option to scan outgoing messages for spam. This is useful in the event...

Enable Antivirus Quarantine

System administrators can quarantine outgoing messages that have been flagged as containing...

Enable Cyren Premium Antispam

Cyren Premium Antispam is available as an optional add-on to SmarterMail and is associated to a...

Enable Cyren Zero-hour Antivirus

Cyren Zero-hour Antivirus is available as an optional add-on to SmarterMail and is associated...

Enable Greylisting

Greylisting has proven itself to be an effective method of spam prevention. It works by...