LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-22-2006, 06:05 AM   #1
alivewithtechnology
LQ Newbie
 
Registered: Aug 2006
Location: Peterlee, UK
Posts: 6

Rep: Reputation: 0
Cannot telnet postfix on port 25


I'm running through the tutorial of setting up fedora core 5 at howtoforge.com/perfect_setup_fedora_core_5_p5

I've gone through it all step by step and now I'm at the part where is says to telnet port 25. (telnet localhost 25) and this is the reponse I get.

[root@development ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.


which isn't the response I was expecting.

Can anyone help me get this working?
 
Old 08-22-2006, 06:12 AM   #2
alivewithtechnology
LQ Newbie
 
Registered: Aug 2006
Location: Peterlee, UK
Posts: 6

Original Poster
Rep: Reputation: 0
it's ok I fixed it, I checked through the config file and few a spelling error.
 
Old 08-22-2006, 06:17 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
No, it's not what you want.

Is postfix running?

Try

netstat -n -p --listen | grep :25

and post the results. Hopefully, you'll see alistenning process called master, but I'd assume not given your results so far
 
Old 08-22-2006, 06:18 AM   #4
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Rep: Reputation: 30
Actually, that looks like you're connected to postfix. You can type some smtp commands there and get appropriate responses.
 
Old 08-22-2006, 06:22 AM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
lucktsm, Postfix should respond with a 220 plus hostname, etc.

Rgds
 
Old 08-22-2006, 10:18 AM   #6
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
@billymayday, it will only do that if smtpd_banner is properly set in main.cf.
Or, as said in the comments in main.cf, 220 + hostname is the proper response according to RFC.

The telnet response ("connected") does however indicate that the connection to port 25 is made, regardless of which daemon is listening...
 
Old 08-22-2006, 03:23 PM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Is that right. Thanks timmeke
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PLESK [Solution] Change port to 23 (telnet) instead of default port 8443 x5452 Linux - Software 6 05-10-2009 05:58 AM
cannot telnet postfix smtp 25 on external ip slam Linux - Software 4 04-20-2006 03:32 PM
postfix: i cantelnet localhost, but not telnet ip address efm Linux - Networking 1 02-27-2006 05:41 AM
postfix or telnet problem?? hivtop Red Hat 0 04-20-2005 06:47 AM
Telnet no response to port 25 running Postfix shyee Fedora 2 01-09-2005 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:55 PM.

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
Open Source Consulting | Domain Registration