Unable to send emails using Plesk local mail server: Connection timed out or connection refused. (#4.4.1)




  • Avatar
    Aristeidis Vlachopanos


    In our server whenever I visit

    Home > Tools & Settings > Server-Wide Mail Settings

    on the top of the page I get the message

    You cannot send emails from Plesk because outbound connections on TCP port 25 is blocked. Check the firewall settings or contact your hosting provider.
    but there is no firewall blocking port 25 and I am able to connect via telnet.

    However while searching in /var/log/maillog I spotted a timeout error like

    postfix/smtp[15684]: connect to example.com[]:25: Connection timed out

    where example.com is an old, out of business mail provider. (Apparently a user is trying to send to an outdated email address)

    Is it possible that we get the warning because of this error? Is this working as intended?

    Thank you

    Comment actions Permalink
  • Avatar
    Lev Iurev (Edited )

    Hello Aristeidis Vlachopanos ,

    This error means that connection outside the server on port 25 is not possible. you could check it from the server, for example to google servers:

    telnet aspmx.l.google.com 25

    Usually this port is blocked by default on Cloud servers such as Google cloud and AWS, contact them in order to check the status of 25 port.


    Comment actions Permalink
  • Avatar
    Omar Tirhaka

    Hi Lev Iurev

    Im facing the same problem, i tried telnet aspmx.l.google.com 25 and got onnected, but the message still there.

    This is after following the guidelines from Plesk support, contacting amazon cloud and get the port 25 limitations removed.

    The conclusion is that Plesk guidelines didn't work, any suggestion would be appreciated. 

    Comment actions Permalink
  • Avatar
    Lev Iurev

    @Omar Tirhaka Please create a ticket to our support team and describe the current status of the issue.


    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request