RedHat 8.0: Wont connect

I did a install of Qmail using the following docs;
http://www.lifewithqmail.org/lwq.html

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

Thanks
Maverick
LVL 1
MAVERICKAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GayleDCommented:
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.
0
GayleDCommented:
If you followed their instructions the output of "qmailctl stat" would possibly be useful too :)
0
MAVERICKAuthor Commented:
Hi,

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
--Maverick
0
NetminderCommented:
User resolved; points refunded and question closed.

Netminder
EE Admin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.