That would keep tcpserver from reading the hash.

However, vchkpw will still go about happily updating this file on every
popauth even though nothing is reading it. Seems like a waste of CPU
cycles to me.

Also, I WANT tcpserver to read this file so that I can use it for
blocking mail from abusive hosts, etc.

I just do not want vchkpw to update it on every popauth. 

Paul J. Fries
CWIE, LLC - Internet Services
 

-----Original Message-----
From: slashboy [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 03, 2002 10:47 AM
To: 'Paul Fries'
Subject: RE: [vchkpw] Using tcpserver/mysql

Ooops I repeating what you said 

Maybe try running the tcpserver without "-x /xxx/tcp.smtp.cdb" option



-----Original Message-----
From: Paul Fries [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 04, 2002 12:08 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Using tcpserver/mysql

Greetings,

I am trying to accomplish using vpopmail with the tcpserver/mysql patch.

Based on the documentation found on step 13 of
http://www.inter7.com/vpopmail/INSTALL:

--
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 vpopmail to compile a tcp.smtp.cdb file for each
pop authentication.
--

I have implemented the patch, and verified that tcpserver is reading my
/var/qmail/control/sql file properly (if I chmod 000 this file,
tcpserver complains about it on startup). Also with
--enable-roaming-users=y in vpopmail, vchkpw properly writes the
authenticated IP addresses/timestamp to the vpopmail.relay table in
MySQL.

My problem is this:

Even though it is properly writing the IPs to the vpopmail.relay table,
it is also writing them into the tcp.smtp.cdb hash file. I would like it
to ONLY write to MySQL and not to the .cdb. I have tried
--enable-roaming-users=n, but this causes vchkpw to stop writing the IP
addresses to either location. 

It is almost like there should be a --dont-update-tcprulesfile=true
variable upon configuration. Am I missing something here? Has someone
else configured vpopmail in this manner and gotten around this problem?

Thanks!

Regards,
Paul Fries
[EMAIL PROTECTED] 



Reply via email to