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 have setup a SendMail server and my old SendMail IP address is I want change it to

Which file should I edit to make this change?

share|improve this question

migrated from May 26 '10 at 3:29

This question came from our site for professional and enthusiast programmers.

(I assume you're talking about the host OS's IP, correct? If so, see below, if not, please rephrase your question so it's more clear)

In most configurations, you'll need to set the IP address on the host OS, not specifically in sendmail (though there may be some odd configs out there that require IP address to be hard-coded in sendmail).

Depending on your linux distribution, you'll likely need to change one of these files:

Debian/Ubuntu: /etc/network/interfaces

RHEL/Fedora/CentOS: /etc/sysconfig/network-scripts/ifcfg-eth0

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.