You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Henry Kwan <sp...@designmedia.com> on 2006/11/10 01:12:17 UTC

Conditional Whitelisting?

Hi,

Is there a way to conditionally whitelist with SPF?  That is, I want all
addresses from a certain domain to be whitelisted only if it passes SPF.

Or is there a way to do much the same with another mechanism besides SPF?

Thanks.



Re: Conditional Whitelisting?

Posted by Henry Kwan <sp...@designmedia.com>.
Kelson <kelson <at> speed.net> writes:

> 
> Henry Kwan wrote:
> > Is there a way to conditionally whitelist with SPF?  That is, I want all
> > addresses from a certain domain to be whitelisted only if it passes SPF.
> 
> whitelist_from_spf does exactly what you need.
> 
> I believe there's one for DomainKeys as well.
> man Mail::SpamAssassin::Conf for more info.
> 

Whoops.  I guess I didn't read the documentation closely enough.

Thanks for the tip!



Re: Conditional Whitelisting?

Posted by Henry Kwan <sp...@designmedia.com>.
Henry Kwan <spam <at> designmedia.com> writes:

> I can't seem to get this rule to hit.
> 
> I have this in my local.cf
> 
> whitelist_from_spf * <at> designmedia.com
> 
> But I never see the rule in X-Spam-Status.  SPF checking seems 
> to be working since SPF_HELO_PASS & SPF_PASS are there.
> 

It turns out that I had to wildcard the domain like this in order for that rule
to trigger:

whitelist_from_spf *@*.designmedia.com

Now it works as intended.



Re: Conditional Whitelisting?

Posted by Henry Kwan <sp...@designmedia.com>.
Kelson <kelson <at> speed.net> writes:

>
> Henry Kwan wrote:
> > Is there a way to conditionally whitelist with SPF?  That is, I want all
> > addresses from a certain domain to be whitelisted only if it passes SPF.
>
> whitelist_from_spf does exactly what you need.
>
> I believe there's one for DomainKeys as well.
> man Mail::SpamAssassin::Conf for more info.
>

Hi,

I can't seem to get this rule to hit.

I have this in my local.cf

whitelist_from_spf *@designmedia.com

But I never see the rule in X-Spam-Status.  SPF checking seems 
to be working since SPF_HELO_PASS & SPF_PASS are there.

Any ideas as to why WHITELIST_FROM_SPF is not triggering?

Thanks.


Re: Conditional Whitelisting?

Posted by Kelson <ke...@speed.net>.
Henry Kwan wrote:
> Is there a way to conditionally whitelist with SPF?  That is, I want all
> addresses from a certain domain to be whitelisted only if it passes SPF.

whitelist_from_spf does exactly what you need.

I believe there's one for DomainKeys as well.
man Mail::SpamAssassin::Conf for more info.

-- 
Kelson Vibber
SpeedGate Communications <www.speed.net>