Ben Wylie wrote:
but then refuses to do any more, as it claims not to be able to trust
the X-Envelope-From header because it has been through my AV gateway:
[2408] dbg: spf: relayed through one or more trusted relays, cannot use
header-based Envelope-From, skipping
Similarly:
[2408] dbg: spf: def_spf_whitelist_from: could not find useable envelope
sender
[2408] dbg: spf: spf_whitelist_from: could not find useable envelope sender
Is there any way that I can tell SpamAssassin to trust the
X-Envelope-From or Return-Path information in the headers as it is
merely an AV gateway and not going to change the X-Envelope-From headers?
This way I could get SPF checks on the senders as well as be able to use
SPF Whitelist From.
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.
Daryl