Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: SMTP Failed to connect socket Connection timed out code: -1response  (Read 2294 times)

0 Members and 1 Guest are viewing this topic.

Haripriya H

  • Guest

Some times when connecting to Webmail (Horde, SquirelMail, Roundcude) you may get the error :

    "Failed to connect to localhost 25 SMTPFailed to connect socket Connection timed out code: -1response"

When you find this error open the csf.conf file and search for the lines :

    SMTP_BLOCK = “0″
    SMTP_ALLOWLOCAL = “0″

And change it to

    SMTP_BLOCK = “1″
    SMTP_ALLOWLOCAL = “1″

and then restart the firewall

    root@server
  • csf -r


That’s all you are done.