On 2/27/2007 12:45 PM, Ben Wylie wrote:
Daryl C. W. O'Shea wrote:

Assuming you've got your trusted_networks (and possibly internal_networks) setup, you just need to add "always_trust_envelope_sender 1" to your local.cf.


Thanks for the help.
It now gives me the error
[3952] dbg: spf: cannot get Envelope-From, cannot use SPF
[3952] dbg: spf: def_spf_whitelist_from: could not find useable envelope sender
[3952] dbg: spf: spf_whitelist_from: could not find useable envelope sender

All emails contain these headers:
Return-Path:
X-Envelope-From:
X-Envelope-To:

What exactly is SA looking for?

Return-Path is the optimal header for the envelope sender info.

You haven't said how you're calling SA. I'm going to guess that it's via a milter, and these headers aren't present in the copy of the message it is providing to SA (if this is the case it's possibly that it's also not providing the required received header for the current hop).

If you're not using a milter, and instead calling it via an MDA or manually after the fact, then something is really screwed up, since if there's a Return-Path header present it's going to be used (unless it's a null sender, in which case this is the expected behaviour).


Daryl

Reply via email to