[rbldnsd] thanks and a couple questions
Vincent Schonau
vinces at xs4all.nl
Tue May 18 11:12:45 MSD 2004
On May 17, 2004, at 21:50, steve wrote:
> Thanks for a great product and informative mailing list archives.
>
> I was tasked with setting up dnsbl the other day and after looking
> through
> the mailing list archives and reading on the web I have now set up a
> working test that rsyncs one of dsbl's lists, loads it into RBLDNSD,
> and I
> have set up a procmail recipe, based on one I found on the web, to use
> dig
> to query the RBLDNSD and if the ip is in the blacklist, it gives me a
> 127.0.0.[0-9], which matches the response I am looking for, and puts
> the
> mail message into the spam folder after adding a line that states that
> the
> ip address was found in dsbl.
>
> The reason I am using dig is when I tried to use nslookup I got Query
> refused but with dig, RBLDNSD accepts the queries. So, what have I
> misconfigured to get query refused but dig works?
nslookup is broken in several ways. If dig works, it works :)
> Also, the only way I have been able to test my setup is to add a mail
> server's ip that I am sending through to the blacklist because I am not
> getting any spam. What is a quick way to get spam so I can put the
> setup
> through its paces?
You can add 127.0.0.2 to your list, and execute a manual SMTP
conversation with 127.0.0.2 on your mailserver:
Trying 127.0.0.2...
Connected to 127.0.0.2.
Escape character is '^]'.
220 werkt.niet.net ESMTP NO UCE NO UBE You may be relaytested
ehlo localhost
250-werkt.niet.net Ok.
250-STARTTLS
250-XVERP=Courier
250-XEXDATA
250-XSECURITY=NONE,STARTTLS
250-PIPELINING
250-8BITMIME
250-SIZE
250 DSN
mail from: <>
250 Ok.
rcpt to: <[local address]>
553 5.7.1 Mail from 127.0.0.2 rejected on DNSBL listing
On some systems, you may have to create an alias for 127.0.02 for this
to work (not needed on linux).
More information about the rbldnsd
mailing list