sendmail only accepting local connections

Andy Clements awc at candhsoftware.com
Thu Jun 3 17:31:01 PDT 2004


Hello,

I'm having problems getting sendmail to accept anything but local 
connections.  Example of telnet connections:

bukowski# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.candhsoftware.com.
Escape character is '^]'.
220 bukowski.candhsoftware.com ESMTP Sendmail 8.12.10/8.12.10; Thu, 3 
Jun 2004 17:19:42 -0700 (MST)
quit
221 2.0.0 bukowski.candhsoftware.com closing connection
Connection closed by foreign host.
bukowski# telnet bukowski.candhsoftware.com 25
Trying 65.100.103.66...
telnet: connect to address 65.100.103.66: Connection refused
telnet: Unable to connect to remote host

Netstat only shows that localhost is listenning:

bukowski# netstat -nat
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  127.0.0.1.25           *.*                    LISTEN

I assume that the local address should be *.25

I've added the following line to my .mc file and recreated sendmail.cf 
and restart sendmail
DAEMON_OPTIONS(`Name=IPv4, Family=inet')

but that didn't change anything.... I've search through the handbook and 
google and tried several different suggestions but no luck... so I am at 
a loss.

Please CC me on the reply as I am not on the list.

Thanks in advance.
Andy Clements




More information about the freebsd-questions mailing list