Date: Sun, 5 May 2002 20:29:00 -0700 From: Gregory Neil Shapiro <gshapiro@FreeBSD.ORG> To: Albert Everett <freebsd@webintl.com> Cc: freebsd-security@FreeBSD.ORG Subject: Re: jails and sendmail Message-ID: <15573.63612.505244.465190@horsey.gshapiro.net> In-Reply-To: <a05111701b8fba133ba60@[192.168.123.20]> References: <a05111701b8fba133ba60@[192.168.123.20]>
next in thread | previous in thread | raw e-mail | index | archive | help
freebsd> Is it necessary to tell sendmail inside a jail to listen only on that freebsd> jail's IP? If so, how is this done? I'm hoping a line or two in the freebsd> .mc file will do it, but I'm new to editing these files. No, but you need to make sure that the "host" system's sendmail isn't listening on the jail's IP addresses using DAEMON_OPTIONS(). I run a jail system which houses 1 "host" system and three jails. Each of the jail's .mc files are pretty much the same as /etc/mail/freebsd.mc. The "host" system (zim.gshapiro.net is it's hostname) .mc file is: OSTYPE(`freebsd4')dnl define(`confDONT_PROBE_INTERFACES', `True')dnl DAEMON_OPTIONS(`Name=gshapiro.net, Addr=zim.gshapiro.net, Family=inet')dnl DAEMON_OPTIONS(`Name=localhost, Addr=localhost, Family=inet')dnl FEATURE(`no_default_msa')dnl MAILER(`local')dnl MAILER(`smtp')dnl 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?15573.63612.505244.465190>
