RedHat 8.0: Wont connect

Posted on 2003-02-27
Medium Priority
Last Modified: 2012-05-04
I did a install of Qmail using the following docs;

And I'm recieving the following error;
[root@maverick root]# telnet localhost 25
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

Question by:MAVERICK
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 8040060
1.  Try "netstat -na|grep 25", that will show if Qmail is listening on port 25 or not.

2.  Try "ps -A|grep qmail", you should see "qmail-smtpd" in the list, if it's not there check the logs (not sure on the location, /var/log/something I think) for errors and report back to us.

Give those a go and let us know the results and we'll take it from there.

Oh, almost forgot, try telneting to your IP address not localhost.  If Qmail is bound to the IP it won't accept a connection from anywhere else, even localhost.

Expert Comment

ID: 8040085
If you followed their instructions the output of "qmailctl stat" would possibly be useful too :)

Author Comment

ID: 8050264

I made a mistake in setting up Qmail. Re-reading the installation guide fixed that.

RTFM relay permissions set :)

echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
qmailctl cdb

I needed to load the db from the tcp.smtp file.

Sorry for wasting your time. I am not sure what I should do with this question as I'm sure your tips would be helpful to someone in the future.

Thanks alot

Accepted Solution

Netminder earned 0 total points
ID: 8251642
User resolved; points refunded and question closed.

EE Admin

Featured Post

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question