Discussion:
Sendmail weirdness
(too old to reply)
swangdb
2010-07-22 19:46:50 UTC
Permalink
Basically, I can telnet to port 25 of localhost but not of the machine
name or the IP address.

# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 <servername> ESMTP Sendmail 8.14.4/8.14.4; Thu, 22 Jul 2010
14:43:06 -0500 (CDT)

# telnet <servername> 25
Trying <ip address>...
telnet: Unable to connect to remote host: Connection refused

Any ideas?

Thanks!
Chris Ridd
2010-07-22 20:06:23 UTC
Permalink
Post by swangdb
Basically, I can telnet to port 25 of localhost but not of the machine
name or the IP address.
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 <servername> ESMTP Sendmail 8.14.4/8.14.4; Thu, 22 Jul 2010
14:43:06 -0500 (CDT)
# telnet <servername> 25
Trying <ip address>...
telnet: Unable to connect to remote host: Connection refused
Any ideas?
You've prevented it from listening to external interfaces, using eg
netservices(1M) or by configuring the sendmail SMF service's
config/local_only property?
--
Chris
swangdb
2010-07-22 20:30:19 UTC
Permalink
Post by Chris Ridd
Post by swangdb
Basically, I can telnet to port 25 of localhost but not of the machine
name or the IP address.
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 <servername> ESMTP Sendmail 8.14.4/8.14.4; Thu, 22 Jul 2010
14:43:06 -0500 (CDT)
# telnet <servername> 25
Trying <ip address>...
telnet: Unable to connect to remote host: Connection refused
Any ideas?
You've prevented it from listening to external interfaces, using eg
netservices(1M) or by configuring the sendmail SMF service's
config/local_only property?
Good suggestions. Alas, no luck so far.

# netservices open
print/server not enabled: disabling print/rfc1779
print/server not enabled: disabling print/ipp-listener
restarting syslogd
restarting sendmail
restarting wbem

# telnet <server> 25
Trying <ip address>...
telnet: Unable to connect to remote host: Connection refused


# svcprop sendmail |grep local_only
config/local_only boolean false

Loading...