I want to forward an email from domain1.com
to domain2.com
using /etc/aliases
The incoming email has the following syntax: mail+somerandomstring@domain1.com
and should be forwarded to mail+somerandomstring@domain2.com
The problem is that the part behind the +
(recipient_delimiter) is random but still has to be forwarded.
I looked into regex for the aliases but it seems this only works for the left hand side.
Is there any way I can achieve the forwarding using /etc/aliases
or another easy solution?