 |
Linode.com Forum Linode Community Forums
|
| Author |
Message |
mpoly
Joined: 10 Apr 2004
Posts: 15
|
| Posted: Sat Apr 10, 2004 11:37 am 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 |
|
| Back to top |
|
filoseta
Joined: 31 Mar 2004
Posts: 11
|
| Posted: Sat Apr 10, 2004 12: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. |
|
| Back to top |
|
mpoly
Joined: 10 Apr 2004
Posts: 15
|
| Posted: Sun Apr 11, 2004 9:23 am Post subject: |
|
|
Bingo - my inet_interfaces variable was exactly what was wrong.
Many thanks,
Michael |
|
| Back to top |
|
| |
|