Community
User Guides
Support
Community
Help Forums
English Forum
General
About our Community
General Discussion
News and Feedback
Products
F-Secure SAFE
F-Secure FREEDOME
F-Secure KEY
F-Secure SENSE Router
F-Secure ID PROTECTION
Other products
Beta programs
Feature Requests
Finnish Forum (Tukifoorumi)
Tuotteet Kotiin
F-Secure SAFE
F-Secure FREEDOME
F-Secure KEY
F-Secure SENSE Router
F-Secure ID PROTECTION
Muut tietoturvatuotteet
Support Articles
Language
English
Suomi
Deutsch
Français
日本語
Svenska
Dansk
Italiano
Nederlands
Norsk
Polski
中文 (繁體)
Products & Services
F-Secure TOTAL
F-Secure SAFE / Internet Security / Anti-Virus
F-Secure FREEDOME
F-Secure KEY
F-Secure SENSE Router
F-Secure ID PROTECTION
Other products
Common topics
User Guides
Support
Login
|
Register
Sending a test message from the command line - F-Secure Community
<main> <article class="userContent"> <p> </p> Sending a test message from the command line <p>This article describes how you can send test messages from the command line to test an F-Secure Messaging Secure Gateway (FSMSG) appliance installation. The steps are also similar for any server using SMTP. </p> <p><strong>Note:</strong> This article assumes technical understanding of the SMTP protocol. </p> <p>After the installation of an FSMSG or any other mail appliance, the mail flow should be tested. Since the MX records necessary for mail delivery take time to update, sending mail from the command line to and from the machine in question is a valid test method. </p> <p>These instructions are also valid for other SMTP installations in principle. For this reason, the term "mail appliance" is used in the below instructions: </p> <ol><li> From a command prompt, telnet to port 25 on the mail appliance. If connecting from another machine, you should use the IP address of the mail appliance; from the same machine, use "localhost": <pre class="code codeBlock" spellcheck="false">telnet localhost 25</pre> </li> <li> Acknowledge the connection to the Mail Transfer Agent: <pre class="code codeBlock" spellcheck="false">helo example.com</pre>. This is the address that you are using as the source of the message. </li> <li> Enter the email address from whom the message is coming. It is recommended that you always use a valid From address in case something goes wrong and the message bounces: <pre class="code codeBlock" spellcheck="false">mail from: testuser@example.com</pre> </li> <li> Enter the email address to whom the message is going: <pre class="code codeBlock" spellcheck="false">rcpt to: valid.user@example.net</pre> </li> <li> Identify the end of the envelope (address) information: <pre class="code codeBlock" spellcheck="false">data</pre> </li> <li> Start the body of the message but identify the header information first: <pre class="code codeBlock" spellcheck="false">Subject: Test message</pre> </li> <li> Continue the body text, typing in text for the message: <pre class="code codeBlock" spellcheck="false">This is a test message. Testing 1, 2, 3.</pre> </li> <li> End the body of the message by typing a single period alone on a line (.) and then by pressing <strong>ENTER</strong>. </li> <li> If successful, you should see a line similar to the following: <pre class="code codeBlock" spellcheck="false">250 2.0.0 i2QJcnKX015870 Message accepted for delivery.</pre> </li> <li> Type <pre class="code codeBlock" spellcheck="false">quit</pre> to go back to the command prompt. </li> </ol> </article> </main>