On Monday 17 September 2007 08:03, Elijah Daniel wrote:
> I've been searching the web on howto block domain with this SPF entry
> "v=spf1 +all"  on exim4 on debian but couldn't find howto do it. We are
> using Exim4 on debian with spamassin installed.

If you're trying to detect domains that authorize the entire IP address space 
(or large portions of it), remember that that can be done in more ways 
than "+all". In principle you have to process all SPF terms, including 
include:s, in order to determine the set of authorized IP addresses, which is 
something different from what libspf2 does: checking whether a particular 
address is authorized.

In practice, using something like ${if match {${lookup dnsdb 
{txt=$sender_address_domain}}} {v=spf1.*\+all}} (note: very rough example!) 
might work surprisingly well. (But if it becomes widespread, spammers will 
start working around it.)

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

Attachment: pgpt1Gvxpq26O.pgp
Description: PGP 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