LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Port 25 (https://www.linuxquestions.org/questions/linux-newbie-8/port-25-a-635920/)

i_nomad 04-17-2008 03:44 AM

Port 25
 
Is it normal for port 25 to be linked to the local loopback address?
What can I do to change this so that the local address is 0.0.0.0

on doing a netstat -ntlp output is:
tcp 0 0 127.0.0.1:25 0.0.0.0:* LIST

This is causing problems for the smtp mail delivery.

Regards

bhaslinux 04-17-2008 03:51 AM

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

i_nomad 04-17-2008 04:01 AM

Thanks for the hint. I am using postfix

the line to add to main.cf is inet_interfaces = all

That worked fine.

Regards


All times are GMT -5. The time now is 12:31 AM.