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

Reply via email to