[ Thread unhijacked ]
On Thu, Sep 19, 2024 at 01:16:59PM -0400, John Levine via Postfix-users wrote:
> We have a bunch of role addresses that we forward to the people in the role.
aliases:
owner-localuser: postmaster
localuser: [email protected]
> If the messages have DKIM signatures, it works reasonably well since the
> signatures
> stay valid. But if they don't, mail systems like Gmail reject them becahse
> there
> is no DKIM and SPF fails. So I would like to change the bounce address on
> those
> messages to something here like [email protected]. Is there a
> straightforward
> way to do that?
>
> They're all in alias files so I could rewrite like this but it's tedious
> and error prone:
Apply well-known solution, adjusting postmaster (implicitly @$myorigin)
as you see fit, to some local address that will align with SPF.
>From aliases(5):
In addition, when an alias exists for owner-name, this will override
the envelope sender address, so that delivery diagnostics are
directed to owner-name, instead of the originator of the message (for
details, see owner_request_special, expand_owner_alias and
reset_owner_alias). This is typically used to direct delivery
errors to the maintainer of a mailing list, who is in a better
position to deal with mailing list delivery problems than the
originator of the undelivered mail.
But is also highly appropriate when forwarding a local user's mail to
a remote destination that is not a directly contracted mailbox provider
that accepts your mail for final delivery.
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]