LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2009, 07:50 AM   #1
renuaseri
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 15
how to test SMTP


hello all,

i have install postfix (smtp server) on ubuntu.
and also configured that by using these command --

1. apt-get install postfix
2. dpkg-reconfigure postfix

every thing is fine.........
but now how to test that smtp is working or not...
i have not install telnet, is this required for smtp?

plz send me step to check smtp ......

thank you.....
 
Old 07-06-2009, 08:02 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
To test the smtp server, you can use telnet

Code:
telnet IP_SERVER 25
Take a look at
http://exchange.mvps.org/smtp_frames.htm
 
Old 07-06-2009, 08:37 AM   #3
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by renuaseri View Post
hello all,

i have install postfix (smtp server) on ubuntu.
and also configured that by using these command --

1. apt-get install postfix
2. dpkg-reconfigure postfix

every thing is fine.........
but now how to test that smtp is working or not...
i have not install telnet, is this required for smtp?

plz send me step to check smtp ......

thank you.....
try using netcat or nc

plenty of examples in the man pages to help get you going
 
Old 07-06-2009, 09:14 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
http://exchange.mvps.org/smtp_frames.htm should get you on the way. As far as I know: it's smtp so it's universal.

If you say that you don't have telnet installed, do you mean the server or the client. You only need the client and I'm quite sure that it is installed; just try telnet and if you don't get a 'command not found' or something like that, you're OK.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP SMTP connection to gmail SMTP protocol violation ratcateme Programming 9 02-23-2009 04:58 AM
smtp auth with sendmail through smtp.sbcglobal.yahoo.com woodson2 Fedora 0 10-23-2008 03:55 PM
LXer: Postfix Stress Test with smtp-source and top LXer Syndicated Linux News 0 09-28-2008 08:42 PM
Binding SMTP service into IP tables, and redirecting SMTP to port 366 bamquest6 Linux - Software 1 09-24-2008 03:48 AM
Telnet to Port 25 to test SMTP. jnkyrd111 Linux - Newbie 2 03-29-2002 02:55 PM


All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration