Linode Forum
https://forum.linode.com/

Problem installing Postfix
https://forum.linode.com/viewtopic.php?f=11&t=801
Page 1 of 1

Author:  mpoly [ Sat Apr 10, 2004 12:37 pm ]
Post subject:  Problem installing Postfix

Hi, I'm trying to install postfix on my machine. The server starts up, and I can "telnet localhost 25" from my own linode and send email. But, if I try to "telnet myhostname 25" from my linode or my home machine, I get refused (Could not open connection to the host, on port 25, Connect failed). I know it is not my firewall because I can set up an echo server on port 25, and it will listen.

Any ideas? I can't receive email on my machine as it is.

Thanks in advance,

Michael

Author:  filoseta [ Sat Apr 10, 2004 1:43 pm ]
Post subject: 

First, check the interfaces that postfix is listening on:

Code:
$ netstat  -ltn | grep ":25"
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     
tcp        0      0 <your_ip_here>:25          0.0.0.0:*               LISTEN 


If you are only listening on localhost, more than likely your inet_interfaces variable in /etc/postfix/main.cf is the culprit.

Code:
inet_interfaces = $myhostname, localhost


Of course, make sure that myhostname is defined correctly somewhere above that.

Author:  mpoly [ Sun Apr 11, 2004 10:23 am ]
Post subject: 

Bingo - my inet_interfaces variable was exactly what was wrong.

Many thanks,

Michael

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/