Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
1st it can be enabled and disabled...............2nd why u want telnet by port 25....you can use the default port of telnet........to telnet......u should enable the service telnet..........................
I am using telnet to test the service on port 25..SMTP
SMTP is not running under xinetd..I have configured SMTPS to run under xinetd. Seems to be a standalone server....
I am using Fedora Core 2. When i run nmap..it shows the smtp 25 port open. Why cannot i establish a decent connection to port smtp????
Tell me if my understanding of your question is wrong.
You are trying to run SMTPS. you have disabled, or not, the STMP server that comes with fedora and have set up SMTPS to run under xinetd, but you cannot always get a connection, using telnet, to it but nmap shows that the port is open.
So you have 2 (possibly) main questions :
1. Is the server listening at port 25 the SMTPS server?
2. How come you cannot establish a decent connection if it is your SMTPS server.
For the first question, you can try running netstat -tap as root. Look for the program listening at port 25 (smtp). If it is xinetd then it should be for your SMTPS server. Otherwise, some other program is listening at that port and you'll have to stop it somehow.
For the second question, maybe the server is dropping your connection because you cannot complete the ssl handshake. Maybe you can give us more information like the server you are trying to run, exactly what has happened.
You might want to investigate netcat and cryptcat and telnet-ssl for this purpose?
if its the default smtp of fedora..how does one disable it? Nmap shows smtp running on port 25, whereas xinetd does not have smtp as a service under it. I have configure a file smtps under xinetd which is also listening to port 25 using stunnel. I am able to connect to imap and pop3 decently. Its only the smtp server.
Fedora Core 2
Apache web server
Qmail server installed as per qmailrocks with vpopmail,qmailadmin,courier-imap and squirremail.
It doesn't sound like a firewall problem; if the firewall was running, you'd get a connection timeout instead, not a connection reset by peer error.
I suspect the problem is like mirradic suggested - you can't establish an encrypted connection using telnet, so after a few seconds of trying to sort things out, the server drops you. Have you tried pointing an actual mail client at the server (after making sure the client is configured to use ssmtp)?