Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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:

ROUTER_DNSLOOKUP=yes

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
add comment

Your Answer

 
discard

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.