1. For installed Kaspersky SMTP-Gateway application, suspend receipt of e-mail messages using the recv-off command of the application control script:
# /etc/init.d/smtpgw recv-off
2. Wait until Kaspersky SMTP-Gateway sends to recipients all messages from its working queue (specified as the QueuePath parameter value in the [smtpgw.path] section of the configuration file).
Should you fail to do so, all received unsent messages from the working queue will be lost.
3. Save the application configuration file and notification templates if they have been modified or created by the administrator while working with Kaspersky SMTP-Gateway.
4. Uninstall Kaspersky SMTP-Gateway using the method described in the included Administrator's Manual. If the Webmin-module has been installed it should be removed using Webmin administration tools.
NOTE! This is a mandatory step. These applications conflict with each other and so they cannot be installed on the same server. If Kaspersky SMTP-Gateway is not removed, Kaspersky Mail Gateway 5.5 installation will terminate with an error.
5. Install Kaspersky Mail Gateway 5.5 using the method described in the included Administrator's Manual. Perform post-install setup procedure, which will generate the application configuration file.
6. If necessary, enter into the new application configuration file modifications added by the administrator while working with Kaspersky SMTP-Gateway.
The distribution package of Kaspersky Mail Gateway 5.5 includes a special script intended for automatic transfer (import) of parameter values from the configuration file of Kaspersky SMTP-Gateway 5.5 MP1 (build 5.5.90), whenever they differ from the default values.
The script is located in:
/opt/kav/5.5/scm-smtpgw/setup/ - on Linux,
/usr/local/share/kav/5.5/scm-smtpgw/setup/ - on FreeBSD.
To start the automatic transfer (import) process for the parameter values, you should enter the directory specified above and run the following command:
# ./import-smtpgw-5.5.pl in_file out_file
where:
in_file - full name of the configuration file for Kaspersky SMTP-Gateway saved during step 3;
out_file - name of the resulting file produced after transfer of parameter values. If the value import process completes successfully, the contents of the resulting file can be used as a configuration file for Kaspersky Mail Gateway 5.5 (by default the application uses the /etc/kav/5.5/scm-smtpgw/smtpgw.conf configuration file).
7. Move notification templates saved during step 3 to the corresponding directories.