On Thu, 2004-04-22 at 14:53, Jeff Koch wrote:
> We use the patch with mysql and it works fine. Make sure that you have 
> vpopmail compiled with mysql-auth support. chkuser is a patch to qmail so 
> that it rejects the smtp connection if the email address does not have a 
> valid user name.

Yes, vpopmail is compiled with it (I've been using mysql support for a
long time already, nonetheless I recompiled it again, but yes ,
--enable-auth-module=mysql was in config.log). Vpopmail works fine,
everything works except vdelivermail at .qmail-defaut. 
If I use maildrop instead in .qmail-default, and in the maildroprc file
vdelivermail then works just fine.
So I have no idea why vdelivermail refuses to call mysql in
.qmail-default.
This is my non-working .qmail-default:
| /Appz2/VPopMail/bin/vdelivermail '' bounce-no-mailbox

And this is the one, in another domain which does (but no chkuser is
triggered):
|/usr/bin/maildrop -w 90

,in the /etc/maildroprc script, here's the line calling vdelivermail:
VPOP="| /Appz2/VPopMail/bin/vdelivermail '' bounce-no-mailbox"

This domain calling maildrop then vdelivermail works (but chkuser
doesn't).






> At 03:38 AM 4/22/2004, you wrote:
> >Hi all,
> >I've just upgraded (again) my qmail installation, in an attempt to cut
> >out spam trying random email addresses to my domains, using
> >chkuser-0.6.mysql.patch.
> >I've followed the whole instalation procedure, compiled successfully
> >qmail with the patches.
> >The problem I found is, when using inside .qmail-default, maildrop, the
> >mails are delivered but is not triggered the chkuser patch.
> >And if I use inside .qmail-default, vdelivermail, all mails are
> >rejected,  with "550 sorry, no mailbox here by that name (#5.1.1 -
> >chkusr)" .
> >Now, looking at mysql access logs, vdelivermail is not looking at mysql
> >to see whether the user exists or not, therefore all emails (included
> >the ones to valid users) are rejected.
> >
> >Has anyone tried this patch and had similar problem?
> >
> >Thanks for your help.
> 
> Best Regards,
> 
> Jeff Koch, Intersessions 
> 
> 

Reply via email to