E-mail forwarding is not always that easy. SPF records can be broken, and if an email is lost, it is not easy to debug where it got lost. We therefore recommend not to use e-mail forwarding whenever possible. If you still need a forwarding there are the following possibilities.
You can create Sieve filters as an administrator or domain administrator.
Forwardings created by Sieve filters are ARC-signed and the
envelope-from header is rewritten accordingly.
This way, there are fewer problems with SPF.
Add a new filter with the following content.
Forward and delete:
redirect "email@example.com"; discard;
Or forward and keep in the inbox:
redirect "firstname.lastname@example.org"; keep;
Or you can also forward emails to multiple recipients:
redirect "email@example.com"; redirect "firstname.lastname@example.org"; discard;
For creating a forwarding you can also create an alias. However, the
envelope-from header will be kept, which may cause problems with SPF. In our case, Postfix cannot perform SRS.
As Mailbox User¶
As a mailbox user you can create a forwarding within your webmail. Technically, this also use sieve filters.
/SOGo, then open settings
Create your forwarding here
Navigate to Roundcube, then open settings
Create your forwarding rule here