Bret Miller wrote:
Thanks for the info Bret. What I've come up with is this: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 will be handled by Spamassassin the normal way.I can't specify the syntax directly for you, but a good method of doing this would be to create a rule to detect the message is from that domain then use a meta rule to score if the message hits both from that domain and SPF_FAIL.Bret 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? Regards JvdW |
- Re: SPF custom rule JvdW
- Re: SPF custom rule Loren Wilton
- Re: SPF custom rule JvdW
- RE: SPF custom rule Bret Miller
- Re: SPF custom rule JvdW