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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
My conf...
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)?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.