Testing Your Installation
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@example.com -f root@centos32 -s localhost
Doing this sends an email to
firstname.lastname@example.org through the mail server on localhost. The received message should be similar to the following:
From root@centos32 Mon Aug 09 11:12:11 2010 Return-path: <root@centos32> Envelope-to: email@example.com Delivery-date: Mon, 09 Aug 2010 11:12:11 -0400 Received: from centos32.lan ([192.168.0.56] helo=centos32) by kubuntu with esmtp (Exim 4.69) (envelope-from <root@centos32>) id 1OiU1L-00020b-84 for firstname.lastname@example.org; Mon, 09 Aug 2010 11:12:11 -0400 Received: from [127.0.0.1] ([127.0.0.1:50033] helo=centos32) by centos32 (envelope-from <root@centos32>) (ecelerity 220.127.116.11068 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: <0.00.02010.982EF5C4@centos32> To: email@example.com From: root@centos32 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.