Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Moving Spamfilter and Settings to new server
  FAQ FAQ  Forum Search   Register Register  Login Login

Moving Spamfilter and Settings to new server

 Post Reply Post Reply
Author
morten44 View Drop Down
Groupie
Groupie


Joined: 07 March 2008
Status: Offline
Points: 74
Post Options Post Options   Thanks (0) Thanks(0)   Quote morten44 Quote  Post ReplyReply Direct Link To This Post Topic: Moving Spamfilter and Settings to new server
    Posted: 13 January 2009 at 2:29pm
Hi
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
Morten
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2009 at 4:54pm
Morten,

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:
 
tblServersServerID=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:
\SpamFilter\SpamFilter.ini
\SpamFilter\Domains\SFI\Filters.ini

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

LogSat Software

Spam Filter ISP
Back to Top
Ed_K View Drop Down
Newbie
Newbie


Joined: 06 January 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ed_K Quote  Post ReplyReply Direct Link To This Post 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 4.1.2.806 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 4.0.1.786 on the new server, migrate, then upgrade to 4.1.2.806.

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!
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 09 April 2009 at 11:59pm
Ed_K,

We would have said "it is as easy as installing 4.1.2.806 on the new server, then following these instructions", if it weren't for the fact that between v4.0.1.785 and v.4.1.2.806 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 - 4.1.2.794):

DBPatchesApplied=3.5.3.690,3.5.3.696,4.0.0.767,4.0.0.770,4.0.1.780,4.1.2.794

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 4.0.1.785. 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:
           DBPatchesApplied=

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

LogSat Software

Spam Filter ISP
Back to Top
MBorik View Drop Down
Newbie
Newbie
Avatar

Joined: 15 May 2009
Location: Denmark
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote MBorik Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2009 at 2:13pm
I'm new to Spam Filter ISP but it seems really good.
 
We are running version 3.5.4.692 and do not wish to upgrade to 4.X at the moment.
 
Can we somehow download this old version? 
MBorik
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2009 at 3:59pm
MBorik,

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

LogSat Software

Spam Filter ISP
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.125 seconds.