Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: brian dodds (bdoddsgmail.com)
Date: Wed Dec 03 2008 - 20:59:17 CST
On Wed, Dec 3, 2008 at 8:25 PM, Wietse Venema <wietseporcupine.org> wrote:
> Some third-party library is calling stuff before Postfix chroots.
> Postfix does not support chroot environments that are out of sync
> with the host environment; I am not going to jump hoops to make
> that possible.
> If you want Postfix to use a different resolver, use main.cf's
> export_environment parameter to override resolver settings if
> possible, run the whole lot in a FreeBSD jail, in a Solaris zone,
> or in a Linux virtual server partition.
I wasn't looking for hoop jumping, just further insight, which you've
provided. I guess I'd interpreted all of the chroot documentation
slightly incorrectly - wherever it says to include necessary files, at
the very least /etc/hosts and /etc/resolv.conf, I insinuated that they
would definitely be used. In actuality it's because they might be
used, and in some cases in a version of *nix that behaved differently
(probably BSD) they were necessary - in my current linux incarnation,
not so much.
Thanks for the heads up on the export_environment idea, I'll pursue
that before virtualizing the entire application.