Thanks Matt and Daryl.  All your suggestions got my SPF checking
working.

It seems SA-Exim puts in X-SA-Exim-Mail-From as the Envelope From
header.

Kris

-----Original Message-----
From: Matt Kettler [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 11:19 AM
To: Kristopher Austin
Cc: users@spamassassin.apache.org
Subject: Re: USER_IN_SPF_WHITELIST not firing

Kristopher Austin wrote:
> After I added "always_trust_envelope_sender 1" and run spamassassin
> -Dspf on several test messages they all have this error:
> 
> dbg: spf: cannot get Envelope-From, cannot use SPF
> 
> I guess I must be missing something else.  I've been watching my logs
> since the change and still none have anything other than SPF_HELO_*.
> 
> SA is running on my gateway MX.
> 
> Anything else I should look at?

Find out what header your MTA might add to indicate the envelope sender,
or how
to get it to add one if it does not.

SA checks several headers by default, but not all MTAs use a header that
SA checks.

SA by default checks these places:
    X-Envelope-From
    Envelope-Sender
    X-Sender
    Return-Path
    Received (looking for an envelope-from clause)

 If it's not using one of the defaults, put the header name in an
envelope_sender_header statement in your local.cf.

Reply via email to