You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Johnson, Robert F" <ro...@intel.com> on 2005/05/17 19:45:24 UTC

USER_IN_WHITELIST not always triggered for a specific domain

I'm trying to debug why a specific domain is not triggering
USER_IN_WHITELIST even though the domain is listed in sa-mimedefang as 

whitelist_from 	*@<domain.com>.

White listing is working in general.  What conditions does
USER_IN_WHITELIST look for?  For example, is it just the From: header or
the envelop or both? 

Thanks if advance.



Re: USER_IN_WHITELIST not always triggered for a specific domain

Posted by Matt Kettler <mk...@evi-inc.com>.
Johnson, Robert F wrote:
> I'm trying to debug why a specific domain is not triggering
> USER_IN_WHITELIST even though the domain is listed in sa-mimedefang as 
> 
> whitelist_from 	*@<domain.com>.
> 
> White listing is working in general.  What conditions does
> USER_IN_WHITELIST look for?  For example, is it just the From: header or
> the envelop or both? 

SA never has direct access to the envelope, thus it does not ever do anything
based on the directly on the envelope. It does however, try to infer the
envelope by examining certain headers.


The sa 3.0 manpage explains the rest:

--------------------

The headers checked for whitelist addresses are as follows: if Resent-From is
set, use that; otherwise check all addresses taken from the following set of
headers:

        Envelope-Sender
        Resent-Sender
        X-Envelope-From
        From

    In addition, the ``envelope sender'' data, taken from the SMTP envelope data
where this is available, is looked up.

--------------------

Note: For an explanation that last clause See the envelope_sender_header section
of the manpage. But in short, that means in can also check:

    X-Sender
    Return-Path