Date: Tue, 7 May 2002 13:28:52 -0500 From: Albert Everett <freebsd@webintl.com> To: freebsd-security@freebsd.org Subject: Re: jails and sendmail Message-ID: <a05111701b8fdcbd88cf6@[192.168.123.20]> In-Reply-To: <20020507062232.A75CE37B400@hub.freebsd.org> References: <a05111701b8fba133ba60@[192.168.123.20]> <20020507062232.A75CE37B400@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks to those who have answered my post. Full Sendmail now working on host and in all jails. By the way, can someone point me to the postfix patch that allows it to run in a jail? Albert > > 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. -- on host, setting a daemon option (to listen only on host ip) in .mc makes sendmail_enable="yes" ok in rc.conf. Can also use command line option in sendmail_flags in rc.conf - see p691 in O'Reilly Sendmail 2nd ed. book. > >> 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? -- yes, in rc.conf > >> 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. -- good to know, thanks > >> 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? -- good to know about jail localhost, thanks. sshd runs in all jails ok. haven't tried others yet > >Nate > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-security" in the body of the message -- ----------------------------------------------------------------------- Albert Everett - Web International, Inc. <freebsd@webintl.com> 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?a05111701b8fdcbd88cf6>