Discussion:
[Pkg-exim4-users] dns black list variable CHECK_RCPT_IP_DNSBLS
Brian E. Lavender
2014-10-22 23:39:00 UTC
Permalink
How do I set the value of the CHECK_RCPT_IP_DNSBLS?

I would like to set it to the following:
sbl.spamhaus.org:bl.spamcop.net:cbl.abuseat.org

brian

/etc/exim4/conf.d/acl
30_exim4-config_check_rcpt

# Check against classic DNS "black" lists (DNSBLs) which list
# sender IP addresses
.ifdef CHECK_RCPT_IP_DNSBLS
warn
dnslists = CHECK_RCPT_IP_DNSBLS
add_header = X-Warning: $sender_host_address is listed at $dnslist_domain ($dnslist_value: $dnslist_text)
log_message = $sender_host_address is listed at $dnslist_domain ($dnslist_value: $dnslist_text)
.endif
--
Brian Lavender
http://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture
Brian E. Lavender
2014-10-23 16:49:17 UTC
Permalink
Post by Brian E. Lavender
How do I set the value of the CHECK_RCPT_IP_DNSBLS?
sbl.spamhaus.org:bl.spamcop.net:cbl.abuseat.org
brian
/etc/exim4/conf.d/acl
30_exim4-config_check_rcpt
# Check against classic DNS "black" lists (DNSBLs) which list
# sender IP addresses
.ifdef CHECK_RCPT_IP_DNSBLS
warn
dnslists = CHECK_RCPT_IP_DNSBLS
add_header = X-Warning: $sender_host_address is listed at $dnslist_domain ($dnslist_value: $dnslist_text)
log_message = $sender_host_address is listed at $dnslist_domain ($dnslist_value: $dnslist_text)
.endif
I created a file and put the following in it. I think there might be a better place to put this,
but it works for now.

/etc/exim4/conf.d/main/00_exim4-config_local_options

CHECK_RCPT_IP_DNSBL = sbl.spamhaus.org:bl.spamcop.net:cbl.abuseat.org
--
Brian Lavender
http://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture
Loading...