Skip to main content

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.

Note

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 admin@example.org -f root@centos32 -s localhost

Doing this sends an email to admin@example.org through the mail server on localhost. The received message should be similar to the following:

1From root@centos32 Mon Aug 09 11:12:11 2010
2Return-path: <root@centos32>
3Envelope-to: admin@example.org
4Delivery-date: Mon, 09 Aug 2010 11:12:11 -0400
5Received: from centos32.lan ([192.168.0.56] helo=centos32)
6  by kubuntu with esmtp (Exim 4.69)
7  (envelope-from <root@centos32>)
8  id 1OiU1L-00020b-84
9  for admin@example.org; Mon, 09 Aug 2010 11:12:11 -0400
10Received: from [127.0.0.1] ([127.0.0.1:50033] helo=centos32)
11  by centos32 (envelope-from <root@centos32>)
12  (ecelerity 3.0.24.37068 r(37071)) with ESMTP
13  id 80/00-02010-982EF5C4; Mon, 09 Aug 2010 07:12:09 -0400
14Date: Mon, 09 Aug 2010 07:12:09 -0400
15Message-ID: <0.00.02010.982EF5C4@centos32>
16To: admin@example.org
17From: root@centos32
18Subject: test Mon, 09 Aug 2010 07:12:09 -0400
19X-Mailer: swaks v20061116.0 jetmore.org/john/code/#swaks
20Status: O
21Content-Length: 24
22Lines: 2
23
24This 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.

Was this page helpful?