soo
01-23-2003, 03:07 PM
Hello,
I am running sendmail on red hat linux 8.0. It's not accepting outside smtp connections.
[root@cvrr2 samba]# telnet cvrr2 25
Trying 132.239.223.218...
telnet: connect to address 132.239.223.218: Connection refused
[root@cvrr2 samba]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 cvrr2.ucsd.edu ESMTP Sendmail 8.12.5/8.12.5; Thu, 23 Jan 2003 11:07:54 -0800
I turned off port blocking:
[root@cvrr2 samba]# /sbin/iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Lokkit-0-50-INPUT (0 references)
target prot opt source destination
Doing a netstat it appears smtp is not listening for outside connections:
[root@cvrr2 samba]# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost.localdo:32768 *:* LISTEN
tcp 0 0 *:imaps *:* LISTEN
tcp 0 0 *:pop3s *:* LISTEN
tcp 0 0 *:netbios-ssn *:* LISTEN
tcp 0 0 *:imap *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:10000 *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:10001 *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:squid *:* LISTEN
tcp 0 0 *:socks *:* LISTEN
tcp 0 0 localhost.localdom:smtp *:* LISTEN
tcp 0 0 *:857 *:* LISTEN
tcp 0 0 *:https *:* LISTEN
udp 0 0 cvrr2.ucsd.e:netbios-ns *:*
udp 0 0 *:netbios-ns *:*
udp 0 0 cvrr2.ucsd.:netbios-dgm *:*
udp 0 0 *:netbios-dgm *:*
udp 0 0 *:10000 *:*
udp 0 0 *:10000 *:*
udp 0 0 *:icpv2 *:*
udp 0 0 *:855 *:*
udp 0 0 *:sunrpc *:*
I placed the server name in /etc/mail/local-host-names
[root@cvrr2 mail]# more local-host-names
# local-host-names - include all aliases for your machine here.
cvrr2.ucsd.edu
How do I correct this problem?
Soo
I am running sendmail on red hat linux 8.0. It's not accepting outside smtp connections.
[root@cvrr2 samba]# telnet cvrr2 25
Trying 132.239.223.218...
telnet: connect to address 132.239.223.218: Connection refused
[root@cvrr2 samba]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 cvrr2.ucsd.edu ESMTP Sendmail 8.12.5/8.12.5; Thu, 23 Jan 2003 11:07:54 -0800
I turned off port blocking:
[root@cvrr2 samba]# /sbin/iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Lokkit-0-50-INPUT (0 references)
target prot opt source destination
Doing a netstat it appears smtp is not listening for outside connections:
[root@cvrr2 samba]# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost.localdo:32768 *:* LISTEN
tcp 0 0 *:imaps *:* LISTEN
tcp 0 0 *:pop3s *:* LISTEN
tcp 0 0 *:netbios-ssn *:* LISTEN
tcp 0 0 *:imap *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:10000 *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:10001 *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:squid *:* LISTEN
tcp 0 0 *:socks *:* LISTEN
tcp 0 0 localhost.localdom:smtp *:* LISTEN
tcp 0 0 *:857 *:* LISTEN
tcp 0 0 *:https *:* LISTEN
udp 0 0 cvrr2.ucsd.e:netbios-ns *:*
udp 0 0 *:netbios-ns *:*
udp 0 0 cvrr2.ucsd.:netbios-dgm *:*
udp 0 0 *:netbios-dgm *:*
udp 0 0 *:10000 *:*
udp 0 0 *:10000 *:*
udp 0 0 *:icpv2 *:*
udp 0 0 *:855 *:*
udp 0 0 *:sunrpc *:*
I placed the server name in /etc/mail/local-host-names
[root@cvrr2 mail]# more local-host-names
# local-host-names - include all aliases for your machine here.
cvrr2.ucsd.edu
How do I correct this problem?
Soo