fix chroot mail hook