Why is Nothing being Marked as Spam
Posted by - NA -, Last modified by on 03 September 2008 05:05 PM





In order to determine why the AntiSpam engine is not working, you will need to look at the following:

  1. Make sure your license has Anti-spam as registered.

  2. Make sure the Anti-spam database is working. The easiest way to do this is to manually attempt to add an entry to the whitelist or blacklist through the Administration Console. This is located at Status > Spam Queues > Whitelist tab. If you can add an entry, and it shows up in the list, then the database is working properly. If you are not able to add an entry, then the database is not working.

  3. If the database is working, then you will have to review the AntiSpam Log. Debug logging must be enabled - you can do this by navigating to System > Services > General tab and highlighting the AntiSpam service. Select "Debug" from the dropdown list.

  4. Once debug logging is enabled, you can look at the AntiSpam log and determine why nothing is being flagged. Look in the log files for "BYPASS=", if this is there, then there is something that is causing the e-mails to be bypassed by the AntiSpam engine. All Reason codes can be found by going to the IceWarp Adminitration Console, hitting the F1 Function key, and searching for "reason codes".

    This should help narrow down why messages are not being flagged as spam, or quarantined.

Rebuilding the AntiSpam Engine 

There are times when the AntiSpam database can become corrupted, through one reason or another. At this time, it is recommended that you re-build the Database from scratch. However, we know it is important that you do not lose all the whitelist and blacklist items that you already have, so below are the steps needed to re-build and migrate old data to the new

  1. Navigate to Anti-Spam > DB settings and either take a screenshot or write down the information listed in the ODBC (you will need this information later).

  2. Close the IceWarp Administration Console.

  3. Go to the IceWarp installation directory and rename \Icewarp\spam to \Icewarp\spam_old

  4. Run the IceWarp installation file again to install and re-create the AntiSpam engine. 

  5. After you have reinstalled IceWarp, go to AntiSpam > DB settings again, and either take a screenshot or write down the information listed in the ODBC.

  6. This should be different, but if it is the same, that's okay too.


Now, to transfer data from your current database to a new database, you simply need to follow the steps below:

  1. Create a new ODBC DSN that points to the old database (or edite the one that existed to point to the spam_old folder).


  2. Open up the Icewarp Console, navigate to System > Tools > Database Migration and choose the type of database that you will be transferring. (Accounts, Anti-Spam, or Groupware, Directory cache). In this case, choose AntiSpam

  3. In the Source DSN section place the ODBC DSN of the original database.

  4. In the Destination DSN section place the ODBC DSN of the new database

  5. Once you do this, simply click on the Start Migration button.


    Now, it should work properly.