Virbl usage
So how should you use Virbl? We'll try to tell you for some well-known products.
EximIn an Exim ACL, use the following code:
# Block all connections from hosts on Virbl
deny
message = Connection blocked. You are on $dnslist_domain ($dnslist_text)
dnslists = virbl.dnsbl.bit.nl
This will deny messages from any ip which is on VirblSpamassassin
In your local.cf (or so), use the following code:
header RCVD_IN_VIRBL eval:check_rbl_txt('virbl', 'virbl.dnsbl.bit.nl')
describe RCVD_IN_VIRBL Listed in virbl.dnsbl.bit.nl
tflags RCVD_IN_VIRBL net
score RCVD_IN_VIRBL 0 3.0 0 3.0
This will give messages from any ip which is on Virbl an extra score of three points.Sendmail
Add the following line to your sendmail.mc, rebuild your sendmail.cf and restart sendmail.
FEATURE(`enhdnsbl', `virbl.dnsbl.bit.nl', ``Mail from $&{client_addr} rejected, see http://virbl.bit.nl/'',`t')dnl
Postfix
In main.cf, add the following line:
smtpd_recipient_restrictions = reject_rbl_client virbl.dnsbl.bit.nlThis will deny messages from any ip which is on Virbl