LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Cannot telnet postfix on port 25 (https://www.linuxquestions.org/questions/linux-general-1/cannot-telnet-postfix-on-port-25-a-476180/)

alivewithtechnology 08-22-2006 06:05 AM

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?

alivewithtechnology 08-22-2006 06:12 AM

it's ok I fixed it, I checked through the config file and few a spelling error.

billymayday 08-22-2006 06:17 AM

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

lucktsm 08-22-2006 06:18 AM

Actually, that looks like you're connected to postfix. You can type some smtp commands there and get appropriate responses.

billymayday 08-22-2006 06:22 AM

lucktsm, Postfix should respond with a 220 plus hostname, etc.

Rgds

timmeke 08-22-2006 10:18 AM

@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...

billymayday 08-22-2006 03:23 PM

Is that right. Thanks timmeke


All times are GMT -5. The time now is 06:20 PM.