On 2023-04-23 at 14:29:31 UTC-0400 (Sun, 23 Apr 2023 20:29:31 +0200)
Benny Pedersen via Postfix-users <m...@junc.eu>
is rumored to have said:
Matus UHLAR - fantomas via Postfix-users skrev den 2023-04-23 16:43:
On 23.04.23 11:19, Benny Pedersen via Postfix-users wrote:
Subject: [pfx] postfix does not add Return-Path if mail is missing
it
imho a bug
it's added in local if delivering to mbox or maildir:
http://www.postfix.org/local.8.html
its not in my case a local problem, its seen from remote mta (exim), i
reported here in belive that this is a bug, i know envelope-from can
be in received header aswell
Return-Path should only be added by the final delivery agent. If the
mail is being sent out to another MTA, it should NOT have a Return-Path
on it.
what will postfix do if both missing ?,
I'm sure Viktor and/or Wietse with correct me if I'm wrong, but I'm
fairly sure Postfix never cares about the presence of a Return-Path
header *UNLESS* it is configured to strip an existing one out. It does
not interpret existing Received headers.
what will spf test do in spamassassin ?
SA has multiple ways of figuring out the RFC5321MailFrom (a.k.a.
envelope sender or return-path) value, which the MTA should provide to
whatever glue you use to integrate SA. Some glue layers (e.g.
MIMEDefang, MailMunge, and I expect any other milter) construct
synthetic final delivery headers (Received, Delivered-To, Return-Path,
etc.) to pass to SA. See the SA docs (and your glue docs, I guess...)
for details.
--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org