How to fix this eror

Discussion in 'Installation/Configuration' started by boyguapo, Feb 16, 2010.

  1. boyguapo

    boyguapo New Member

    im using this howto http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu9.04

    how to fix this eror

    Message not sent. Server replied:

    Connection refused
    111 Can't open SMTP stream.

    [email protected]:~# telnet localhost smtp
    Trying ::1...
    telnet: Unable to connect to remote host: Connection refused
    [email protected]:~#

    [email protected]:~# telnet localhost 25
    Trying ::1...
    telnet: Unable to connect to remote host: Connection refused
    [email protected]:~#

    but in using this its work fine.
    [email protected]:~# telnet 192.168.2.103 25
    Trying 192.168.2.103...
    Connected to 192.168.2.103.
    Escape character is '^]'.
    220 server1.example.com ESMTP Postfix (Ubuntu)
    ehlo localhost
    250-server1.example.com
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH LOGIN PLAIN
    250-AUTH=LOGIN PLAIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    quit
    221 2.0.0 Bye
    Connection closed by foreign host.
    [email protected]:~#
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Make sure that you have a line for localhost pointing to IP 127.0.0.1 in /etc/hosts
     

Share This Page