It is the task of the server socket process to bind to an interface. If you are talking of port 25 (assuming sendmail) you have to edit the sendmail.mc file and specify the ip address as 0.0.0.0 to bind to all interfaces.
PS: once you edit the file you have to run make to have the changes propogated to sendmail.cf
|