Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to redirect all email from

* to

Do you know how I can configure my exim4 server on Debian to do so ? (My exim configuration seams to be split in different files)

Thank you.

share|improve this question
up vote 3 down vote accepted

You could create /etc/exim4/conf.d/router/350_domain_redirect and use the following contents:

   driver = redirect
   domains =
   data =

This will work, but is very specific to your problem. An improvement would be to look up the information from a file.

As for everything being in separate files, you can make the Debian exim4 packages use a single file by running:

# update-exim4.conf --keepcomments -o /etc/exim4/exim4.conf

If the exim4.conf file exists, then it will use that, otherwise, it will use the autogenerated file in /var/lib/exim4.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.