Re: [vchkpw] chkusr patch w/Vpopmail 5.4.5

2004-07-13 Thread Jeremy Kister
On Monday, July 12, 2004 11:00 PM, Nick Berry wrote: I am trying to implement the chkusr patch (which was good for vpopmail 5.3), but I've come across the following error: [...] *** Error code 1 after patching, did you modify the Makefile, as well ? edit the Makefile, look for qmail-smtpd:,

Re: [vchkpw] chkusr patch w/Vpopmail 5.4.5

2004-07-13 Thread nick berry
Jeremy Kister wrote: after patching, did you modify the Makefile, as well ? edit the Makefile, look for qmail-smtpd:, and after `cat socket.lib`, add /home/vpopmail/lib/libvpopmail.a (adjusting for you're vpopmail's home, of course) you'll also need to look for qmail-smtpd.o:, and add

Re: [vchkpw] chkusr patch - false negatives

2004-05-12 Thread tonix (Antonio Nati)
Charles, this is not a chkuser limit, but a vpopmail limit. vpopmail's vauth_getpw() does not check for the availability of the resource (that may be MySQL as LDAP), but simply returns something like 1/0 (pointer exists, pointer does not exist, despite of the reason why it does not exist).

Re: [vchkpw] chkusr patch - false negatives

2004-05-12 Thread Rick Widmer
tonix (Antonio Nati) wrote: I feel it would be nice if it could be developed another set of robust vpopmail calls. What if you had vauth_open() which you can call early in the program. If it returns 0, you have a valid authentication connection and can expect later calls to work. If it

Re: [vchkpw] chkusr patch - false negatives

2004-05-12 Thread tonix (Antonio Nati)
At 12/05/2004 12/05/2004 -0600, you wrote: tonix (Antonio Nati) wrote: I feel it would be nice if it could be developed another set of robust vpopmail calls. What if you had vauth_open() which you can call early in the program. If it returns 0, you have a valid authentication connection and

Re: [vchkpw] chkusr patch - false negatives

2004-05-12 Thread Charles Sprickman
On Wed, 12 May 2004, tonix (Antonio Nati) wrote: You have the same problem in vdelivermail, if MySQL is down. You see chkuser because it is the first filter in the chain. Unless I'm mistaken though, in this case the mail will simply go back in the queue, it won't be lost, right? Thanks,

Re: [vchkpw] chkusr patch - false negatives

2004-05-12 Thread tonix (Antonio Nati)
At 12/05/2004 12/05/2004 -0400, you wrote: On Wed, 12 May 2004, tonix (Antonio Nati) wrote: You have the same problem in vdelivermail, if MySQL is down. You see chkuser because it is the first filter in the chain. Unless I'm mistaken though, in this case the mail will simply go back in the

Re: [vchkpw] chkusr patch - false negatives

2004-05-12 Thread Nick Harring
Charles Sprickman wrote: Just following up on my own question a bit... I'm trying to figure out how many mysql hits a single incoming message can generate to arrive at a max_connections setting for mysql. Worst case, I assume it would look like this: -initial chkusr check (is it a valid

Re: [vchkpw] chkusr patch - false negatives

2004-05-11 Thread Charles Sprickman
Just following up on my own question a bit... I'm trying to figure out how many mysql hits a single incoming message can generate to arrive at a max_connections setting for mysql. Worst case, I assume it would look like this: -initial chkusr check (is it a valid address?) -smtp-auth (possible

Re: [vchkpw] chkusr patch

2003-06-17 Thread Jason 'XenoPhage' Frisvold
Try www.shupp.org ... He has the patch there with some instructions.. On Sun, 2003-06-15 at 22:19, David Bronson wrote: Hi all, I have just discovered qmail-smtpd-chkusr after several years of using vpopmail. I have applied the patch but don't quite understand the Makefile changes that are

Re: [vchkpw] chkusr patch

2003-06-17 Thread tonix (Antonio Nati)
Hi David, this is my Makefile: qmail-smtpd: \ load qmail-smtpd.o rcpthosts.o commands.o timeoutread.o \ timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o received.o \ date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a \