Knowledge Base Home

Call Support


Search the Knowledge Base

Skip to end of metadata
Go to start of metadata

Environment

Netmail Secure 6.x

Synopsis

In some cases, updating to latest build of Netmail Secure via the GUI may problematic, or you simply prefer updating the system to the latest build manually using the Linux command line. This article will explain how to do this.

Solution

Before beginning the upgrade, make sure the that the RPM files for the latest Netmail Release and for theWebAdmin were downloaded to a Windows workstation and are available.

Use an SFTP client for Windows such as WinSCP to securely transfer these files from the local machine to the Netmail Secure server, either to /home/admin ( or a directory of your choice that will hold the Netmail installation files; use /tmp if you want the files to be available to other Netmail administrators).

 

Once the files are available on the Netmail Secure server, open an SSH session to the Netmail Secure box and log in. Proceed as follows to install the files:

1) Gain root privileges by invoking the sudo su command.

 

2) To see the Netmail RPM packages currently installed on the Netmail Secure system, issue the following command:

aragorn:/home/admin # rpm -qa | grep netmail

The output returned by the system in response to the command will list the RPMs installed on the Netmail Secure server. For example:

aragorn:/home/admin # rpm -qa | grep netmail
netmail-webadmin-6.x.x.Release_xxxxxx
netmail-6.x.x.Release_xxxxxx
netmail-ooo-2.4.113793-1

The three individual files listed above are required to update: (a) the WebAdministration console, (b) the Netmail Secure code itself, and (c) text extraction used by the content filter (except for .pdf, html) using OpenOffice files and source code, respectively.

 

3) The next command (ls –la netmail*.rpm) will return a list of all Netmail Secure-associated installation packages that are available on the server, and this includes any RPMs that were previously downloaded and transferred to the server via WinSCP; the most recent packages listed (shown below in red) will be used to update all Netmail Secure components to that version. For example:

aragorn:/home/admin # ls -la netmail*.rpm             

-rw-r--r-- 1 admin users 54907639 2013-05-02 14:40 netmail-6.x.x.Release.xxxxxx.rpm

-rw-r--r-- 1 admin users  2433998 2013-04-23 13:50 netmail-webadmin-6.x.x.release.xxxx.rpm

-rw-r--r-- 1 admin users 101186728 2014-07-17 13:16 netmail-6.x.x.Release.xxxxx.rpm

-rw-r--r-- 1 admin users  9472953 2014-06-30 13:50 netmail-webadmin-6.x.x.release.xxxxxxx.rpm 

-rw-r--r-- 1 admin users  6325805 2014-06-20 13:50 netmail-ooo-6.x.x.release.xxxxxx.rpm


4) Before installing any update packages, stop Netmail services by issuing the following command:

    service netmail stop

 

5) Once services are stopped, sequentially install the most recent RPMs for Netmail Secure, the WebAdministration console, and the OpenOffice files, starting with the Netmail Secure code.

To avoid typographical errors when entering the command, simply copy the name of the package that was listed in response to the ls –la netmail*.rpm command (shown above) and paste it into the command line along with the actual installation command (or use the tab command for predictive typing). For example, to update the Netmail Secure code to version 5.2.3.147002, issue the following command:

rpm –Uhiv netmail-6.x.x.Release.xxxxx.rpm

           

6) Once the latest Netmail Secure RPM is installed, repeat the command to update the WebAdministration console and then the OpenOffice files.

7) Once all of the the latest RPM packages are installed, verify the success of the process by re-issuing the command used to list the current installation version (as in Step 2):

    rpm -qa | grep netmail

 

8) Once the installation is confirmed, start Netmail Services again:

    service netmail start

 

The system is now fully updated to the latest version available.

Notes


Help us improve!
Is this article helpful?
Is it well written?
Is the content complete?