> -----Original Message----- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of /dev/rob0 > Sent: Tuesday, 3 March 2009 7:31 AM > To: postfix-users@postfix.org > Subject: Re: mysql lookup errors > > On Mon March 2 2009 12:51:23 kj wrote: > > I'm seeing this in the logs: > > > > Mar 2 18:18:05 web postfix/cleanup[27207]: warning: mysql query > > failed: MySQL server has gone away > snip > > Mar 2 18:18:30 web postfix/pickup[26468]: E381E7102B3: uid=48 > > from=<apache> > snip > > RHEL5, with the stock Red Hat rpm recompiled with mysql support. > > That RPM is probably chroot'ed by the distributor. My first > guess is that you're seeing a chroot problem. My second > guess, SELinux. In either case, seek support from your vendor > for these problems. >
RedHat does not have Postfix chrooting enabled in the distro by default - it seems to be more the Debian-based distros that have that problem. Also, I've never had any problems with SELinux and Postfix in stock RH installs (although I haven't used it with MySql)