Hi
>how do you make sendmail listen to port 25 by default.
sendmail by default runs on port 25, however u can make it run on some other port.
>now when i telnet to port 25, i am able to access the port but it does not tell me
>which service is running on that port.
If sendmail is running and u telnet at port 25 it does show which service is running.
Do a
ps x| grep sendmail
It will tell u whether sendmail is running on which port if it is, at all.
>when i try to mail i receive the mail only after some time even on the same machine.
try and send a mail using sendmail -v, it will tell u what exactly it is doing.
Regards
Abhijeet.