[plug] Sendmail on RH 8.0- accepting connections

Tim Bowden bowden at iinet.net.au
Wed Feb 5 23:48:10 WST 2003


On Wed, 2003-02-05 at 21:12, Russell Steicke wrote:
> On Wed, Feb 05, 2003 at 12:41:37PM +0000, Mark O'Shea wrote:
> ...
> > One thing that Redhat tends to do (I don't know if they do in RH8) is set
> > up sendmail so that it doesn't accept connections that aren't local out of
> > the box.  Check /usr/lib/sendmail-cf/cf/redhat.mc (might be RedHat.mc). If
> > it has a commented line (ie. starting with dnl) saying that the next line
> > will stop all external connections then that will be your problem.  Just
> > put dnl at the begining of the line (or delete it) and then remake the cf
> > file:
> > 	m4 newmcfile.mc > sendmail.cf
> > Then copy it over and restart sendmail.  That might be a lot of the
> > problem.  Then again it might not.
> 
> I was looking at this just this afternoon.  On RH8 it's
> /etc/mail/sendmail.mc, and it does default to only listening on
> 127.0.0.1.  There are instructions in comments in the file.
> 
I had found that and dnl'd it.  I don't know anything about netstat but
from what I can tell from the netstat -nl listing I posted earlier it
should be accepting connections from anywhere.  Can anyone confirm/ deny
this?

Thanks,
Tim Bowden






More information about the plug mailing list