HOWTO: How do I move MailMarshal to a new server?
Gepostet von Daniel Riediger an 06 July 2011 14:40
This article applies to:
- MailMarshal SMTP
- MailMarshal Exchange 7.X
How do I move MailMarshal to a new server?
This article describes the steps involved in moving your existing MailMarshal setup to a new server.
MailMarshal SMTP 6.X
MailMarshal Exchange 7.X
To move a single-server MailMarshal installation to a new server and maintain your configuration (rules and settings):
- On the new system, install the same version that is installed on the old system.
- Import the old configuration and all required backup items (see the User Guide).
- Set the database retention period if you want a period other than the default 100 days.
- If you need to move the database, see Q10410: How do I move my MailMarshal SQL or MSDE database to a new server?
- To move the Array Manager only, see Q10413.
- To move processing to a new processing server, you can simply install the MailMarshal software and join the array.
- If you plan to de-commission the old server, once the new server is running you may want to migrate quarantined email; see Q10412.
Make necessary mail routing changes
For MailMarshal SMTP, after moving to a new server or adding a processing node, you will need to make sure that your firewall settings or DNS MX records are changed so that incoming mail is now routed to the new MailMarshal server. Likewise, outgoing mail should be forwarded from your mail server to the new MailMarshal server. Before de-commissioning the old server, ensure that no mail flows through it.
MailMarshal SMTP 4.X and 5.X
Step 1: Install MailMarshal on the new server.
Ensure you have installed all the prerequisite software such as Microsoft Internet Explorer (IE) 5 and Microsoft Management Console (MMC) 1.2. Then, install the MailMarshal software, SQL Express or MSDE if needed, and any anti-virus software you are running under MailMarshal.
Step 2: Export your Configuration Settings and User Groups file.
On your old MailMarshal server, open the MailMarshal Configurator, right-click on MailMarshal Configurator, and select Properties | Advanced tab | Export Configuration. This will save your rules, virus scanner setup, text censor scripts, mail templates, etc. to a .reg file (version 3) or a .mmr file (version 4) which you can then import into the new MailMarshal server.
Your user groups are stored in a text file called UserGroups.txt in the MailMarshal directory. This file can simply be transferred to the new server.
If you are running MailMarshal 4.2 or later and use fingerprinting, you will also need to copy the contents of the MailMarshal\ValidFingerprints directory on the old server to the corresponding folder on the new server.
Step 3: If you DO NOT want to keep your existing MailMarshal database:
This is the easiest option. Create a new MailMarshal database by opening the Configurator, right-clicking on MailMarshal Configurator, and selecting Properties | Report tab | Create/Select Database. You can give the database a new name or check the Recreate the database checkbox to overwrite the existing one. MailMarshal will then start logging to the new database.
Step 4: If you DO want to keep your existing MailMarshal database:
You will also need to copy the file SequenceFile from the existing MailMarshal directory to the new MailMarshal directory. Note: This step is important -- failure to do so may corrupt your database. Ensure the new MailMarshal installation is pointing to the correct server and database by opening the Configurator, right-clicking on MailMarshal Configurator, and selecting Properties | Report tab | Create/Select Database.
Step 5: Make necessary mail routing changes.
You will need to make sure that your firewall settings or DNS MX records are changed so that incoming mail is now routed to the new MailMarshal server. Likewise, outgoing mail should be forwarded from your mail server to the new MailMarshal server.