Re: More than 3.000 smtp sessions actives!
"Tomas Kuliavas" <[email protected]> Wed, 21 Jul 2010 15:34:31 +0300 (EEST)
| Newsgroups | gmane.mail.qmail.ldap |
|---|---|
| Message-ID | <[email protected]> |
2010.07.20 14:48 Jimmy Spam rašė: > > Jimmy Spam <[email protected]> escribió: > >>> Can you check how fast your spamhaus DNS lookups are and maybe consider >>> running local RBL? Spamhaus offers 30 day trial, if you want to check >>> how >>> local RBL would affect your email performance. >> >> I will consider it, I don't knew this possibility. >> >> Thank you very much. > > > I'm trying the CBL list on local mode, but It doesn't work correctly. > Probably I'm doing something wrong. > > I'm using rbldnsd and I launch it with this: > > [root@mailhost rbldnsd]# ./rbldnsd -b 127.0.0.1/53 > cbl.abuseat.org:ip4tset:./cbl.soa,./file > > cbl.abuseat.org:generic:./cbl-rbldnsd.extras rbldnsd: listening on > 127.0.0.1/53 > rbldnsd: ip4tset:./cbl.soa,./file: 20100720 111925: cnt=8798163 > rbldnsd: generic:./cbl-rbldnsd.extras: 20100720 112535: e=16 > rbldnsd: zones reloaded, time 1.75e/1.45u sec, mem arena=284 free=67 > mmap=34368 Kb > rbldnsd: rbldnsd version 0.996b (29 Mar 2008) started (1 socket(s), 1 > zone(s)) > > then, I include this line in my rbllist file: > > 127.0.0.1 reject 127.0.0.2 See http://cbl.abuseat.org > > I Restart qmail. > > And this is a fragment of qmail-smtpd wich show that my local RBL list > doesn't work propetly: > > 2010-07-20 13:34:22.647579500 qmail-smtpd 10589: RBL check with > '127.0.0.1': no match found, continue. > 2010-07-20 13:34:22.662758500 qmail-smtpd 10589: RBL check with > 'cbl.abuseat.org': found match, reject sender RBL can be tested with rblcheck utility. http://sourceforge.net/projects/rblcheck/ Check contents of ./file, find some IP address for testing and check it with rblcheck. I suspect that basename in /var/qmail/control/rbllist should not be 127.0.0.1. It should point at DNS server responsible for some real domain. For example, you run 'example.com' domain and create rbl.example.com NS record in your example.com zone file pointing at your rbldnsd server. Then basename is rbl.example.com. -- Tomas