FAQ / Routing for local delivery / Q0420
Q0420
Question
How can I arrange that mail addressed to anything@something.mydomain.com gets delivered to something@mydomain.com?
Answer
Set up a router like this:
user_from_domain:
driver = redirect
data = ${if match{$domain}{\N^(.+)\.mydomain\.com$\N}\
{$1@mydomain.com}}
FAQ / Routing for local delivery / Q0420
