Re: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-25 Thread Flavio Curti
Hi Jonathan On Thu, Sep 25, 2003 at 12:24:22PM +1200, Jonathan Viney wrote: Hi, I just checked Matt's patch, and he indeed added that code. So it will work. You cannot set ENV-vars though! It must set RELAYCLIENT though I would have thought just had a quick look at the code and yes:

[vchkpw] [SECURITY] RE: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-25 Thread Tim Hasson
Hi, Then create a file called 'sql' in the qmail control dir with the following layout server localhost port3306 databasevpopmail table relay uservpopmailuser passvpopmailpassword time1800 Add the -S switch to your qmail-smtpd script and restart the

Re: [vchkpw] [SECURITY] RE: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-25 Thread Paul Theodoropoulos
At 02:38 AM 9/25/2003, Tim Hasson wrote: Make sure 100% that /var/qmail/control/sql file is either chowned 'qmaild', chgrouped 'nofiles', or BOTH! -rw-r--r--1 root other 106 Aug 18 09:37 sql Mine works fine as above. Paul Theodoropoulos http://www.anastrophe.com

Re: [vchkpw] [SECURITY] RE: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-25 Thread Tom Collins
On Thursday, September 25, 2003, at 08:03 AM, Paul Theodoropoulos wrote: Make sure 100% that /var/qmail/control/sql file is either chowned 'qmaild', chgrouped 'nofiles', or BOTH! -rw-r--r--1 root other 106 Aug 18 09:37 sql Mine works fine as above. But anyone with access to

Re: [vchkpw] [SECURITY] RE: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-25 Thread Paul Theodoropoulos
At 08:41 AM 9/25/2003, Tom Collins wrote: On Thursday, September 25, 2003, at 08:03 AM, Paul Theodoropoulos wrote: Make sure 100% that /var/qmail/control/sql file is either chowned 'qmaild', chgrouped 'nofiles', or BOTH! -rw-r--r--1 root other 106 Aug 18 09:37 sql Mine works fine

[vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-25 Thread Tom Predmore
All, I have also applied this patch to tcpserver and am getting this error. MYSQL Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' I found that the file lives in /tmp/mysql.sock Does anyone know where to set the path for this? Regards, -Tom

[vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-24 Thread Jasper Metselaar
Hi! I've installed vpopmail on a new server according to the instructions in the INSTALL file and finally I arrived at point 13: 13. For sites using the mysql module and --enable-roaming-users=y it is highly suggested to use Matt Simersons tcpserver-mysql patch. This removes the need for

RE: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-24 Thread Shane Chrisp
: [vchkpw] Matt Simersons tcpserver-mysql patch how-to?? Hi! I've installed vpopmail on a new server according to the instructions in the INSTALL file and finally I arrived at point 13: 13. For sites using the mysql module and --enable-roaming-users=y it is highly suggested to use Matt Simersons

RE: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-24 Thread Jonathan Viney
Add the -S switch to your qmail-smtpd script and restart the servers. You should now be running off the relay table in your database. cheers Shane Hi, Is it possible to use this patch in place of /etc/tcp.smtp.cdb for permanently allowed hosts? I had a look a while back and noticed

Re: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-24 Thread Flavio Curti
Hi Jonathan On Thu, Sep 25, 2003 at 01:27:21AM +1200, Jonathan Viney wrote: Add the -S switch to your qmail-smtpd script and restart the servers. You should now be running off the relay table in your database. cheers Shane Is it possible to use this patch in place of

Re: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-24 Thread Flavio Curti
Me again On Wed, Sep 24, 2003 at 03:48:57PM +0200, Flavio Curti wrote: On Thu, Sep 25, 2003 at 01:27:21AM +1200, Jonathan Viney wrote: Is it possible to use this patch in place of /etc/tcp.smtp.cdb for permanently allowed hosts? I had a look a while back and noticed it seemed to run on a

RE: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-24 Thread Anthony Baratta
At 04:44 AM 9/24/2003, Shane Chrisp wrote: Run the patch against the source of ucspi-tcp-0.88 and then install it again. I was under the assumption that you only installed this patch to stop the rebuild of the tcp.smtp.cdb file for each pop3 authentication. And if you installed mySQL support for

Re: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-24 Thread Jonathan Viney
Hi, I just checked Matt's patch, and he indeed added that code. So it will work. You cannot set ENV-vars though! Hi, It must set RELAYCLIENT though I would have thought just had a quick look at the code and yes: ! if(usemysql) { ! if(flagdeny==2) { !/* drop_db(); */ ! }