Anyone know why my port 25 and 110 on linux redhat 9.0 is not open?
I check my iptables in /etc/sysconfig/iptables and see that port 25 is using ACCEPT option which meant it's open.
I did check nmap localhost and see that port 25 is open.
But somehow when i do nmap mydomain.org/com/net then the port 25 is not open but in state closed.
I need port 25 for my sendmail to work with my squirrelmail. So I be able to send mail and receive mail to outside source.
I did configure my sendmail such as.. go into /etc/mail/sendmail.mc and comment out the following line:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
That is, place a dnl in front so it looks like the following:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Then I remake sendmail.cf file by moving into the /etc/mail directory and typing in make -C /etc/mail
Then I restart sendmail. (/etc/init.d/sendmail/restart)
Errr... the problem still not solve. I think that my deamon somehow is not listening to port 25. What do you guy think?
But if i do nmap localhost i see port 25 open.. that's doesn't make sense to my idea of daemon is not listening to port 25.
I'm right now very confuse.. any help? Please do.. i really appreciate it.
BTW.. I'm not an expert in linux or anything.. just a wanna be
.. so please explain to me in a very gentle way
... or else I'll be even more confuse.
Thanks guy.. hope you guy read this statement and come up a solution that will work for me.