[vchkpw] tcpserver/mysql patch with vpopmail-5.2.1

2003-10-12 Thread Karim El Chenawi
Hi folks,

I'm wondering if anyone has a patch for vpopmail-5.2.1 that disables the 
 update of the tcp.smtp.cdb file (I'm using Matt Simersons 
tcpserver-mysql patch).

I'm aware that vpopmail-5.3.20 and above has a configure option 
--enable-rebuild-tcpserver-file=n, which prevents the file from being 
rebuilt, but I would like to keep my stable version of vpopmail if 
possible...

In this message:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg08758.html
Matt Simerson seems to indicate that such a hack was posted but I'm 
unable to find it.

Thanks!

Karim.




[vchkpw] tcpserver-mysql patch

2002-10-30 Thread Neo Wee Teck
/*   
server  sql.mailserver.com
port3306
databasevpopmail
table   relay
uservpopmail
passsecret
time1800
*/  

there is this line inside the db.c

should we uncomment it and replace with our settings?





Re: [vchkpw] tcpserver-mysql patch

2002-10-30 Thread Justin R. Miller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Said Neo Wee Teck on Wed, Oct 30, 2002 at 11:55:31PM +0800:

 /*   
 server  sql.mailserver.com
 port3306
 databasevpopmail
 table   relay
 uservpopmail
 passsecret
 time1800
 */  
 
 there is this line inside the db.c
 
 should we uncomment it and replace with our settings?

No, create a /var/qmail/control/sql that contains that info. 

- -- 
[!] Justin R. Miller [EMAIL PROTECTED]
Encrypted email preferred (key 0xC9C40C31)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE9wAXD94d6K8nEDDERAhj7AKCVTlf/w8vLGJhyJkT5s6y2iMr6CACfRxmY
B7MNCLu7PpuX90SxvlZp8vY=
=wWpI
-END PGP SIGNATURE-




Re: [vchkpw] tcpserver mysql patch

2002-08-31 Thread Ken Jones

the vchkpw program updates the tcp.smtp.cdb file. 

So you'll need to reconfigure vpopmail without roaming-users
(the default is roaming users turned off).

Ken Jones

On Friday 30 August 2002 11:31 pm, Paul Fries wrote:
 Please forgive me if this is the wrong forum for this question.

 It seems that even after applying Matt Simerson's tcpserver-mysql patch,
 the tcp.smtp.cdb file is still being rehashed on every pop
 authentication.

 I am getting data in the relay table properly, and my
 /var/qmail/control/sql file is correct. Also, my qmail-smtpd/run file
 includes the -S flag to tcpserver.

 Does anyone know what I am missing here?

 Thanks!

 Regards,
 Paul Fries
 [EMAIL PROTECTED]




RE: [vchkpw] tcpserver mysql patch

2002-08-31 Thread Paul Fries

Hmm. I tried that, but then the IP addresses are no longer written to my
vpopmail/relay table in the MySQL database. 



-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, August 31, 2002 9:25 AM
To: Paul Fries; 'VpopMail Mailing List'
Subject: Re: [vchkpw] tcpserver mysql patch

the vchkpw program updates the tcp.smtp.cdb file. 

So you'll need to reconfigure vpopmail without roaming-users
(the default is roaming users turned off).

Ken Jones

On Friday 30 August 2002 11:31 pm, Paul Fries wrote:
 Please forgive me if this is the wrong forum for this question.

 It seems that even after applying Matt Simerson's tcpserver-mysql
patch,
 the tcp.smtp.cdb file is still being rehashed on every pop
 authentication.

 I am getting data in the relay table properly, and my
 /var/qmail/control/sql file is correct. Also, my qmail-smtpd/run file
 includes the -S flag to tcpserver.

 Does anyone know what I am missing here?

 Thanks!

 Regards,
 Paul Fries
 [EMAIL PROTECTED]






[vchkpw] tcpserver mysql patch

2002-08-30 Thread Paul Fries

Please forgive me if this is the wrong forum for this question.

It seems that even after applying Matt Simerson's tcpserver-mysql patch,
the tcp.smtp.cdb file is still being rehashed on every pop
authentication.

I am getting data in the relay table properly, and my
/var/qmail/control/sql file is correct. Also, my qmail-smtpd/run file
includes the -S flag to tcpserver.

Does anyone know what I am missing here?

Thanks!

Regards,
Paul Fries
[EMAIL PROTECTED]