PDA

View Full Version : Blacklists



hci
06-22-2004, 10:04 AM
When using Sendmail I used the below syntax in sendmail.cf to block based on various blacklists.


#
# DNS based IP address spam list relays.orbd.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: <?> $(host $4.$3.$2.$1.relays.ordb.org. $: OK $)
R<?>OK $: OKSOFAR
R<?>$+ $#error $@ 5.7.1 $: "Open relay: " $&{client_addr} " blocked by relays.ordb.org: http://ordb.org/look$


How do I do this with Exim?

Matthew

nobaloney
06-22-2004, 11:07 AM
Presuming you're using exim.4.x, you can use the preconfigured exim.conf file found here (http://www.nobaloney.net/exim/exim.conf.spamblocked) if you'd like, but if you do, be sure to read the thread here (http://www.directadmin.com/forum/showthread.php?s=&threadid=3145) for information on how to use it.

Or you may look here (http://www.nobaloney.net/exim/exim.conf.spamblocked) for the ACL relevant ACL sections.

Note that you may have to do a bit more than just change the exim.conf file.

Jeff