Re: [vchkpw] Tip for using chkuser with Maildrop
I understand the problem. Goodbye. Tonix At 29/04/2004 29/04/2004 -0400, you wrote: tonix (Antonio Nati) wrote: Jeremy, why does the actual suck? It's the first time I hear that. Tonino At 29/04/2004 29/04/2004 -0500, you wrote: On Thursday 29 April 2004 09:49 am, tonix (Antonio Nati) wrote: > P.S. I'm studying for version 2.0 of chkuser, this could be another issue. please make it not suck (like the current one does), that's all I ask. -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l kitchen @ #qmail on EFNET ++ scriptkitchen.com/qmail [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED] The code is one big ball of messyness. X-Istence [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it[EMAIL PROTECTED]
Re: [vchkpw] Tip for using chkuser with Maildrop
tonix (Antonio Nati) wrote: Jeremy, why does the actual suck? It's the first time I hear that. Tonino At 29/04/2004 29/04/2004 -0500, you wrote: On Thursday 29 April 2004 09:49 am, tonix (Antonio Nati) wrote: > P.S. I'm studying for version 2.0 of chkuser, this could be another issue. please make it not suck (like the current one does), that's all I ask. -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l kitchen @ #qmail on EFNET ++ scriptkitchen.com/qmail [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED] The code is one big ball of messyness. X-Istence
Re: [vchkpw] Tip for using chkuser with Maildrop
Jeremy, why does the actual suck? It's the first time I hear that. Tonino At 29/04/2004 29/04/2004 -0500, you wrote: On Thursday 29 April 2004 09:49 am, tonix (Antonio Nati) wrote: > P.S. I'm studying for version 2.0 of chkuser, this could be another issue. please make it not suck (like the current one does), that's all I ask. -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l kitchen @ #qmail on EFNET ++ scriptkitchen.com/qmail [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED]
Re: [vchkpw] Tip for using chkuser with Maildrop
On Thursday 29 April 2004 09:49 am, tonix (Antonio Nati) wrote: > P.S. I'm studying for version 2.0 of chkuser, this could be another issue. please make it not suck (like the current one does), that's all I ask. -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l kitchen @ #qmail on EFNET ++ scriptkitchen.com/qmail
Re: [vchkpw] Tip for using chkuser with Maildrop
On Thu, 2004-04-29 at 11:59, David wrote: > No idea, never used goodrcptto patch. Eh, well.. thanks anyways :) > I don't know much about maildrop but I found time ago this mega script, > http://mymail.alien77.com/maildropMEGAEXAMPLE > > I'm pretty sure it will help many people. > The guy who wrote that knew about maildrop a thing or two :) Awesome.. thanks... I've added that to the collection of reference material.. :) -- --- Jason 'XenoPhage' Frisvold Engine / Technology Programmer [EMAIL PROTECTED] RedHat Certified - RHCE # 803004140609871 MySQL Pro Certified - ID# 207171862 MySQL Core Certified - ID# 205982910 --- "Something mysterious is formed, born in the silent void. Waiting alone and unmoving, it is at once still and yet in constant motion. It is the source of all programs. I do not know its name, so I will call it the Tao of Programming." signature.asc Description: This is a digitally signed message part
Re: [vchkpw] Tip for using chkuser with Maildrop
At 29/04/2004 29/04/2004 -0400, you wrote: On Thu, 2004-04-29 at 10:49, tonix (Antonio Nati) wrote: > You may do it enabling chkuser always, deleting the lines of code checking > for that string. You mean disable this code in qmail-smtpd.c ? : if ( strstr(read_buf, "bounce-no-mailbox") == NULL ) { retstat = 1; break; } Exactly. You may delete all the code between case 0: and case 1: (case 0: must exist). > We could also look for a different string or for a different file (i.e. > like .qmailenablebounce), if you tell me your need and we may change what > we want. Hrm... Is there a reason to not check for the user's existance before accepting the mail? It seems to have significantly stopped the amount of junk we get and queue You may have new customers, not able to tell you all the existing mailbox, so you must keep catchall in use for some months, before switching to bouncing. If you have not that problem, cut the code. > Tonino > > P.S. I'm studying for version 2.0 of chkuser, this could be another issue. Version 2.0 ? Surprise! Ciao, Tonino [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED]
Re: [vchkpw] Tip for using chkuser with Maildrop
On Thu, 2004-04-29 at 17:49, Jason 'XenoPhage' Frisvold wrote: > On Thu, 2004-04-29 at 09:55, David wrote: > > I agree, chkuser patch works with mysql, or cdb, depending how vpopmail > > was compiled. The patch calls vauth_getpw vpopmail function, and > > depending how vpopmail was compiled that function looks inside cdb or > > mysql. > > Is there a huge difference between the chkusr patch and the goodrcptto > patch? They basically do the same thing, right? No idea, never used goodrcptto patch. > > > Here's what I use so maildrop is used. > > my .qmail-default is: > > > > #| /Appz2/VPopMail/bin/vdelivermail '' bounce-no-mailbox > > |/usr/bin/maildrop -w 90 > > I just applied the above and I'm much happier now... Now I just need a > decent reference manual for maildrop so I can make it do what I want > to... doesn't look that hard, but I'm not sure how to manipulate > everything... I don't know much about maildrop but I found time ago this mega script, http://mymail.alien77.com/maildropMEGAEXAMPLE I'm pretty sure it will help many people. The guy who wrote that knew about maildrop a thing or two :) > > > The patch seeks for "bounce-no-mailbox" is in .qmail-default, and not a > > catch-all account. So though to first line is commented out, doing > > nothing, is enough for the patch to work. > > Later, when the maildrop line is executed, you may use your spamassassin > > code inside maildroprc, just like I suppose you're doing right now. > > Viewing the patch source code is easy to understand how it works. > > I know, not an elegant solution, but an easy one. > > Yeah, I looked at the source where the bounce-no-mailbox code is... > Simple enough :)
Re: [vchkpw] Tip for using chkuser with Maildrop
On Thu, 2004-04-29 at 09:55, David wrote: > I agree, chkuser patch works with mysql, or cdb, depending how vpopmail > was compiled. The patch calls vauth_getpw vpopmail function, and > depending how vpopmail was compiled that function looks inside cdb or > mysql. Is there a huge difference between the chkusr patch and the goodrcptto patch? They basically do the same thing, right? > Here's what I use so maildrop is used. > my .qmail-default is: > > #| /Appz2/VPopMail/bin/vdelivermail '' bounce-no-mailbox > |/usr/bin/maildrop -w 90 I just applied the above and I'm much happier now... Now I just need a decent reference manual for maildrop so I can make it do what I want to... doesn't look that hard, but I'm not sure how to manipulate everything... > The patch seeks for "bounce-no-mailbox" is in .qmail-default, and not a > catch-all account. So though to first line is commented out, doing > nothing, is enough for the patch to work. > Later, when the maildrop line is executed, you may use your spamassassin > code inside maildroprc, just like I suppose you're doing right now. > Viewing the patch source code is easy to understand how it works. > I know, not an elegant solution, but an easy one. Yeah, I looked at the source where the bounce-no-mailbox code is... Simple enough :) -- --- Jason 'XenoPhage' Frisvold Engine / Technology Programmer [EMAIL PROTECTED] RedHat Certified - RHCE # 803004140609871 MySQL Pro Certified - ID# 207171862 MySQL Core Certified - ID# 205982910 --- "Something mysterious is formed, born in the silent void. Waiting alone and unmoving, it is at once still and yet in constant motion. It is the source of all programs. I do not know its name, so I will call it the Tao of Programming." signature.asc Description: This is a digitally signed message part
Re: [vchkpw] Tip for using chkuser with Maildrop
On Thu, 2004-04-29 at 10:49, tonix (Antonio Nati) wrote: > You may do it enabling chkuser always, deleting the lines of code checking > for that string. You mean disable this code in qmail-smtpd.c ? : if ( strstr(read_buf, "bounce-no-mailbox") == NULL ) { retstat = 1; break; } > We could also look for a different string or for a different file (i.e. > like .qmailenablebounce), if you tell me your need and we may change what > we want. Hrm... Is there a reason to not check for the user's existance before accepting the mail? It seems to have significantly stopped the amount of junk we get and queue > Tonino > > P.S. I'm studying for version 2.0 of chkuser, this could be another issue. Version 2.0 ? > At 29/04/2004 29/04/2004 -0400, you wrote: > >On Sun, 2004-04-04 at 14:48, Oden Eriksson wrote: > > > I would recommend a more generic patch instead of this one, I > > personally like > > > this one very much: > > > > > > http://www.netdevice.com/qmail > > > >This patch appears to support cdb only... what about those of us using > >mysql? Do you know of a patch for this? > > > > > "The goodrcptto patch" > > > >I'm running into the same problem that the original poster mentioned... > >Implementing maildrop so that spam tagged by spamassassin is moved into > >a spam folder. However, when the maildrop filter is enabled, it breaks > >chkusr... (quite annoying) ... > > > >I want to do this the right way... If there is some other way to do > >this on the server side, I would be more than happy to give it a shot! > > > >Thanks! > > > >-- > >--- > >Jason 'XenoPhage' Frisvold > >Engine / Technology Programmer > >[EMAIL PROTECTED] > >RedHat Certified - RHCE # 803004140609871 > >MySQL Pro Certified - ID# 207171862 > >MySQL Core Certified - ID# 205982910 > >--- > >"Something mysterious is formed, born in the silent void. Waiting alone > >and unmoving, it is at once still and yet in constant motion. It is the > >source of all programs. I do not know its name, so I will call it the > >Tao of Programming." > > > [EMAIL PROTECTED]Interazioni di Antonio Nati > http://www.interazioni.it [EMAIL PROTECTED] > -- --- Jason 'XenoPhage' Frisvold Engine / Technology Programmer [EMAIL PROTECTED] RedHat Certified - RHCE # 803004140609871 MySQL Pro Certified - ID# 207171862 MySQL Core Certified - ID# 205982910 --- "Something mysterious is formed, born in the silent void. Waiting alone and unmoving, it is at once still and yet in constant motion. It is the source of all programs. I do not know its name, so I will call it the Tao of Programming." signature.asc Description: This is a digitally signed message part
Re: [vchkpw] Tip for using chkuser with Maildrop
On Thu, 2004-04-29 at 15:40, Jason 'XenoPhage' Frisvold wrote: > On Sun, 2004-04-04 at 14:48, Oden Eriksson wrote: > > I would recommend a more generic patch instead of this one, I personally like > > this one very much: > > > > http://www.netdevice.com/qmail > > This patch appears to support cdb only... what about those of us using > mysql? Do you know of a patch for this? > > > "The goodrcptto patch" > > I'm running into the same problem that the original poster mentioned... > Implementing maildrop so that spam tagged by spamassassin is moved into > a spam folder. However, when the maildrop filter is enabled, it breaks > chkusr... (quite annoying) ... > > I want to do this the right way... If there is some other way to do > this on the server side, I would be more than happy to give it a shot! > > Thanks! I agree, chkuser patch works with mysql, or cdb, depending how vpopmail was compiled. The patch calls vauth_getpw vpopmail function, and depending how vpopmail was compiled that function looks inside cdb or mysql. Here's what I use so maildrop is used. my .qmail-default is: #| /Appz2/VPopMail/bin/vdelivermail '' bounce-no-mailbox |/usr/bin/maildrop -w 90 The patch seeks for "bounce-no-mailbox" is in .qmail-default, and not a catch-all account. So though to first line is commented out, doing nothing, is enough for the patch to work. Later, when the maildrop line is executed, you may use your spamassassin code inside maildroprc, just like I suppose you're doing right now. Viewing the patch source code is easy to understand how it works. I know, not an elegant solution, but an easy one.
Re: [vchkpw] Tip for using chkuser with Maildrop
You may do it enabling chkuser always, deleting the lines of code checking for that string. We could also look for a different string or for a different file (i.e. like .qmailenablebounce), if you tell me your need and we may change what we want. Tonino P.S. I'm studying for version 2.0 of chkuser, this could be another issue. At 29/04/2004 29/04/2004 -0400, you wrote: On Sun, 2004-04-04 at 14:48, Oden Eriksson wrote: > I would recommend a more generic patch instead of this one, I personally like > this one very much: > > http://www.netdevice.com/qmail This patch appears to support cdb only... what about those of us using mysql? Do you know of a patch for this? > "The goodrcptto patch" I'm running into the same problem that the original poster mentioned... Implementing maildrop so that spam tagged by spamassassin is moved into a spam folder. However, when the maildrop filter is enabled, it breaks chkusr... (quite annoying) ... I want to do this the right way... If there is some other way to do this on the server side, I would be more than happy to give it a shot! Thanks! -- --- Jason 'XenoPhage' Frisvold Engine / Technology Programmer [EMAIL PROTECTED] RedHat Certified - RHCE # 803004140609871 MySQL Pro Certified - ID# 207171862 MySQL Core Certified - ID# 205982910 --- "Something mysterious is formed, born in the silent void. Waiting alone and unmoving, it is at once still and yet in constant motion. It is the source of all programs. I do not know its name, so I will call it the Tao of Programming." [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED]
Re: [vchkpw] Tip for using chkuser with Maildrop
On Sun, 2004-04-04 at 14:48, Oden Eriksson wrote: > I would recommend a more generic patch instead of this one, I personally like > this one very much: > > http://www.netdevice.com/qmail This patch appears to support cdb only... what about those of us using mysql? Do you know of a patch for this? > "The goodrcptto patch" I'm running into the same problem that the original poster mentioned... Implementing maildrop so that spam tagged by spamassassin is moved into a spam folder. However, when the maildrop filter is enabled, it breaks chkusr... (quite annoying) ... I want to do this the right way... If there is some other way to do this on the server side, I would be more than happy to give it a shot! Thanks! -- --- Jason 'XenoPhage' Frisvold Engine / Technology Programmer [EMAIL PROTECTED] RedHat Certified - RHCE # 803004140609871 MySQL Pro Certified - ID# 207171862 MySQL Core Certified - ID# 205982910 --- "Something mysterious is formed, born in the silent void. Waiting alone and unmoving, it is at once still and yet in constant motion. It is the source of all programs. I do not know its name, so I will call it the Tao of Programming." signature.asc Description: This is a digitally signed message part
Re: [vchkpw] Tip for using chkuser with Maildrop
söndagen den 4 april 2004 20.45 skrev Ron Guerin: > Thought I'd share this tip with the crowd... > > The chkuser patch, which ensures an address is valid in the given domain > before accepting a message, would be defeated if you simply replace your > vdelivermail line with a Maildrop delivery line in .qmail-default. > > After taking a peek at how the chkuser patch works, I realized that it > will work correctly if you instead comment-out the vdelivermail line and > add your Maildrop line after. > > #| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox > > | maildrop .mailfilter > > Chkuser sees the "bounce-no-mailbox" it needs to see this way, without > altering the patch. A little klugey maybe, but it works. I would recommend a more generic patch instead of this one, I personally like this one very much: http://www.netdevice.com/qmail "The goodrcptto patch" -- Regards // Oden Eriksson
[vchkpw] Tip for using chkuser with Maildrop
Thought I'd share this tip with the crowd... The chkuser patch, which ensures an address is valid in the given domain before accepting a message, would be defeated if you simply replace your vdelivermail line with a Maildrop delivery line in .qmail-default. After taking a peek at how the chkuser patch works, I realized that it will work correctly if you instead comment-out the vdelivermail line and add your Maildrop line after. #| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox | maildrop .mailfilter Chkuser sees the "bounce-no-mailbox" it needs to see this way, without altering the patch. A little klugey maybe, but it works. - Ron