Man pages sections > man8 > postfix-nochroot

postfix-nochroot - change /etc/postfix/ to not use chroot

postfix-nochroot(8) System Manager's Manual postfix-nochroot(8)


postfix-nochroot - change /etc/postfix/ to not use chroot




Renames /etc/postfix/ to /etc/postfix/ and creates a new /etc/postfix/ file with every service configured to not use chroot. Every modified line is commented. It also restarts Postfix (to apply the change) and rmoves the unused chroot directories /var/spool/postfix/{etc,lib,usr} .
Using a chroot environment makes upgrades more difficult and gets in the way when running SE Linux (without actually providing any security benefit in a SE Linux system).


selinux(8), sestatus(8), selinuxenabled(1), check-selinux-installation(8), selinux-config-enforcing(8), selinux-policy-upgrade(8), - More about SELinux Debian install, - Russell's SE Linux blog posts, - post about this script.


This program and it's man page was written by Russell Coker <> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3.
Debian Sid