At 10:27 AM 6/25/2004, scohen wrote:
I know the default way of configuring spamassassin to use a dnsbl is like
this:

header RCVD_IN_DSBL             eval:check_rbl_txt('dsbl',
'list.dsbl.org.')
describe RCVD_IN_DSBL           Received via a relay in list.dsbl.org
tflags RCVD_IN_DSBL             net

Now, I set up my own dnsbl and I was wondering if was possible to
supply the host to check with in addition to just the zone, so I don't have
to add a forward entry in dns or add a nameserver entry in resolv.conf

Right now, no.. SA just uses Net::DNS in a fairly straightforward manner which just uses the local resolver.


Net::DNS can be set with separate parameters when created via new, however this would require SA to instantiate a separate Net::DNS object just for that query. It could get a bit ugly in the code trying to keep track of multiple resolver objects each with separate settings.



Reply via email to