CentOS running Exim 4.63(inc latest fixes).

I want to configure exim to not listen on the external IP, only localhost so that exim can only be used from the server itself (no remote connections).

What's the config option for this setup?



The option you want is local_interfaces in the main part of the configuration. Section 13.1 of the spec gives some examples, and the full definitions of the option is in the alphabetical list of main options (which I can't directly link to because it doesn't have an anchor).

To summarize:

local_interfaces =

define interface parameter under transport section to localhost in main co

  • Tried this in the transports sectio of exim.conf and restarted exim and I'm still able to connect remotely: <code> remote_smtp: driver = smtp interface =</code> – user69904 Feb 8 '11 at 11:22
  • This is wrong, the interface optoin sets the IP for outgoing connections – jj33 Feb 8 '11 at 13:36
  • -1 for wrong answer – danorton Jan 31 '14 at 22:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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