Print Page | Close Window

Moving Spamfilter and Settings to new server

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
Printed Date: 16 July 2018 at 10:21pm

Topic: Moving Spamfilter and Settings to new server
Posted By: morten44
Subject: Moving Spamfilter and Settings to new server
Date Posted: 13 January 2009 at 2:29pm
We have a windows 2000 server running web and mail server.
We are now going to move Imail Server + Spamfilter to a new windows2003 only dedicated as mail server
My question is:
Is there a way to backup all the settings from the old and just apply them on the new server when it is up.
I want to just install newest version of Spamfilter and apply all the settings from the old one. Is there a list of files I can only move over from old to new or is there a capture/deploy tool available
Hope anyone can advice us :)
Kind Regards

Posted By: LogSat
Date Posted: 13 January 2009 at 4:54pm

Duplicating a SpamFilter installation is rather easy.

You can install SpamFilter on the new server, accepting all the default values. This will create the icons in the "Start menu" and provide an option to uninstall SpamFilter in the Add/Remove Programs section of the Control Panel. if you're not interested in the icons, you can skip this step and proceed to the following.

Simply copy the whole \SpamFilter directory tree from the old server to the new one, maintaining the same directory tree. under the "Settings - Configuration" tab, click the button to create the SpamFilter service, if you haven't done so using the setup.exe installer above.
If the new server will have the same IP as the old one, then nothing else is required.
If you have not configured SpamFilter to listen for SMTP traffic on a specific IP address (this is the default setting), then again nothing else is required.
If the new server will have a new IP, and you have configured SpamFilter to listen on a specific IP address (by default SpamFilter will listen to all IP addresses), then simply assign the new one to the new installation of SpamFilter by going to the "Settings - Configuration" tab in SpamFilter.
If the server name of the new server is different than the one of the old server, you should also change the following entry in the new SpamFilter.ini file by setting it to 0:
This will allow the new server to also "see" all the quarantined emails that were archived by the old server.

The following is also needed if you change the installation path on the new server, and you are using SpamFilter ISP "standard" (as in SpamFilter Enterprise the filtering settings are stored in a database, this step is not required on the Enterprise version):
SpamFilter ISP maintains all its filtering settings in text files (all your whitelists and blacklists). If the path to these text files changes on the new server, you simply have to updated SpamFilter's config files to reflect the new path.

The two config files that contain the path information are:

You can thus simply edit those two files, and perform a search&replace to replace all occurrences of the old path and replace it with the new one. 

Roberto Franceschetti" rel="nofollow - LogSat Software" rel="nofollow - Spam Filter ISP

Posted By: Ed_K
Date Posted: 09 April 2009 at 2:09pm
This is a great guide for migrating SpamFilter's settings to a new server.

I have one question, though, regarding different versions and best practices.

We are running SpamFilter ISP Standard, v4.0.1.785 on a very old W2K server. I plan to move this onto a fresh W2K3 virtual machine, and would like to get up to v4.1.2.806 in the process. My question regards the proper order of operations here

Is it as easy as installing on the new server, then following these instructions? Or would I be better served by updating the source install to that version, and then migrating? I could also install on the new server, migrate, then upgrade to

I'm sure I could make it work by following any of these, but I'd prefer to go with the one that is least likely to cause issues. Thanks!

Posted By: LogSat
Date Posted: 09 April 2009 at 11:59pm

We would have said "it is as easy as installing on the new server, then following these instructions", if it weren't for the fact that between v4.0.1.785 and v. there has been an addition of two fields in the tbl_filtersettings table. SpamFilter will automatically patch the database when upgrading to the new version, and records the fact that the patch was successful by adding an entry to the following value in the SpamFilter.ini file (the last one -


If you follow the instructions to the letter, your new server, running the latest v4.1.2.806 will automatically update the database schema of SpamFilter's database that would be currently in use by your older version This will not affect your older version.

If however at some point your new server is configured to use a different, non-live database, you risk that the database patches are applied to the wrong database, and will have problems when switching to the live production database. In this case, the fix is as simple as stopping your new SpamFilter, deleting ***the entire*** line:

from the SpamFilter.ini file, and restart SpamFilter. This will cause the patches to be re-applied.

Roberto Franceschetti" rel="nofollow - LogSat Software" rel="nofollow - Spam Filter ISP

Posted By: MBorik
Date Posted: 15 May 2009 at 2:13pm
I'm new to Spam Filter ISP but it seems really good.
We are running version and do not wish to upgrade to 4.X at the moment.
Can we somehow download this old version? 


Posted By: LogSat
Date Posted: 15 May 2009 at 3:59pm

If you are a licensed user, you may download SpamFilter ISP v3.5.4.730 from our website after logging in.

Roberto Franceschetti" rel="nofollow - LogSat Software" rel="nofollow - Spam Filter ISP

Print Page | Close Window