"Mark" == Mark <admin(_at_)asarian-host(_dot_)net> writes:
Mark> Instead, if you must do SPF at the LDA phase, have your MTA
Mark> add an extra, local header, which specifically holds the
Mark> envelope-from (if it does not already do so; sendmail does),
Mark> and use that.
In fact, RFC 2821 requires final delivery to add a header containing
the envelope-from. And the name of that header is Return-Path :-)
Not that this is relevent to the case in point, because we're talking
about an SMTP-time rejection. So the only address that should be used
is the argument to the MAIL FROM command.
-roy