Socket connection closed by the other side (how rude!) | MDaemon Technologies, Ltd.

Socket connection closed by the other side (how rude!)


  • Hi ,

    I'm facing an issue in Mdaemon v23.0.3 after setting up the smarthost. It makes connection with the smarthost and do nothing for 30 seconds and connection closed by the relay provider. Our relay provider has implement a timeout, if connection stay idle for 30 seconds then the relay provider closed the connection. sometime Mdaemon makes connection with the relay and start the connection imediatly and handover the email to relay.

    Can anyone help me out on this issue? I'm attaching some logs below.

    Tue 2023-11-07 00:07:46.839: Attempting SMTP connection to 13.213.174.146:25
    Tue 2023-11-07 00:07:46.840: Waiting for socket connection...
    Tue 2023-11-07 00:07:47.362: *  Connection established 172.16.0.23:49463 --> 13.213.174.146:25
    Tue 2023-11-07 00:07:47.362: Waiting for protocol to start...
    Tue 2023-11-07 00:08:27.342: Socket connection closed by the other side (how rude!)
    Tue 2023-11-07 00:08:27.343: Attempting SMTP connection to 13.213.174.147:25
    Tue 2023-11-07 00:08:27.343: Waiting for socket connection...
    Tue 2023-11-07 00:08:27.346: *  Connection established 172.16.0.23:49483 --> 13.213.174.147:25
    Tue 2023-11-07 00:08:27.346: Waiting for protocol to start...
    Tue 2023-11-07 00:09:07.371: Socket connection closed by the other side (how rude!)
    Tue 2023-11-07 00:09:07.371: *  This message is 0 days old; it has 2 days left to get delivered
    Tue 2023-11-07 00:09:07.372: SMTP session terminated (Bytes in/out: 0/0)

    ------------------------------------------------------------------------------------

    Tue 2023-11-07 00:07:47.360: Attempting SMTP connection to 13.213.174.147:25
    Tue 2023-11-07 00:07:47.361: Waiting for socket connection...
    Tue 2023-11-07 00:07:47.417: *  Connection established 172.16.0.23:49476 --> 13.213.174.147:25
    Tue 2023-11-07 00:07:47.417: Waiting for protocol to start...
    Tue 2023-11-07 00:08:29.168: Socket connection closed by the other side (how rude!)
    Tue 2023-11-07 00:08:29.168: Attempting SMTP connection to 13.213.174.146:25
    Tue 2023-11-07 00:08:29.168: Waiting for socket connection...
    Tue 2023-11-07 00:08:29.169: *  Connection established 172.16.0.23:49487 --> 13.213.174.146:25
    Tue 2023-11-07 00:08:29.169: Waiting for protocol to start...
    Tue 2023-11-07 00:09:09.188: Socket connection closed by the other side (how rude!)
    Tue 2023-11-07 00:09:09.189: *  This message is 0 days old; it has 2 days left to get delivered
    Tue 2023-11-07 00:09:09.190: SMTP session terminated (Bytes in/out: 0/0)

    ------------------------------------------------------------------------------

    Tue 2023-11-07 00:07:47.400: Waiting for protocol to start...
    Tue 2023-11-07 00:08:27.343: Socket connection closed by the other side (how rude!)
    Tue 2023-11-07 00:08:27.344: Attempting SMTP connection to 13.213.174.147:25
    Tue 2023-11-07 00:08:27.345: Waiting for socket connection...
    Tue 2023-11-07 00:08:27.347: *  Connection established 172.16.0.23:49485 --> 13.213.174.147:25
    Tue 2023-11-07 00:08:27.347: Waiting for protocol to start...
    Tue 2023-11-07 00:09:13.199: Socket connection closed by the other side (how rude!)
    Tue 2023-11-07 00:09:13.200: *  This message is 0 days old; it has 2 days left to get delivered
    Tue 2023-11-07 00:09:13.201: SMTP session terminated (Bytes in/out: 0/0)

    -------------------------------------------------------------------------------------



  • On the MDaemon server, open a Command Prompt and run the following command:

    telnet 13.213.174.147 25

    What do you get?  Almost immediately you should get the greeting from the server you are connecting to.

    If you get an error that telnet is not an application, install the telnet client from the Windows features and try again.

    How many outbound SMTP sessions do you have MDaemon configured to use?  Setup / Server Settings / Sessions

    What is the value for Maximum concurrent SMTP outbound sessions?

    What is the value for Max SMTP outbound messages spooled per session?

    What type of internet connection is available to MDaemon?  What type of upload speed do you get from the MDaemon server?

    If you set the max concurrent SMTP outbound sessions to 5 and the max smtp outbound messags spooled per session to 1 does it work better?


Please login to reply this topic!