Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  6 May 2002 23:22:32 -0700 (PDT)
From:      "Nielsen" <nielsen@memberwebs.com>
To:        <freebsd-security@FreeBSD.ORG>
Subject:   Re: jails and sendmail
Message-ID:  <20020507062232.A75CE37B400@hub.freebsd.org>
References:  <a05111701b8fba133ba60@[192.168.123.20]>

next in thread | previous in thread | raw e-mail | index | archive | help
> On the host itself, I have in rc.conf: sendmail_enable="NO", instead
> of "NONE", to allow cron stuff to get mail out.

Good, then it won't interfere with the jails.

> I'd like to have sendmail_enable="YES" in each of my jails. Right
> now, sendmail doesn't seem to want to start in my jails with ="YES".

I guess you aliased the jails ip when starting up?

> Is it necessary to tell sendmail inside a jail to listen only on that
> jail's IP? If so, how is this done? I'm hoping a line or two in the
> .mc file will do it, but I'm new to editing these files.

Nope, not when running in a jail. The jail code translates INADDR_ANY to
just the jails ip. This is done transparently.

> Is there a problem with the localhost sendmail config being shared
> around the jails, since localhost really belongs to the host itself
> (if I understand localhost correctly)?

In a jail "localhost" is also mapped to the jails ip. Again transparently.
Do other daemons run and can you access them from outside the jail and/or
other systems?

Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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