postfix chrooting.

borg bsd_mailing at
Thu Sep 16 08:54:05 PDT 2004

--- Volker Kindermann <ml at> 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 to make
> postfix
> > start chrooted.
> look at There you can determine, which
> postfix service runs chrooted (not all of them will
> run chrooted).
> You don't have to change for chrooted
> operation.
>  -volker 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.


"UNIX, it's a way of life."

Do you Yahoo!?
Declare Yourself - Register online to vote today!

More information about the freebsd-questions mailing list