Paul R. Ganci:
> On 06/19/2016 07:26 AM, Wietse Venema wrote:
> > Turn off chroot (edit master.cf, then do "postfix reload"). If RedHat 
> > decides to turn on chroot, then it is is their responsibility, not 
> > mine, to figure out what nsswitch, pam, etc. files are needed under 
> > /var/spool/postfix, and to keep those files in sync with the base 
> > operating system. 
> Sorry I didn't mean to offend if I did.  As I said there is no issue 

No offense taken. It just is a recurring problem with Linux distros
that turn on chroot without providing the necessary files to make
things like mysql work properly. Postfix 3.0 makes it harder to
turn on chroot; hopefully that will end these problems.

> running chroot. The setup works just fine and has for months now. Only 
> recently did I try to use the mysql database with the 
> local_recipient_maps and saw the issue I did. I am happy with my 
> solution but was curious and thought you had some magic.

Except that the mysql support won't work unless you do one
of the following:
a) you turn off chroot in Postfix.
b) you add some files under /var/spool/postfix, the details of which
   change with the distribution and version, and which are discovered
   by stracing programs until all errors are accounted for.

> Thanks for your help.

You're welcome.

        Wietse

Reply via email to