I have some problems with the "-a" option of rblsmtpd. To be more precise, I cant get 
it to work at all.
I have set up rbldns on one of my servers with the intention of using it as an 
"anti-blocked" list. The rbldns is working,
both dig and dnsq can get A records from rbl.unet.net.ph
The problem is that rblsmtpd doesnt seem to do any lookup to it at all. The only 
requests that shows up in the rbldns log is the ones I make with dig and dnsq. 


# dig @rbl.unet.net.ph 142.205.105.202.rbl.unet.net.ph
; <<>> DiG 8.2 <<>> @rbl.unet.net.ph 142.205.105.202.rbl.unet.net.ph 
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;      142.205.105.202.rbl.unet.net.ph, type = A, class = IN

;; ANSWER SECTION:
142.205.105.202.rbl.unet.net.ph.  34m8s IN A  127.0.0.2

;; Total query time: 3 msec
;; FROM: mail to SERVER: rbl.unet.net.ph  203.65.246.6
;; WHEN: Thu Aug  2 15:25:57 2001
;; MSG SIZE  sent: 49  rcvd: 65


# dnsq a 142.205.105.202.rbl.unet.net.ph rbl.unet.net.ph
1 142.205.105.202.rbl.unet.net.ph:
65 bytes, 1+1+0+0 records, response, authoritative, noerror
query: 1 142.205.105.202.rbl.unet.net.ph
answer: 142.205.105.202.rbl.unet.net.ph 2048 A 127.0.0.2


/service/qmail-smptd/run
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
QMAILQUEUE=`cat /var/qmail/control/queueprogram`;export QMAILQUEUE
exec /usr/local/bin/softlimit -m 6000000 /usr/local/bin/tcpserver \
-H -R -v -p -x /etc/tcp.smtp.cdb -c $MAXSMTPD -u $QMAILDUID -g $NOFILESGID 0 smtp \
/usr/local/bin/rblsmtpd -b -a rbl.unet.net.ph -r relays.ordb.org -r or.orbl.org 
/var/qmail/bin/qmail-smtpd 2>&1

-- 
Lars Hansson                  Technical Consultant/System Administrator
UNET, Inc.                    Makati City, Philippines
e-mail: [EMAIL PROTECTED]

Reply via email to