On Sun 22/Jan/2023 23:50:19 +0100 Sebastian Nielsen wrote:
[...]
Or when Date: header is off (which then causes email to land in the middle of
inbox - super irritating), just replace it with current date/time.
That's only correct for 01/01/1970. If the message is really an old one, its
date deserves being preserved. Users can always sort messages in received
order (by IMAP id), or select unread messages.
Or if a forward is setup and you don't want to break SPF or DMARC with strict
alignment.
For example:
If al...@yourdomain.com is forwarded to a...@example.org, do this:
From: sen...@somedomain.com
To: al...@yourdomain.com
forward as:
From: al...@yourdomain.com
To: a...@example.org
Reply-To: sen...@somedomain.com
That is similar to what many mailing lists do, including this one. Working the
display-phrase so as to make the change apparent is advisable.
(strip any DKIM signatures and resign with key for yourdomain.com)
Stripping signatures is not recommended. In particular, as it is common to
save the original From: in Reply-To:, original signatures can be verified by
undoing the above changes. For example, the following is the top of the header
in the message I'm replying to:
Return-Path: <mailop-boun...@mailop.org>
Authentication-Results: wmail.tana.it;
spf=pass smtp.mailfrom=mailop.org;
dkim=pass reason="Original-From: transformed" header.d=sebbe.eu;
dmarc=pass header.from=mailop.org
From: Sebastian Nielsen <sebast...@sebbe.eu>
Later in the header, I have:
List-Subscribe: <https://list.mailop.org/listinfo/mailop>,
<mailto:mailop-requ...@mailop.org?subject=subscribe>
Munged-From: Sebastian Nielsen via mailop <mailop@mailop.org>
Reply-To: Sebastian Nielsen <sebast...@sebbe.eu>
Best
Ale
--
_______________________________________________
mailop mailing list
mailop@mailop.org
https://list.mailop.org/listinfo/mailop