[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



[toaster] Issues with Spam...

2004-06-03 Thread James Myers



Hello list,
 
I am not sure if this is where I need to ask this 
question, but my back is against the wall and I really need some assistance. 

 
I am using an older version of the Shupp qmail 
toaster on Redhat 8.0 and have Spamassassin and qmail scanner both installed. I 
have a number of Spammers trying to use bogus account names from listed domains. 
Apparently they have had some success because my server ip address has been 
added to the Orbs list and several other email ban list as well. 
 
I have been adding bogus domains to the Rejected 
Recipients in qmail itself and bogus email addresses Spamassassin and still have 
a lot of spam get through. Even on rejected domains (example: china.com). 
Is there a way I can ban by ip address? Does anyone have some suggestions as to 
what I can do to stop this issue or at least slow spammers down a 
bit?
 
Thanks
James
 


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 David M. Shirley
Relax Bill.  The rest of us still love you.  We know that you put in a 
huge amount of time on this and we do appreciate it.  My guess is that 
he didn't know that you had anything to do with the creation of the 
chkuser patch...

On Thursday, June 3, 2004, at 08:35 AM, Bill Shupp wrote:
Could it *possibly* be that you don't have it configured correctly? 
Perhaps you'd like your money back?  Oh, wait...

Sheesh!
David Shirley
http://www.webquarry.com


Re: [toaster] Issues with Spam...

2004-06-03 Thread trevor
James Myers wrote:
Hello list,
I am not sure if this is where I need to ask this question, but my
back is against the wall and I really need some assistance.
I am using an older version of the Shupp qmail toaster on Redhat 8.0
and have Spamassassin and qmail scanner both installed. I have a
number of Spammers trying to use bogus account names from listed
domains. Apparently they have had some success because my server ip
address has been added to the Orbs list and several other email ban
list as well.
I have been adding bogus domains to the Rejected Recipients in qmail
itself and bogus email addresses Spamassassin and still have a lot of
spam get through. Even on rejected domains (example: china.com). Is
there a way I can ban by ip address? Does anyone have some
suggestions as to what I can do to stop this issue or at least slow
spammers down a bit?
Thanks James
You can can add the file badmailfrom in /var/qmail/control directory and
insert the ip addresses there.  This only works if the spammers don't
lie about their sending domain.  There's a nice big list here of
blacklists that I just started using
http://www.stearns.org/sa-blacklist/  (scroll way down to Qmail).  Dump 
his file into badmailfrom and add your own.  See if that works.
He also has some custom spamassasin rule sets that I also started using 
with more here:
 http://wiki.apache.org/spamassassin/CustomRulesets




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/


Re: [toaster] Issues with Spam...

2004-06-03 Thread Eero Volotinen
James Myers wrote:
Hello list,
I am not sure if this is where I need to ask this question, but my back is against the wall and I really need some assistance. 

Well. it worked fine in my configuration. Oh well. Toaster does not use 
mysql. Well. That is bad :) so I.

You people might want to sponsor Shupp to test more toaster, It is worth 
of it :)

--
Eero


[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