Matt wrote:
> I use this to block some spam before wasting CPU power on a message
> with Spamassassin.
> 
> # : sbl.spamhaus.org
> deny dnslists = sbl.spamhaus.org
>        message  = SPAM: rejected because $sender_host_address is in
> the blacklist at $dnslist_domain\n\ ($dnslist_text)
> 
> sbl.spamhaus.org rarely ever falses.  I have tried xbl.spamhaus.org
> and bl.spamcop.net but both false too much.  Is there a way to check
> both blacklists and only block if an IP is in both xbl.spamhaus.org
> and bl.spamcop.net?
> 

I haven't tried it myself, but an acl like this should work:

deny
dnslists = sbl.spamhaus.org
dnslists = bl.spamcop.net
message = You are on both spamcop and spamhaus

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
## 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/

Reply via email to