RE: unblock port 25
From: Wayne Pinette (Wpinette_at_tru.ca)
Date: 10/26/05
- Previous message: Mike Klinke: "Re: unblock port 25"
- Maybe in reply to: Nagarjuna Rao Cherukuri: "unblock port 25"
- Next in thread: Nagarjuna Rao Cherukuri: "RE: unblock port 25"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Oct 2005 11:15:39 -0700 To: <Nagarjuna_Cherukuri@infosys.com>, <redhat-list@redhat.com>
Im not sure what smtp server you are using, if it's sendmail,
then Marco Shaw's response is what you need :
<advice type="good" author="Marco Shaw">
Something else to check out:
http://www.linuxselfhelp.com/quick/sendmail.html
Check #6, some versions of RedHat come with a
'secured' sendmail that will only listen on 127.0.0.1.
The netstat suggestion will also point that out.
Marco
RHCE
</advice>
If you are using Postfix you want to edit /etc/postfix/main.cf
In there you want to make sure you have inet_interfaces=all. Usualy
postfix is compiled with this
as the default action, but just in case, put inet_interfaces=all there
and restart postfix.
Wayner
>>> Nagarjuna_Cherukuri@infosys.com 10/26/05 11:07 am >>>
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 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Mike Klinke: "Re: unblock port 25"
- Maybe in reply to: Nagarjuna Rao Cherukuri: "unblock port 25"
- Next in thread: Nagarjuna Rao Cherukuri: "RE: unblock port 25"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|