Search  
You are here:  Articles    
Article Categories Minimize

Articles Minimize

Current Articles | Categories | Search

Using Telnet to test your connection
Posted by SteveT on Sunday, February 03, 2008 :: Last Updated on Sunday, February 03, 2008:: Views 690

   

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.

Previous Page | Next Page


Donations Minimize

Find our site useful? Make a donation to show your support

Donate

logo_ccMC.giflogo_ccVisa.giflogo_ccDiscover.giflogo_ccAmex.gif

ArGoStuff Supporters

 


News from ArGoSoft Minimize
1 2 3 4 5


Mid-Summer Promotion - Mail Server .NET

We are launching mid-summer promotion with our Mail Server .NET. You can upgrade, or get a new license for $50.00 less until July 15 2008.

7/4/2008 9:36:35 AM
ArGoSoft Mail Server .NET v1.0.5.2

Mail Server

  • Added Available Updates checking. Of course, it will show up only after we release the next version... If new version is avialable, a link will be displayed on the bottom of the UI, suggesting to upgrade
  • "SMTP Log In" will be no longer be registered in the last login database, because it causes confusion when the web interface displays last login protocol;
  • Updated help files, now they reflect new Remoting services;

Web Interface

  • "Wiping" of trash folder now works. With each login, messages, located in the trash folder, and older than 3 days will be wiped out;
6/16/2008 8:45:05 AM
German Resources for Web Interface

Now we have a German translation of the web interface of Mail Server .NET! Thanks to Roland Bieri.

6/6/2008 10:50:26 PM
ArGoSoft Mail Server .NET v1.0.5.1

Mail Server

  • Fixed a bug from 1.0.5.0 - was impossible to add domain groups and domains from the UI;

Web Interface

  • Created a page for localized resource files. If you are willing to contribute your resources, we would be very thankful;
  • It turns out, major IMAP clients do not allow rename of the Inbox folder. They display localized name of Inbox, but an actual name of folder on the server stays "Inbox". Now the web interface will allow the same - you can specify the name of inbox, but it will be just a display name, how it will appear on the web interface. It will keep compatibility with IMAP clients;
  • CC and BCC headers on the Write Email page are now initially hidden.
  • When accessing the web interface initially, user will be prompted to enter default SMTP server address;
6/3/2008 11:43:33 AM
ArGoSoft Mail Server .NET v1.0.5.0

Web Interface

It is a major change, even though there are no significant changes in the "look and feel" of the web interface.

  • Now all the communication with mail server is performed via a remoting object, which is hosted in the mail server.
    • It allows to run the mail server and the web interface on separate computers;
    • Eliminates access right problems to directories and databases;
    • Web interface no longer requires SQL Server 2005 or SQL Server Express on the computer where it runs;
  • Something you've been asking for very long time! Now users can send out HTML messages
  • Almost entire text that appears in the UI is placed in resource files, allowing easy localization of string resources;
  • When going out, mail is relayd to mail server via SMTP, instead of going directly to outbox. It ensures, that all server plugins are called, and all server generated headers (including Domain Keys) are properly inserted;
  • Server and Domain Group administration temporarily are not available. We will be releasing new separate web application, which will be doing that. Currently, you still can use old version of web interface for administering server via web, old and new version can co-exist peacefully;

Mail Server

  • Now each account has No SMTP access flag, allowing to have "incoming only" accounts; Works only when SMTP authentication is enabled;
  • Optimized the load of Edit Domain Group box. In earlier versions it was taking long time, because that calculation of the usage was being performed at the box load. Now calculation will be not perfomed, unless user clicks Calculate Usage link;

Following changes are related to the major change of the web interface (see above):

  • Added remoting object, which is used to communicate with the web interface;
  • Added Default Content-Type field to users, allowing them to select in which initial state is the Compose Mail message body editor: plain text or HTML;
  • Now each user can select the name for their Inbox.  Useful when creating localized versions.
5/30/2008 11:18:43 PM


1 2 3 4 5

Protect Your Computer today withGet AVG Today


Home:ArGoStuff:Forums:Articles:Cyber Security Tips:FAQ:Downloads:Links
Copyright 2006-2008 by ArGoStuff Terms Of Use Privacy Statement