Red Hat Bugzilla – Bug 483186
Please add hook to /etc/init.d/postfix for optional chroot support
Last modified: 2009-05-26 09:03:00 EDT
Created attachment 330428 [details]
Patch to add chroot hook to /etc/init.d/postfix
Description of problem:
Parts of postfix can be chrooted, in particular, smtpd.
When chrooting postfix, it is very nice if the libraries and config files in the chroot can be automatically updated when postfix is started.
Please apply this very simple patch to /etc/init.d/postfix so that sys admin's who do want to chroot postfix can use this hook to do so in a clean way without having to modify the /etc/init.d/postfix script (which can causes .rpmnew files on upgrades).
Implemented in postfix-2.6.1-1.fc12, in a slightly different way.
If /etc/postfix/chroot-update is an executable, it will be run on start/reload.