postfix-nochroot - change /etc/postfix/master.cf to not use chroot
Contents
Description
Renames /etc/postfix/master.cf to /etc/postfix/master.cf.bak and creates a new /etc/postfix/master.cf
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).
Name
postfix-nochroot - change /etc/postfix/master.cf to not use chroot
See Also
selinux(8), sestatus(8),selinuxenabled(1), check-selinux-installation(8),selinux-config-enforcing(8),selinux-policy-upgrade(8),http://wiki.debian.org/SELinux - More about SELinux Debian install, http://etbe.coker.com.au/tag/selinux/ - Russell's SE Linux blog posts, http://etbe.coker.com.au/2008/08/02/postfix-and-chroot/ - post about this script.
Synopsis
postfix-nochroot
