I have setup a SendMail server and my old SendMail IP address is
18.104.22.168. I want change it to
Which file should I edit to make this change?
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: