[vchkpw] tcp.smtp / open-smtp rule precedence

2004-01-16 Thread Chris Hardie
Hi folks. We're experiencing a weird issue related to the open-smtp / roaming users feature of vpopmail. We have a line in our ~vpopmail/etc/tcp.smtp file that looks like this: 12.161.105.140:allow,MFCHECK="0",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" The notable part for

Re: [vchkpw] tcp.smtp / open-smtp rule precedence

2004-01-16 Thread Teixeira (listas)
Em Sex, 2004-01-16 às 14:10, Chris Hardie escreveu: > The result is that the users pop / roaming action is disabling Why don't you enable qmail-scanner globally? I put QMAILQUEUE="bin/qmail-scanner-queue.pl" into /service/qmail-smtpd/run before "smtpd" initialization, in a way it's used by all c

Re: [vchkpw] tcp.smtp / open-smtp rule precedence

2004-01-16 Thread Jeremy Kitchen
On Fri, 2004-01-16 at 11:10, Chris Hardie wrote: > We have a line in our ~vpopmail/etc/tcp.smtp file that looks like this: > > 12.161.105.140:allow,MFCHECK="0",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" > BUT, we have a meddlesome user on 12.161.105.140 who is popping into > v

[vchkpw] rblsmtpd / tcp.smtp rules precedence

2004-01-16 Thread Teixeira (listas)
Another message from Chris Hardie did remember me about an old question I have. How can I make tcp.smtp rules be processed BEFORE rblsmtpd, when rblsmtp is called from tcpserver's qmail-smtpd initialization command? I mean, some times we find one IP blocked by the RBL systems, and want to allow i

Re: [vchkpw] rblsmtpd / tcp.smtp rules precedence

2004-01-16 Thread Rick Macdougall
Mauricio Teixeira (listas) wrote: Another message from Chris Hardie did remember me about an old question I have. How can I make tcp.smtp rules be processed BEFORE rblsmtpd, when rblsmtp is called from tcpserver's qmail-smtpd initialization command? I mean, some times we find one IP blocked by the

Re: [vchkpw] tcp.smtp / open-smtp rule precedence

2004-01-16 Thread Chris Hardie
On Fri, 16 Jan 2004, Mauricio Teixeira (listas) wrote: > Em Sex, 2004-01-16 às 14:10, Chris Hardie escreveu: > > > The result is that the users pop / roaming action is disabling > > Why don't you enable qmail-scanner globally? > > I put QMAILQUEUE="bin/qmail-scanner-queue.pl" into > /service/qmail

Re: [vchkpw] rblsmtpd / tcp.smtp rules precedence

2004-01-16 Thread Jeremy Kitchen
On Fri, 2004-01-16 at 11:21, Mauricio Teixeira (listas) wrote: > Another message from Chris Hardie did remember me about an old question > I have. > > How can I make tcp.smtp rules be processed BEFORE rblsmtpd, when rblsmtp > is called from tcpserver's qmail-smtpd initialization command? they alr

Re: [vchkpw] tcp.smtp / open-smtp rule precedence

2004-01-16 Thread Chris Hardie
On Fri, 16 Jan 2004, Jeremy Kitchen wrote: > I would simply disable pop-before-smtp for this user. Look at > vmoduser. Then, add RELAYCLIENT="" to your original line, and call it > good. I see why that would work (though I think you didn't mean the part about putting RELAYCLIENT="" in tcp.smtp,

Re: [vchkpw] rblsmtpd / tcp.smtp rules precedence

2004-01-16 Thread Jeremy Kitchen
On Fri, 2004-01-16 at 11:24, Rick Macdougall wrote: > Add the IP in question to your tcp.smtp file with RBLSMTPD="", that will > cause tcpserver to by pass the rblsmtpd check. tcpserver doesn't do any rbl check. that's what rblsmtpd does. putting RBLSMTPD="" into your environment for the conne

Re: [vchkpw] tcp.smtp / open-smtp rule precedence

2004-01-16 Thread Teixeira (listas)
Em Sex, 2004-01-16 às 14:24, Chris Hardie escreveu: > Hmm, if it's in the run file, isn't it still subject to the rules of > tcpserver, in terms of the impact the environment variables have? Perhaps The variable is used by qmail-smtpd to determine how it will queue the mesage. "tcpserver" does n

Re: [vchkpw] tcp.smtp / open-smtp rule precedence

2004-01-16 Thread Jeremy Kitchen
On Fri, 2004-01-16 at 11:25, Chris Hardie wrote: > On Fri, 16 Jan 2004, Jeremy Kitchen wrote: > > > I would simply disable pop-before-smtp for this user. Look at > > vmoduser. Then, add RELAYCLIENT="" to your original line, and call it > > good. > > I see why that would work (though I think you

Re: [vchkpw] tcp.smtp / open-smtp rule precedence

2004-01-16 Thread Jeremy Kitchen
On Fri, 2004-01-16 at 11:31, Jeremy Kitchen wrote: > and since you pointed out that > qmail-scanner doesn't run if the RELAYCLIENT is set, then having them > both on the same port/ip is not possible. ahem, it runs. it just doesn't do anything. *MORE REDBULL* -Jeremy -- Jeremy Kitchen Systems

RE: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Russell Mann
> -Original Message- > From: Shane Chrisp [mailto:[EMAIL PROTECTED] > Sent: Friday, January 16, 2004 9:56 AM > To: 'Russell Mann' > Subject: RE: [vchkpw] QS to reject misaddressed email at SMTP > conversation > > > I had the same issues until I realised I needed to run the smtp daemon as >

Re: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Rick Macdougall
Russell Mann wrote: Hello, Vpopmail, Qmail, Qmail Scanner. Sorry for the cross-list-post, but I'm not sure who to ask for this one, as I'm not sure which software isn't doing what I want! Hi, You'll need to run qmail-smtpd as vpopmail.vchkpw or suid root so it can access the vpopmail files.

RE: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Russell Mann
> You'll need to run qmail-smtpd as vpopmail.vchkpw or suid root so it can > access the vpopmail files. His web page fully explains how to do it and > why it has to be done. > > Example > > #!/bin/sh > QMAILDUID=`id -u vpopmail` > NOFILESGID=`id -g vpopmail` > MAXSMTPD=`cat /var/qmail/control/concu

Re: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Rick Macdougall
Russell Mann wrote: You'll need to run qmail-smtpd as vpopmail.vchkpw or suid root so it can access the vpopmail files. His web page fully explains how to do it and why it has to be done. Ok, following the instructions on: http://www.interazioni.it/qmail/#qmail-smtpd I thought I was doing it rig

[vchkpw] vpopmail and spamassassin

2004-01-16 Thread Michel Gallant
Hello, I have a qmail/vpopmail installation that works great. I'm also running spamassassin for the accounts that want it through maildrop. What I'm looking for is a way to use sa-learn with vpopmail to use bayes filtering. I'm looking to have a system where each uer would have their own dat

Re: [vchkpw] tcp.smtp / open-smtp rule precedence

2004-01-16 Thread Tom Collins
On Jan 16, 2004, at 10:10 AM, Chris Hardie wrote: BUT, we have a meddlesome user on 12.161.105.140 who is popping into vpopmail, which has the allow roaming users flag set. As soon as this user does that, an entry is created in the tcp.smtp database for that user, as reflected in the open-smtp fil

Re: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Jeremy Kitchen
On Fri, 2004-01-16 at 14:35, Doug Clements wrote: > > Make sure you used his other big patch as well. it's not required for this. Maybe he doesn't want it. Please don't give him the impression that he NEEDS the other patch for this to work. You can however, recommend it, if you want. "I would

[vchkpw] qmail-smtpd-chkusr patch not applying

2004-01-16 Thread Russell Mann
Hello, Ok, my previous emails have been assuming that the patch was applied, however by "diffing" the old qmail-smtpd and the new qmail-smtpd and finding zero binary differences, I figured out that my previous patch had been failing due to an earlier patch moving lines around in qmail-smtpd.c. So

Re: [vchkpw] qmail-smtpd-chkusr patch not applying

2004-01-16 Thread Rick Macdougall
Russell Mann wrote: Hello, Ok, my previous emails have been assuming that the patch was applied, however by "diffing" the old qmail-smtpd and the new qmail-smtpd and finding zero binary differences, I figured out that my previous patch had been failing due to an earlier patch moving lines aroun

Re: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Doug Clements
Jeremy Kitchen wrote: > On Fri, 2004-01-16 at 14:35, Doug Clements wrote: >> >> Make sure you used his other big patch as well. > > it's not required for this. Maybe he doesn't want it. Please don't > give him the impression that he NEEDS the other patch for this to > work. You can however, recom

Re: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Jeremy Kitchen
On Fri, 2004-01-16 at 15:46, Doug Clements wrote: > Jeremy Kitchen wrote: > > On Fri, 2004-01-16 at 14:35, Doug Clements wrote: > >> > >> Make sure you used his other big patch as well. > > > > it's not required for this. Maybe he doesn't want it. Please don't > > give him the impression that he

[vchkpw] Qmail-pop3d (with or without ssl) and open-smtp

2004-01-16 Thread Andrea Riela
Hi folks, Now I've checked permissions and configurations, but I don't find the mistake. Why qmail-pop3d via ssl don't open the relay? I hope someone could help me, looking my ktrace's tests Qmail-pop3d with vchkpw (roaming enabled) (that's OK) - #!/bin/sh

RE: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Russell Mann
> ok so we're both right and we're both wrong. > > the patch functionality itself does not require the qmail-toaster patch, > however, since the patch file itself was created against the > qmail-toaster patch, it requires it to be cleanly patched without manual > intervention. So, if you don't wan

Re: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Doug Clements
Russell Mann wrote: >> Perhaps he should make a patch against stock qmail so those of us who >> don't want to use his 'toaster' patch can use it anyways. >> >> -Jeremy > > > Or he should at least say somewhere on his site that the chkuser patch > requires the toaster. At least then I would have ig

RE: [vchkpw] qmail-smtpd-chkusr patch not applying

2004-01-16 Thread Russell Mann
> You didn't patch the Makefile to include the vpopmail libs... From the > documentation on his site > > *** Modify your qmail Makefile and include vpopmail and crypt libraries > (also include mysql or whenever other libraries you're using for > authentication within vpopmail - i.e. ldap, sybas

RE: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Russell Mann
> It does: > Qmail chkuser patch > Checks that the vpopmail recipient is valid before accepting the message. > requires vpopmail to be installed first, and that the 0.5 patch above is > applied to qmail. > Please select the appropriate version: > > --Doug Oops, my bad. Sorry bout that. I shouldn

RE: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Jeremy Kitchen
On Fri, 2004-01-16 at 17:32, Russell Mann wrote: > > It does: > > Qmail chkuser patch > > Checks that the vpopmail recipient is valid before accepting the message. > > requires vpopmail to be installed first, and that the 0.5 patch above is > > applied to qmail. > > Please select the appropriate ve

RE: [vchkpw] Qmail-pop3d (with or without ssl) and open-smtp

2004-01-16 Thread Andrea Riela
Andrea Riela wrote: > Kdump.pop3d (< ktrace.pop3d): > http://www.nesys.it/kdump.pop3d > Kdump.pop3s (< ktrace.pop3s): > http://www.nesys.it/kdump.pop3s The differences probably are here: --- kdump.pop3d Sat Jan 17 00:34:38 2004 +++ kdump.pop3s Sat Jan 17 00:40:50 2004 @ -292,86 +292,42 @@ [...] -

[vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Russell Mann
Hello, Vpopmail, Qmail, Qmail Scanner. Sorry for the cross-list-post, but I'm not sure who to ask for this one, as I'm not sure which software isn't doing what I want! I've recently installed the chkuser patch found here: http://www.interazioni.it/qmail/#qmail-smtpd I tried the Bill Shupp one,

Re: [vchkpw] QS to reject misaddressed email at SMTP conversation

2004-01-16 Thread Doug Clements
Russell Mann wrote: > Hello, > > Vpopmail, Qmail, Qmail Scanner. Sorry for the cross-list-post, but > I'm not sure who to ask for this one, as I'm not sure which software > isn't doing what I want! > > I've recently installed the chkuser patch found here: > http://www.interazioni.it/qmail/#qmail