Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I just installed Postfix. i have not yet done any configuration on it. Each time I try to use it to sendmail from another application, it keeps telling me that COnnection was refused from the ip I want to connect to. This is the error I get

[root@localhost /]# telnet mail.abuse.org Trying 69.43.160.153... telnet: connect to address 69.43.160.153: Connection refused telnet: Unable to connect to remote host: Connection refused

COuld someone please help me the problem

share|improve this question
2  
telnet your_ip 25 or telnet your_domain 25 –  Prix Aug 30 '10 at 16:08
    
I did that and it's refusing connection. What I what to know is why I cannot connect to any other network apart from localhost –  yankitwizzy Aug 31 '10 at 7:51
    
Can you please run 'postconf -n' and post the results? This will show us any non-default settings in your configuration. –  slillibri Dec 23 '10 at 19:30
add comment

2 Answers

By default, IP tables might be blocking your connection. Try:

/etc/init.d/iptables stop

And the retry to telnet to your ip on port 25 like this:

telnet localhost 25
share|improve this answer
add comment

Your ISP may be blocking outbound connections to port 25, it's surprisingly common. If you find you can connect to the rest of the world on just about any other port than 25, suspect this.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.