John,
You're denying then warning, use one or the other methinks. Also you may wish to use drop over deny to forcibly close the connection.
Also, from memory you can put these in either ACL HOWEVER, by using the RCPT acl you have the recipient data therefore can apply whitelists before hand for specific recipient domains if required
Also consider using this one:
http://www.barracudacentral.org/rbl
Cheers
Chris
-----Original Message-----
From: exim-users-bounces@??? [
mailto:exim-users-bounces@exim.org] On Behalf Of John Doe
Sent: 30 July 2009 16:10
To: exim-users@???
Subject: [exim] adding rbls...
Hi,
I am trying to setup rbls:
acl_check_rcpt:
...
deny dnslists = dnsbl.njabl.org : zen.spamhaus.org : cbl.abuseat.org : bl.spamcop.net
message = $sender_host_address blacklisted by $dnslist_domain\n$dnslist_text
warn dnslists = dnsbl.njabl.org : zen.spamhaus.org : cbl.abuseat.org : bl.spamcop.net
add_header = X-Warning: $sender_host_address blacklisted by $dnslist_domain
log_message = found in $dnslist_domain
Is it correct?
Is the selection of servers up to date?
I saw some people puting it under 'acl_conn_mx:' instead... Would it be better?
Do I need to do anything else apart from adding these lines in the configuration?
Thx,
JD
--
## List details at
http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/
Knowledge Limited, Company Registration: 1554385
Registered Office: New Century House, Crowther Road, Washington, Tyne & Wear. NE38 0AQ
Leeds Office: Viscount Court, Leeds Road, Rothwell, Leeds. LS26 0GR
Tel: 0845 142 0020. Fax: 0845 142 0021
E-Mail Disclaimer: This e-mail message is intended to be received only by persons entitled to receive the confidential information it may contain. E-mail messages to clients of Knowledge IT may contain information that is confidential and legally privileged. Please do not read, copy, forward, or store this message unless you are an intended recipient of it. If you have received this message in error, please forward it to the sender and delete it completely from your computer system.
Please consider the environment before printing this email.