Giampaolo Tomassoni-2 wrote:
> 
> You kidding...
> 
>       su -s /bin/sh -c '/the/abs/path/to/whatever {options}*' - vscan
> 

No kidding, sir... just I didn't kown how to achieve it :-)

Well, let's go:

su -s /bin/sh -c 'spamassassin -D </home/serv1/test.txt 2>&1 | less' - vscan

But I get the same results -> timeouts:

***
[6195] dbg: async: aborting after 14.967 s, deadline shrunk: DNSBL-A,
dns:A:213.21.195.128.dnsbl.sorbs.net.

(...)

[6195] dbg: async: timing: 14.967 X dns:A:213.21.195.128.dnsbl.sorbs.net.
***

And running the same query "outside" SA, I get -> nxdomain

***
dig 213.21.195.128.dnsbl.sorbs.net. @80.58.0.33

; <<>> DiG 9.4.1-P1 <<>> 213.21.195.128.dnsbl.sorbs.net. @80.58.0.33
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 44911
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;213.21.195.128.dnsbl.sorbs.net.        IN      A

;; AUTHORITY SECTION:
dnsbl.sorbs.net.        600     IN      SOA     rbldns0.sorbs.net.
dns.isux.com. 1235820662 7200 7200 604800 3600

;; Query time: 1157 msec
;; SERVER: 80.58.0.33#53(80.58.0.33)
;; WHEN: Sat Feb 28 13:56:52 2009
;; MSG SIZE  rcvd: 104
***

So, why "different" results for the "same" query?

The fact is that I get no reply from dns server when the query is called
from SA (extracted from tcpdump):

***
14:03:07.936631 IP 10.0.0.11.56257 >
33.Red-80-58-0.staticIP.rima-tde.net.domain: 28900+ A?
213.21.195.128.dnsbl.sorbs.net. (48)
***

But when I make the query from dig, I get a response (extracted from
tcpdump):

***
14:04:57.421204 IP 10.0.0.11.32801 >
33.Red-80-58-0.staticIP.rima-tde.net.domain: 48904+ A?
213.21.195.128.dnsbl.sorbs.net. (48)
14:04:57.460885 IP 33.Red-80-58-0.staticIP.rima-tde.net.domain >
10.0.0.11.32801: 48904 NXDomain 0/1/0 (104)
***
-- 
View this message in context: 
http://www.nabble.com/dnsbl-checks-time-out-tp22222481p22261948.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to