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

Which file should I edit to make this change?

share|improve this question

migrated from stackoverflow.com May 26 '10 at 3:29

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

add comment

1 Answer

(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
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.