Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 have exim4 installed on a debian wheezy box and configuring it seems difficult.

I have a dynamic list of usernames (A user named $USER exists iff the directory /.../us/$USER exists).

When exim receives an email for user@example.com, I want it to

  • Fail if user is not in that list
  • Pipe the email to a script otherwise

How can I configure exim4 to do this?

Note: The format of the username list is not that important since I control the user-adding code and therefore I can change it to something more exim-friendly

share|improve this question

You must log in to answer this question.

Browse other questions tagged .