envelope-from
Mark Sapiro
mark at msapiro.net
Tue Apr 30 16:02:03 UTC 2019
On 4/30/19 3:27 AM, Nicola Piazzi wrote:
> Someone have a way to test in spamassassin envelope-from instead of from
> contained in headers ?
>
> Mailscanner add envelope-from in header only when spamassassin altready
> scanned it
MTAs on final delivery are supposed to add a Return-Path: header with
the envelope sender address. Postfix does. See RFC 5321, sec 4.4 and
predecessors which says in part:
> When the delivery SMTP server makes the "final delivery" of a
> message, it inserts a return-path line at the beginning of the mail
> data. This use of return-path is required; mail systems MUST support
> it. The return-path line preserves the information in the <reverse-
> path> from the MAIL command. Here, final delivery means the message
> has left the SMTP environment. Normally, this would mean it had been
> delivered to the destination user or an associated mail drop, but in
> some cases it may be further processed and transmitted by another
> mail system.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the MailScanner
mailing list