Telnet can be a very useful tool to test your ArGo Mail Server and connection. Telnet can test all mail ports, and by default, Telnet connects to Port 23.To Use Telnet to access your SMTP server, you need to connect on port the appropriate port ([25 – SMTP] [110– POP3] [143– IMAP]). The steps below were tested from a remote location to a server running ArGoSoft Mail Server Pro version 1.8.8.0.
Test the SMTP Service (PORT 25) follow these steps:
To help clarify the steps below, User input will be Bold Italic Black, ENTER will be Bold Back, Server Response will be Blue.
Type Telnet at a command prompt, and then press ENTER.
At the telnet prompt, type set Local_Echo, press ENTER,
Note: For Windows 2000 use Local_Echo. For Windows 2003 Server and Windows XP use LocalEcho.
Type open <machinename> 25, and then press ENTER.
Note: <machinename> can be an IP address or a FQDN (Fully Qualified Domain Name).
The ArGo Mail Server will replay with the welcome message which includes the version number:
220 yourdomain.com ArGoSoft Mail Server Pro for WinNT/2000/XP, Version 1.8 (1.8.0.0)
The steps below are not required as your mail server has replied but these are comprehensive command line steps for Telnet if required:
Type HELO me, and then press ENTER.
The server will reply with the following:
250 Welcome <Reverse Look Up Of IP Address> [IPADDRESS], pleased to meet you
Type mail from:email@domain.com, and then press ENTER.
The server will reply with the following:
250 Sender “email@domain.com” OK (has too be a valid email address)
Type rcpt to:youremail@yourdomain.com, and then press ENTER.
The server will reply with the following:
250 Recipient “<youremail@yourdomain.com>” OK…
Type Data, and then press ENTER.
The server will reply with the following:
354 Send data. End with CRLF.CRLF
Type Subject: This is a test, and then press ENTER two times.
Type Testing Telnet, and then press ENTER.
Press ENTER, type a period (.), and then press ENTER.
The servers will reply with the following:
250 Message accepted for delivery.<h7x8ixidt2ftobr.120620050513@yourdomain.com>
Note: The server will create a unique message id, such as the one above.
Type quit, and then press ENTER.
The output resembles the following:
221 Aba he
Sample Remote SMTP Session with ArGo Mail Server
|
C:>Telnet
Welcome to Microsoft Telnet Client
Escape Character is 'CTRL+]'
Microsoft Telnet> Set Local_Echo
Localecho on
Microsoft Telnet> Open YourDomain.com 25
220 yourdomain.com ArGoSoft Mail Server Pro for WinNT/2000/XP, Version 1.8 (1.8.8.0)
helo me
250 Welcome, 192.168.1.100 [192.168.1.100], pleased to meet you
mail from: me@yourdomain.com
250 Sender "me@yourdomain.com" OK...
rcpt to: you@yourdomain.com.com
250 Recipient "you@yourdomain.com" OK...
data
354 Please start mail input.
Subject: Test
Connection Test
.
250 Message accepted for delivery.<h7x8ixidt2ftobr.120620050513@yourdomain.com>
quit
221 Aba he.
|
The above sample session was performed on a Windows 2000 Professional workstation.
Sample Local Telnet SMTP Session with ArGo Mail Server
|
C:>Telnet
Welcome to Microsoft Telnet Client
Escape Character is 'CTRL+]'
Microsoft Telnet> Set Local_Echo
Localecho on
Microsoft Telnet> Open YourDomain.com 25
220 yourdomain.com ArGoSoft Mail Server Pro for WinNT/2000/XP, Version 1.8 (1.8.8.0)
helo me
250 Welcome, 192.168.1.100 [192.168.1.100], pleased to meet you
mail from: me@yourdomain.com
250 Sender "me@yourdomain.com" OK...
rcpt to: you@yourdomain.com.com
250 Recipient "you@yourdomain.com" OK...
data
354 Please start mail input.
Subject: Test
Connection Test
.
250 Mail queued for delivery.
quit
221 Closing connection. Good bye.
|
The above sample session was performed on a Windows XP workstation.
Telnet POP3 Commands
user -Username to log on to the account.
Usage: user userid@yourdomain.com ENTER
pass - Password for above.
Usage: pass MyPassWord ENTER
stat - How many messages in the mailbox, and total size in lines.
Usage: stat ENTER
list - Lists each message (numerically - starting with 1) and their respective size in lines.
Usage: list ENTER
top - Retrieves the header and specified number of body lines of a message.
Usage: top 1 0 ENTER - displays just the headers for message #1. top 2 25 ENTER - displays the headers and the first 25 lines of the message body for message #2.
uidl - Retrieves the message(s) identification number.
Usage: uidl 3 ENTER - displays the identification number for message #3.
uidl all ENTER - displays the identification numbers for all messages in the mailbox.
retr - Retrieves the entire message
Usage: retr 2 ENTER - displays the entire message #2.
dele - Deletes a message
Usage: dele 1 ENTER - marks message #1 for deletion upon quitting.
noop - No operation - used to prevent time-outs.
Usage: noop ENTER
rset - Resets the list of messages.
Usage: rset ENTER
quit - Disconnects from the POP server.
Usage: quit ENTER - deletes messages marked by the dele command.
|