On Fri, Jun 24, 2022 at 09:48:20AM -0400, Wietse Venema wrote:

> > If you can convince the user to surrender the alias management to you,
> > then you instead configure:
> > 
> >     owner-user: user
> >     user: some.a...@gmail.com
> > 
> > And presto magic, email to gmail will be forwarded with an envelope
> > sender address that no longer fails SPF checks.  DKIM should continue
> > to work, because the message content will not be modified in transit.
> 
> That is a neat hack. Would this work?
> 
>      owner-user: user
>      user: :include:/home/user/.forward

This is neat.  The main constraint is that the user should not attempt
to also have the message delivered locally.  The ".forward file" needs
to avoid looping back to the same local user.  But this does give
control of the forwarding address back to the user.  The user must also
not remove the ".forward" file.

-- 
    Viktor.

Reply via email to