[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sun-managers
Subject:    Solaris 10 Sendmail problem
From:       Louis Perley <lperley () lp3 ! net>
Date:       2007-03-29 14:09:48
Message-ID: 81A7F06C-21A0-4441-B0A8-577F2F302B63 () lp3 ! net
[Download RAW message or body]

Hello all,
	I've been struggling to get sendmail to accept outside connections  
on my Solaris 10 server (it was upgraded from Solaris 8, which was  
working fine). I can send outbound email just fine with no problems,  
but it will only accept connections from localhost, not anything  
else. I've verified it is enabled in SMF. I've looked around (both in  
SunManagers archives and on Google) and done the following, with no  
net change.

Changed the setting for local_only to false as seen in the sendmail  
man page
# svccfg -s svc:/network/smtp:sendmail setprop config/local_only = false
# svcadm refresh svc:/network/smtp:sendmail

I then thought that maybe it was TCP_WRAPPERS that was causing me  
problems , so I added

sendmail: ALL

to /etc/hosts.allow

svcs does show it as running
online         21:44:23 svc:/network/smtp:sendmail

And this is the net result:
$ mconnect localhost
connecting to host localhost (127.0.0.1), port 25
connection open
220 mosiah.rootdomain.net ESMTP Sendmail 8.13.7+Sun/8.13.7; Wed, 28  
Mar 2007 21:55:23 -0600 (MDT)

This has always worked, but anything else on the local machine(IP,  
DNS Name, etc) fails as follows:
$ mconnect ccc.xx.xxx.24
connecting to host ccc.xx.xxx.24 (ccc.xx.xxx.24), port 25
connect: Connection refused

$ mconnect mosiah.rootdomain.net
connecting to host mosiah.rootdomain.net (ccc.xx.xxx.24), port 25
connect: Connection refused


Most of the googling I've done points me to stuff about how inetd is  
managed on Solaris 10 with inetadm and such, which hasn't helped  
since it appears to be managed solely by SMF (though I guess the  
reason this keeps popping up in google is that telnetd and such are  
also now linked to use TCP_WRAPPERS)

Where do I go from here? What have I missed? I will summarize so that  
it will show up in the archive for others.

Thanks,

Louis Perley
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic