Re: SPF custom rule

2007-05-10 Thread JvdW
Bret Miller wrote: Thanks for the info Bret. What I've come up with is this: header _FROM_DOMAIN From ~= /example\.com/i header _SPF_TRUE /\bSPF_FAIL\b/ meta DOMAIN_SPF_TRUE (_FROM_DOMAIN&&_SPF_TRUE) score DOMAIN_SPF_TRUE 10.

RE: SPF custom rule

2007-05-09 Thread Bret Miller
> >>Thanks for the info Bret. What I've come up with is this: > > > >>header _FROM_DOMAIN From ~= /example\.com/i > >>header _SPF_TRUE /\bSPF_FAIL\b/ > >>meta DOMAIN_SPF_TRUE (_FROM_DOMAIN&&_SPF_TRUE) > >>score DOMAIN_SPF_TRUE 10.0 > > > >>Will this work? > > > > Kinda, with

Re: SPF custom rule

2007-05-09 Thread JvdW
Loren Wilton wrote: Thanks for the info Bret. What I've come up with is this: header _FROM_DOMAIN From ~= /example\.com/i header _SPF_TRUE /\bSPF_FAIL\b/ meta DOMAIN_SPF_TRUE (_FROM_DOMAIN&&_SPF_TRUE) score DOMAIN_SPF_TRUE 10.0 Will this work? Kinda, with few changes:

Re: SPF custom rule

2007-05-09 Thread Loren Wilton
Thanks for the info Bret. What I've come up with is this: header _FROM_DOMAIN From ~= /example\.com/i header _SPF_TRUE /\bSPF_FAIL\b/ meta DOMAIN_SPF_TRUE (_FROM_DOMAIN&&_SPF_TRUE) score DOMAIN_SPF_TRUE 10.0 Will this work? Kinda, with few changes: header __FROM_DOMA

Re: SPF custom rule

2007-05-08 Thread JvdW
Bret Miller wrote: I need to look at setting up a custom rule based on a SPF result. If mail is sent from domain xyz.com and the SPF record matches, let it pass as per normal. If on the other hand the SPF record fails for xyz.com, add +5 to the score. This has to happen ONLY for dom

Re: SPF custom rule

2007-05-08 Thread Benny Pedersen
On Tue, May 8, 2007 13:47, JvdW wrote: > score. This has to happen ONLY for domain xyz.com. All others will be handled > by Spamassassin the normal way. > > I'm new to these sort of rules so any help would be greatly appreciated. in local.cf put whitelist_from_spf [EMAIL PROTECTED] or def_whi

RE: SPF custom rule

2007-05-08 Thread Bret Miller
> I need to look at setting up a custom rule based on a SPF > result. If mail is sent from domain xyz.com and the SPF > record matches, let it pass as per normal. If on the other > hand the SPF record fails for xyz.com, add +5 to the score. > This has to happen ONLY for domain xyz.com. All others w

SPF custom rule

2007-05-08 Thread JvdW
Hi all I need to look at setting up a custom rule based on a SPF result. If mail is sent from domain xyz.com and the SPF record matches, let it pass as per normal. If on the other hand the SPF record fails for xyz.com, add +5 to the score. This has to happen ONLY for domain xyz.com. All others