[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: unblock port 25



Yes, netstat -i shows me that port 25 is listening only for local host.

[root hydlmuk lib]# netstat -l | grep 25
You have new mail in /var/spool/mail/root
[root hydlmuk lib]# netstat -l | grep -i smtp
tcp        0      0 localhost.localdom:smtp *:*
LISTEN
[root hydlmuk lib]#

How can change my smtp server configuration?

-----Original Message-----
From: Wayne Pinette [mailto:Wpinette tru ca] 
Sent: Wednesday, October 26, 2005 11:31 PM
To: Nagarjuna Rao Cherukuri; redhat-list redhat com
Subject: Re: unblock port 25

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 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 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 hydlmuk lib]# hostname

hydlmuk

[root 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 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 redhat com?subject=unsubscribe 
https://www.redhat.com/mailman/listinfo/redhat-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]