Alex wrote on 4/07/16 6:48 AM:
> Hi,
> 
> On Sun, Jul 3, 2016 at 2:29 PM, Benny Pedersen <m...@junc.eu> wrote:
>> On 2016-07-03 20:18, Alex wrote:
>>
>>> whitelist_from *@pm.sprintpcs.com
>>>
>>> does not work.. Why?

It's because the mail has a Resent-From which overrides any other from type
header.

>From the documentation Mail::SpamAssassin::Conf

"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."

 Sidney

Reply via email to