RBL Checks to Reject Known Spammers

lamp

Well-Known Member
Dec 22, 2003
111
0
166
Hello,

I would like to configure exim to reject mail coming from known spammers; like the ones that appear in lists found at spamhaus.org (other lists would be good too).

Do you know of any tutorial on how to do this.

I know that I have to edit the exim configuration file: one of the 3 consecutive textboxes that start with 'begin acl'

Your help is appreciated.
Lamp
 

Un Area

Well-Known Member
Nov 16, 2006
90
1
156
You may add this under begin acl in /etc/exim.conf

# RBLS CHECKING ACL
deny message = Message rejected - $sender_fullhost is in an RBL, see $dnslist_text
!hosts = +relay_hosts
!authenticated = *
dnslists = bl.spamcop.net : sbl-xbl.spamhaus.org
#RBL Bypass Local Domain List
!domains = +rbl_bypass


That will setup spamcop and spamhaus databases for RBL checking. :)

Bye!
 
Last edited:

katmai

Well-Known Member
Mar 13, 2006
564
3
168
Brno, Czech Republic
Starting exim: 2006-11-23 21:56:35 Exim configuration error in line 228 of /etc/exim.conf:
missing or malformed ACL name
[FAILED]
Starting exim-smtps: 2006-11-23 21:56:35 Exim configuration error in line 228 of /etc/exim.conf:
missing or malformed ACL name
[FAILED]


after adding your acl in exim.conf - begin acl area...