[toaster] netqmail + qmail-toaster-0.6-1 + chkuser-0.6.mysql with vpopamil-5.4.3 chkusr doesn't work

2004-06-03 Thread Davide Giunchi

I've downloaded the latest netqmail and patched with qmail-toaster-0.6-1
then chkuser-0.6.mysql, modifyied conf-mysql and conf-vpopmail to suit
my directory structure, then do make and make setup check, and the
installation is ok.
Then the chkusr patch simply doesn't work, it accept email even to user
that doesn't exist.
It could be that chkusr (crappy old software badly mantained and nevery
upgraded) doesn't work with the new vpopmail version? 

Consider that:
catchall isn't set
vpopmail use mysql for auth and chkuser too
i've alread used vchkusr and work find with older vpopmail version.

Regards.


-- 
Davide Giunchi



Re: [toaster] netqmail + qmail-toaster-0.6-1 + chkuser-0.6.mysql with vpopamil-5.4.3 chkusr doesn't work

2004-06-03 Thread Bill Shupp
Davide Giunchi wrote:
I've downloaded the latest netqmail and patched with qmail-toaster-0.6-1
then chkuser-0.6.mysql, modifyied conf-mysql and conf-vpopmail to suit
my directory structure, then do make and make setup check, and the
installation is ok.
Then the chkusr patch simply doesn't work, it accept email even to user
that doesn't exist.
It could be that chkusr (crappy old software badly mantained and nevery
upgraded) doesn't work with the new vpopmail version? 

Consider that:
catchall isn't set
vpopmail use mysql for auth and chkuser too
i've alread used vchkusr and work find with older vpopmail version.
It works for me and all of my clients.  I would not call it crappy old 
software badly mantained and nevery upgraded at all.  And it's in 
pretty bad taste to suggest that that is the case, when some of us have 
put a LOT of our time into it.  If there is indeed a bug in the way it 
interacts with the latest vpopmail mysql module, then a detailed 
description is all that is needed.  A patch would be even more productive.

Could it *possibly* be that you don't have it configured correctly? 
Perhaps you'd like your money back?  Oh, wait...

Sheesh!
Bill


Re: [toaster] netqmail + qmail-toaster-0.6-1 + chkuser-0.6.mysql with vpopamil-5.4.3 chkusr doesn't work

2004-06-03 Thread Davide Giunchi

 It works for me and all of my clients.  I would not call it crappy old 
 software badly mantained and nevery upgraded at all.  And it's in 
 pretty bad taste to suggest that that is the case, when some of us have 
 put a LOT of our time into it.  If there is indeed a bug in the way it 
 interacts with the latest vpopmail mysql module, then a detailed 
 description is all that is needed.  A patch would be even more productive.
 

Yes, a lot of people put it's time working to patching this, i'm not
referring to this people, but the author of chkuser doesn't never
upgraded chkuser, even with bug reports.

 Could it *possibly* be that you don't have it configured correctly? 

could it be! but the things to be configurend in chkuser are very
little: permission of qmail-smtpd, owner of qmail-smtp, tcpserver -u and
-g.
Here it's the setup session:

vpopmail-5.4.3: ./configure --enable-roaming-users
--enable-auth-module=mysql --disable-file-locking
--enable-clear-passwd=y --enable-relay-clear-minutes=90

netqmail + patches installation:

wget http://www.qmail.org/netqmail-1.05.tar.gz
tar xzvf netqmail-1.05.tar.gz
cd netqmail-1.05
./collate.sh
cd netqmail-1.05
wget http://shupp.org/patches/qmail-toaster-0.6-1.patch.bz2
bunzip2 qmail-toaster-0.6-1.patch.bz2
patch  qmail-toaster-0.6-1.patch
wget http://shupp.org/patches/chkuser-0.6.mysql.patch
patch  chkuser-0.6.mysql.patch
vi conf-cc conf-mysql conf-vpopmail /etc/init.d/qmail
/etc/init.d/qmail stop
make
make setup check
(here sometimes try to chown and chmod /var/qmail/bin/qmail-smtpd)
/etc/init.d/qmail start

Then if you send an email to a nonexistent user it get accepted.

I use qmail since a lot of time and i've spend a lot of hour trying to
apply the chk patch correctly (even without the bill's cumulative) and
never worked, it think that chk it's one of the most tricky patch.

Regards.

-- 
Davide Giunchi



Re: [toaster] netqmail + qmail-toaster-0.6-1 + chkuser-0.6.mysql with vpopamil-5.4.3 chkusr doesn't work

2004-06-03 Thread Tom Collins
On Jun 3, 2004, at 8:25 AM, Davide Giunchi wrote:
catchall isn't set
For that patch to work, it needs to be set to bounce.  Setting it to 
delete or an email address will let all mail through.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


[toaster] Chkuser - Mysql -Gateway

2004-06-03 Thread Mario Viana

Hello people,

I have two server for a big domain. One of them is a SMTP-MX-ANTIVIRUS it 
receive all incoming and outgoiing mail, check for virus and forward messages 
to another machine (by a smtproute), a POP server which I use 
netqmail+qmail-toaster+vpopmail 5.4.2+Mysql and users' homedirs.

I want to user chkuser-mysql in my SMTP-MX-ANTIVIR to deny incoming SMTP for 
unknown virtual domain users before forwarding message to antivirus and pop 
server to reduce antivirus working. I have replicated my vpopmail database 
from POP server to SMTP server yet, and create a 
fake /home/vpopmail/domains/mydomain.com.br/.qmail-default (with 
bounce-no-mailbox)  but chkuser still doesn work.

What does the chkuser patch are looking for? It works with my POP server 
without any problem, perhaps virtualdomains is needed? How can I use chkuser 
against a replicated mysql-vpopmail-db if I don want to deliver messages 
locally (I want to use smtproute)?


My control files at SMTP gateways are :

locals : empty
virtualdomains : empty
rcpthosts : localhost and mydomain.com.br

Thanks in advance,

Mário Viana

ISP Network Admin


Re: [toaster] Chkuser - Mysql -Gateway

2004-06-03 Thread Eero Volotinen
Mario Viana wrote:
	I want to user chkuser-mysql in my SMTP-MX-ANTIVIR to deny incoming SMTP for 
unknown virtual domain users before forwarding message to antivirus and pop 
server to reduce antivirus working. I have replicated my vpopmail database 
from POP server to SMTP server yet, and create a 
fake /home/vpopmail/domains/mydomain.com.br/.qmail-default (with 
bounce-no-mailbox)  but chkuser still doesn work.

	What does the chkuser patch are looking for? It works with my POP server 
without any problem, perhaps virtualdomains is needed? How can I use chkuser 
/var/qmail/control/ and /var/qmail/users/* must be also replicated in 
order to get chkusr patch working correctly ;) Or maybe you want to 
modify source to fetch virtual domains from textfile.

--
Eero