Hi,
Here's an updated way to do it. As it turns out, postfix doesn't appear
to clear out /var/spool/postfix, so simply checking that var/run/mysqld
exists is a bad way to test whether or not to bind mount the directory.
Instead, I'm using:
postconf -h | grep -q 'mysql:' [ -f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Another possible solution is to bind mount the mysql directory if
postfix-mysql is installed. Here's a quick hack that does just that.
You'd probably want a better way of checking whether postfix-mysql is in
use, and perhaps some sanity checking
On Sat, Nov 25, 2006 at 06:22:39PM -0500, Andres Salomon wrote:
-BEGIN PGP SIGNED MESSAGE-
+ # if postfix-mysql is installed, attempt to ensure mysqld's
+ # socket is available if we can.
+ [ -f /usr/lib/postfix/dict_mysql.so ] \
+
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
LaMont Jones wrote:
On Sat, Nov 25, 2006 at 06:22:39PM -0500, Andres Salomon wrote:
-BEGIN PGP SIGNED MESSAGE-
+# if postfix-mysql is installed, attempt to ensure mysqld's
+# socket is available if we can.
+
Another issue with the patch is that it only checks the map type of the
first map in virtual maps, not all of them.
lamont
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Another way is to do this in your fstab:
# file system mount point type options dump pass
/var/run/mysqld /var/spool/postfix/var/run/mysqld nonebind
00
Even the permissions stay the same.
--
bryan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of
Package: postfix
Severity: important
Tags: patch
I have a suggestion to a patch for the rc-init.d script for postfix in
Sarge. Patch at the end of this email.
The patch solves the problem when you have enabled virtual delivery in
postfix thru an external source like a database or ldap and
On Tue, Jul 05, 2005 at 05:30:56PM +0200, Michael Rasmussen wrote:
The patch solves the problem when you have enabled virtual delivery in
postfix thru an external source like a database or ldap and postfix runs
in chroot mode, which is the default configuration in Sarge. The problem
The other
8 matches
Mail list logo