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


CategoryFrequentlyAskedQuestions

EximWiki: FAQ/Routing_for_local_delivery/Q0420 (last edited 2008-09-25 11:39:33 by localhost)