Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Apr 10, 2004 12:37 pm 
Offline
Senior Newbie
User avatar

Joined: Sat Apr 10, 2004 2:01 am
Posts: 18
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


Top
   
 Post subject:
PostPosted: Sat Apr 10, 2004 1:43 pm 
Offline
Senior Newbie

Joined: Wed Mar 31, 2004 9:17 pm
Posts: 11
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.


Top
   
 Post subject:
PostPosted: Sun Apr 11, 2004 10:23 am 
Offline
Senior Newbie
User avatar

Joined: Sat Apr 10, 2004 2:01 am
Posts: 18
Bingo - my inet_interfaces variable was exactly what was wrong.

Many thanks,

Michael


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group