unblock port 25

Wayne Pinette Wpinette at tru.ca
Wed Oct 26 18:00:54 UTC 2005


do a netstat -l and see if your program is listening to port 25 (smtp)
for all interfaces and areas, or if it is just listening on
localhost.localdomain.

if it only shows listenting to smtp on localhos.localdom and not ont *
or hostname, you need to reconfigure your smtp server to make sure it's
listening on more than just localhost.

Also, make sure your iptables isn't blocking port 25.  The easiest way
to ensure that is to turn it off while testing :
/etc/init.d/iptables stop  will do this.


Wayner


>>> Nagarjuna_Cherukuri at infosys.com 10/26/05 10:55 am >>>

Hi,



Can anyone tell me how to enable port 25 in my server? I am able to
ping
to this port as local host, but it is failing when try to ping using
DNS.



[root at hydlmuk lib]# telnet localhost 25

Trying 127.0.0.1...

Connected to localhost.localdomain (127.0.0.1).

Escape character is '^]'.

220 hydlmuk.ad.infosys.com ESMTP Sendmail 8.11.6/8.11.6; Wed, 26 Oct
2005 23:15:11 +0530

quit

221 2.0.0 hydlmuk.ad.infosys.com closing connection

Connection closed by foreign host.

You have new mail in /var/spool/mail/root



[root at hydlmuk lib]# hostname

hydlmuk

[root at hydlmuk lib]# telnet hydlmuk 25

Trying 172.25.125.203...

telnet: Unable to connect to remote host: Connection refused



My nmap output is as follows.



[root at hydlmuk lib]# nmap hydlmuk



Starting nmap V. 2.54BETA22 ( www.insecure.org/nmap/ )

Interesting ports on hydlmuk.ad.infosys.com (172.25.125.203):

(The 1528 ports scanned but not shown below are in state: closed)

Port       State       Service

21/tcp     open        ftp

22/tcp     open        ssh

23/tcp     open        telnet

110/tcp    open        pop-3

111/tcp    open        sunrpc

143/tcp    open        imap2

1521/tcp   open        ncube-lm

5010/tcp   open        telelpathstart

5680/tcp   open        canna

6000/tcp   open        X11

22273/tcp  open        wnn6

22289/tcp  open        wnn6_Cn

22305/tcp  open        wnn6_Kr

22321/tcp  open        wnn6_Tw



can anyone tell me how to resolve this issue?



thanks

nagarjuna



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are
unlawful. This e-mail may contain viruses. Infosys has taken every
reasonable precaution to minimize this risk, but is not liable for any
damage you may sustain as a result of any virus in this e-mail. You
should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content
of all messages sent to or from this e-mail address. Messages sent to or
from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe 
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list