[Pkg-exim4-users] dns black list variable CHECK_RCPT_IP_DNSBLS

Brian E. Lavender brian at brie.com
Thu Oct 23 16:49:17 UTC 2014


On Wed, Oct 22, 2014 at 04:39:00PM -0700, Brian E. Lavender wrote:
> 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

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20141023/cbaabbd8/attachment.sig>


More information about the Pkg-exim4-users mailing list