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 telnet: connect to address Connection refused telnet: Unable to connect to remote host: Connection refused

COuld someone please help me the problem

  • 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

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.


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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