Bug#317018: postfix and virtual develery with mysql

2006-12-09 Thread Andres Salomon
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

Bug#317018: postfix and virtual develery with mysql

2006-11-25 Thread Andres Salomon
-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

Bug#317018: postfix and virtual develery with mysql

2006-11-25 Thread LaMont Jones
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 ] \ +

Bug#317018: postfix and virtual develery with mysql

2006-11-25 Thread Andres Salomon
-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. +

Bug#317018: postfix and virtual develery with mysql [EMAIL PROTECTED]

2006-02-13 Thread LaMont Jones
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]

Bug#317018: postfix and virtual develery with mysql

2006-01-06 Thread Bryan Hundven
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

Bug#317018: postfix and virtual develery with mysql

2005-07-05 Thread Michael Rasmussen
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

Bug#317018: postfix and virtual develery with mysql

2005-07-05 Thread LaMont Jones
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