check that 25th port is open in ur machine or not.If evrything is Ok then,Its only coz of ur config problem.did you add any lines in the /etc/postfix/main.cf file? If yes,Problem is there...Thats
not the proper one. !!! OR the lines which you uncommented in "main.cf" is conflicting K.
Conflicting Lines means,make sure that the host name and FQDN are assigned to postfix parameters properly.
Sometimes,wrong assignments will make difficulties
eg: hostname = example.com
domain = test.example.com
These values you can check by -> postconf -a | grep "ur domain name"
postconf -a | grep "ur hostname"
Do make proper entry in /etc/hosts If any problems you found in these lines.
Also check ur config file also.
I hope u didnt add any extra lines in ur config file for getting extra features like Authentication and all
and do check output of : -
postconf -n which gives o/p of running config rather than postconf -a
Now u have telnet to the port , now u need to check it whether it working, How do u check by sending a mail to one of the local user and check wheter u received it or not
FYI
Ur system has not been hung , it is just waiting for ur inputs
there are few steps u need to do
1> First U tell from what domain u are [ using helo
2> Then u specify From Whom the mail comes [ using mail from:
3> Then U specify to whom u send the mail [ using rcpt to:
4> Then the message contents [ Type what u want , if needed u can sepecify the subject
5> Then send the message [ Type . [ ya dot only] ]
this steps can be done by using
1> helo Mydomin
2> mail from:user@localhost
3> rcpt to:jo@localhost
4> data
5> From: myself@my-domain- name.com
To: myself@my-domain- name.com
Subject: Project 13-1
6> .
I have cut and pasted the screen shot my PC for ur reference
*****
jo@jo- laptop:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is ^].
220 jo-laptop ESMTP Postfix (Ubuntu)
helo myplace
250 jo-laptop
mail from:kev@localhos t
250 2.1.0 Ok
rcpt to:jo@localhost
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
From: kev@kesite. com
To:jo@lkocal. com
Subject:My First Mail\
Hello This is my first mail
Please check it
.
250 2.0.0 Ok: queued as 99B636C4AE8
************ ********* ********* ********* **
Now u can go one step forward , my configuring spamassasin for the mail server