Server Fault is a question and answer site for system and network administrators. 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 am setting up Exim for the first time on a test server (compiled from source). I am following the HowTo at Linux From Scratch. I have editted the configuration file as given in the link. I then, run this command - /usr/sbin/sendmail -bd -q15m .

I get an error that says "Exim configuration error in line 516 of /etc/exim/exim.conf: router dnslookup: cannot find router driver "dnslookup"" My Exim config file can be found here - Exim Config File

Any help would be appreciated.

Thanks in Advance..

share|improve this question
up vote 1 down vote accepted

You have built exim without the dnslookup router. You can use the -bV option to view how exim was built:

OVZ-CentOS58[root@ivwm51 ~]# exim -bV | grep Routers
Routers: accept dnslookup ipliteral manualroute queryprogram redirect

In your case, you will not see the word "dnslookup" there. Remove the grep part to see the entire output.

To fix this, change your Local/Makefile by making sure this is enabled and not commented out:


Then rebuild and install your exim, and it should be functional.

share|improve this answer
Thanks for the answer. It worked exactly as you said. – i.h4d35 Jun 18 '13 at 4:32

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.