From owner-freebsd-questions@FreeBSD.ORG Thu Sep 16 15:54:05 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5F6816A4CE for ; Thu, 16 Sep 2004 15:54:05 +0000 (GMT) Received: from web41106.mail.yahoo.com (web41106.mail.yahoo.com [66.218.93.22]) by mx1.FreeBSD.org (Postfix) with SMTP id 9BF7D43D3F for ; Thu, 16 Sep 2004 15:54:05 +0000 (GMT) (envelope-from bsd_mailing@yahoo.com) Message-ID: <20040916155405.66736.qmail@web41106.mail.yahoo.com> Received: from [64.172.21.201] by web41106.mail.yahoo.com via HTTP; Thu, 16 Sep 2004 08:54:04 PDT Date: Thu, 16 Sep 2004 08:54:04 -0700 (PDT) From: borg To: Volker Kindermann In-Reply-To: <20040915124423.058e1010@ariel.office.volker.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: "FreeBSD Questions." Subject: Re: postfix chrooting. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 15:54:05 -0000 --- Volker Kindermann wrote: > > My question is, how to proceed after that ? What > do I > > have to do to create the chroot environment. And > what > > option I should enclude in the main.cf to make > postfix > > start chrooted. > > look at master.cf. There you can determine, which > postfix service runs chrooted (not all of them will > run chrooted). > > You don't have to change main.cf for chrooted > operation. > > -volker master.cf says to look at examples/chroot-setup and there is a freebsd specific file. That's exactly what I posted ealier. umask 022 mkdir /var/spool/postfix/etc chmod 755 /var/spool/postfix/etc cd /etc ; cp host.conf localtime services \ resolv.conf /var/spool/postfix/etc It only prepair the directory for you with the needed files. But you didn't answer how can the chrooting be done after that, and how can I check if Postfix is chrooted when doing so. please provide more details/steps. regards, ===== "UNIX, it's a way of life." _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com