Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jun 2004 17:30:57 -0700
From:      Andy Clements <awc@candhsoftware.com>
To:        freebsd-questions@freebsd.org
Subject:   sendmail only accepting local connections
Message-ID:  <40BFC2C1.7000500@candhsoftware.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40BFC2C1.7000500>