Click to See Complete Forum and Search --> : sendmail not accepting outside connections


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

HighOrbit
01-23-2003, 03:53 PM
Just checking the obvious .... is the sendmail daemon up and running?

soo
01-23-2003, 04:30 PM
Yes.

[root@cvrr2 mail]# ps -ef | grep sendmail
root 15397 1 0 Jan22 ? 00:00:01 sendmail: accepting connections
smmsp 15407 1 0 Jan22 ? 00:00:00 sendmail: Queue runner@00:10:00
root 17431 17284 0 12:35 pts/0 00:00:00 grep sendmail

ask_123
01-24-2003, 12:02 AM
this may help
http://linuxnewbie.org/forum/showthread.php?s=&threadid=85505

plasma
01-30-2003, 12:00 PM
Follow the link, the instructions helped me.

I'm happy now!

- Plasma