1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

There was an error sending your message: Failed to connect to localhost:25

Discussion in 'Plesk for Linux - 8.x and Older' started by Ronaldve, Aug 7, 2007.

  1. Ronaldve

    Ronaldve Guest

    Just out of nothing qmail stopped working right.

    When I want to send an email trough webmail I get this error:
    There was an error sending your message: Failed to connect to localhost:25 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]

    Restarting qmail does not seem to work.

    Who has a solution?
    I've not changed anything to the server.
  2. Ronaldve

    Ronaldve Guest

    I've rebooted the machine. I can send email trough webmail now, but with outlook it does not work.

    When sending a test mail I get (freely translated from Dutch) "The submitted server has been found, but there is no reply from the server received".
  3. rsumner

    rsumner Guest

    Confirm that xinetd is running and binding to port 25:

    # /sbin/service xinetd status
    xinetd (pid 6181) is running...

    Confirm that port 25 is bound by xinetd:

    # netstat -tlnp | grep :25
    tcp 0 0* LISTEN 28939/xinetd

    If all is well above, could be your firewall on the server or believe it or not your workstation.
  4. Ronaldve

    Ronaldve Guest

    I can send email with oulook again, somehow it took some time to start working with outlook.
    Although I can send email, it's way slower than before.