Testing Your Installation

March 26, 2020 Contributors

You can test your installation by using telnet to connect to port 25 on a cluster node. However, the swaks tool provides an easier way to test your installation.


Message Systems does not provide support for the use of any third party tools that we include or reference by name within our product or product documentation; support is the sole responsibility of the third party provider.

Assuming that the user admin is configured to receive email at example.org, you can send a test message in the following way. Log in to a node, then go to the command line and issue the command:

shell> swaks -t [email protected] -f [email protected] -s localhost

Doing this sends an email to [email protected] through the mail server on localhost. The received message should be similar to the following:

From [email protected] Mon Aug 09 11:12:11 2010
Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Mon, 09 Aug 2010 11:12:11 -0400
Received: from centos32.lan ([] helo=centos32)
  by kubuntu with esmtp (Exim 4.69)
  (envelope-from <[email protected]>)
  id 1OiU1L-00020b-84
  for [email protected]; Mon, 09 Aug 2010 11:12:11 -0400
Received: from [] ([] helo=centos32)
  by centos32 (envelope-from <[email protected]>)
  (ecelerity r(37071)) with ESMTP
  id 80/00-02010-982EF5C4; Mon, 09 Aug 2010 07:12:09 -0400
Date: Mon, 09 Aug 2010 07:12:09 -0400
Message-ID: <[email protected]>
To: [email protected]
From: [email protected]
Subject: test Mon, 09 Aug 2010 07:12:09 -0400
X-Mailer: swaks v20061116.0 jetmore.org/john/code/#swaks
Status: O
Content-Length: 24
Lines: 2

This is a test mailing

In this example, for the sake of clarity, the server is specified using the -s option. If Momentum is hosted on the local machine this option is not required. However, if you wish to connect to an MTA from a remote computer you must ensure that relaying is configured correctly and that swaks is available on the remote computer.

To learn more about swaks navigate to the swaks website.