On Fri, May 8, 2009 14:47, McDonald, Dan wrote:
> I would rather have:
> blacklist_unless_auth @gmail.com
> blacklist_unless_auth @yahoo.*

meta __SPF_NOT_PASS (!SPF_PASS)
meta __NOT_LOCAL_TRUSTED (!NO_RELAYS || !ALL_TRUSTED)
meta BLACKLIST_SPF (__SPF_NOT_PASS && __NOT_LOCAL_TRUSTED)
describe BLACKLIST_SPF Meta: Blacklisted spf senders
score BLACKLIST_SPF 5.0

meta WHITELIST_SPF (!BLACKLIST_SPF)
describe WHITELIST_SPF Meta: whitelist based on not spf fail
score WHITELIST_SPF -5.0

not tested but should be it, i will test it on my corpus to verify it
works, i just writed it from my mind here so might be something i missed

now add the users that are trusted based on spf with whitelist_from_spf

-- 
http://localhost/ 100% uptime and 100% mirrored :)

Reply via email to