Q0420 - Exim/exim GitHub Wiki

Q0420


`Navigation(siblings)`_


Q0420

Question

How can I arrange that mail addressed to [[email protected]](mailto:[email protected]) gets delivered to [[email protected]](mailto:[email protected])?

Answer

Set up a router like this:

user_from_domain:
  driver = redirect
  data = ${if match{$domain}{\N^(.+)\.mydomain\.com$\N}\
    {[email protected]}}

⚠️ **GitHub.com Fallback** ⚠️