Juha Saarinen <juhasaarinen@???> (Fr 12 Jan 2007 00:59:14 CET):
...
> messages listed in the given DNSbl. You may want to add a message as
> well though. I have:
>
> deny dnslists = zen.spamhaus.org
> message = $sender_host_address is listed in $dnslist_domain\
> ${if def:dnslist_text { ($dnslist_text)}}
>
> which produces messages like this one in my reject log:
>
> 2007-01-12 12:50:55 H=12-217-16-9.client.mchsi.com [12.217.16.9]
> rejected connection in "connect" ACL: 12.217.16.9 is listed in
> zen.spamhaus.org (http://www.spamhaus.org/query/bl?ip=12.217.16.9)
I wouldn't block in the connect ACL, because first they do not see that
you do not like them (most MTA are not aware of a 5xx response to the
connect. And 2nd, they can't send you a mail to your postmaster account
to complain.
I'd to it in the rcpt ACL, as it is done in the example configs.
--
Heiko