[toaster] chkuser-mysql patch problem

2004-04-22 Thread David
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.






Re: [toaster] chkuser-mysql patch problem

2004-04-22 Thread Jeff Koch
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.

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 




Re: [toaster] chkuser-mysql patch problem

2004-04-22 Thread David
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 
 
 



Re: [toaster] chkuser-mysql patch problem

2004-04-22 Thread Jeff Koch
Your .qmail-default does not look like a standard toaster install to me. 
The plain jane toaster with chkuser-mysql support should say:

| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox



At 09:59 AM 4/22/2004, you wrote:
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


Best Regards,

Jeff Koch, Intersessions 




Re: [toaster] chkuser-mysql patch problem

2004-04-22 Thread David
On Thu, 2004-04-22 at 17:11, Jeff Koch wrote:
 Your .qmail-default does not look like a standard toaster install to me. 
 The plain jane toaster with chkuser-mysql support should say:
 
 | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
 

No, I followed the install but obviously changed folders to fit my
current installation. I didn't install all the DJB's tools mentioned in
the guide, since I already had them. 

| /Appz2/VPopMail/bin/vdelivermail '' bounce-no-mailbox
In what folder the vpopmail user lies doesn't change anything. As long
as you call the binaries properly, at their real location.
For example: it's important to notice to change the brand new created
conf-vpopmail once applied the chkuser patch. conf-mysql as well.

Bill's document for his toaster is completely fine. It just doens't fit
already running installations. But it doesn't have to.

Nonetheless, it's a very good idea having that large patch with all that
funcionalities together. That's why I used it to upgrade. It's a great
work.

I don't think my problem lies on the way I installed it, maybe there's
something wrong in the patch.


 
 At 09:59 AM 4/22/2004, you wrote:
 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
  
  
 
 Best Regards,
 
 Jeff Koch, Intersessions