I can't send externals emails - Remote server closed connection.

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
jacruzf
New user
New user
Posts: 9
Joined: 2018-08-08 22:37

I can't send externals emails - Remote server closed connection.

Post by jacruzf » 2018-08-08 23:09

Good morning friends, sorry by my poor english :( but I need your help please.

I have hMailServer 5.6.7-2425 installed on Microsoft Server 2016, also have RoundCube webmail. I can received and send internal emails, I can received emails from any external domains (gmail, outlook, gmx, corporatives, etc) but can't received externals emails. I readed many posts but no solved my problem, maybe there is something wrong. Help please!

I pubish mi MX records and I see working and my ports (SMTP, POP3, IMAP) are enabled in my router and ISP. (See attachements)
And show log:
"SMTPD" 7288 1 "2018-08-06 20:15:03.252" "127.0.0.1" "SENT: 220 jacsolutions.net.pe ESMTP"
"SMTPD" 1348 1 "2018-08-06 20:15:03.253" "127.0.0.1" "RECEIVED: EHLO webmail.jacsolutions.net.pe"
"SMTPD" 1348 1 "2018-08-06 20:15:03.253" "127.0.0.1" "SENT: 250-jacsolutions.net.pe[nl]250-SIZE 20480000[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 1348 1 "2018-08-06 20:15:03.253" "127.0.0.1" "RECEIVED: AUTH LOGIN"
"SMTPD" 1348 1 "2018-08-06 20:15:03.253" "127.0.0.1" "SENT: 334 VXNlcm5hbWU6"
"SMTPD" 7288 1 "2018-08-06 20:15:03.253" "127.0.0.1" "RECEIVED: aW5mb3JtZXNAamFjc29sdXRpb25zLm5ldC5wZQ=="
"SMTPD" 7288 1 "2018-08-06 20:15:03.253" "127.0.0.1" "SENT: 334 UGFzc3dvcmQ6"
"SMTPD" 1348 1 "2018-08-06 20:15:03.254" "127.0.0.1" "RECEIVED: ***"
"SMTPD" 1348 1 "2018-08-06 20:15:03.254" "127.0.0.1" "SENT: 235 authenticated."
"SMTPD" 2384 1 "2018-08-06 20:15:03.255" "127.0.0.1" "RECEIVED: MAIL FROM:<informes@jacsolutions.net.pe>"
"SMTPD" 2384 1 "2018-08-06 20:15:03.256" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 7288 1 "2018-08-06 20:15:03.256" "127.0.0.1" "RECEIVED: RCPT TO:<tecnologia@dentalfamily.org>"
"SMTPD" 7288 1 "2018-08-06 20:15:03.258" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 1348 1 "2018-08-06 20:15:03.258" "127.0.0.1" "RECEIVED: DATA"
"SMTPD" 1348 1 "2018-08-06 20:15:03.258" "127.0.0.1" "SENT: 354 OK, send."
"SMTPD" 4616 1 "2018-08-06 20:15:03.262" "127.0.0.1" "SENT: 250 Queued (0.000 seconds)"
"SMTPD" 7288 1 "2018-08-06 20:15:03.263" "127.0.0.1" "RECEIVED: QUIT"
"SMTPD" 7288 1 "2018-08-06 20:15:03.263" "127.0.0.1" "SENT: 221 goodbye"
"SMTPC" 2384 8 "2018-08-06 20:15:03.971" "212.227.17.174" "RECEIVED: 220 gmx.com (mrgmx101) Nemesis ESMTP Service ready"
"SMTPC" 2384 8 "2018-08-06 20:15:03.971" "212.227.17.174" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 1348 8 "2018-08-06 20:15:04.189" "212.227.17.174" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 1348 8 "2018-08-06 20:15:04.189" "212.227.17.174" "SENT: STARTTLS"
"SMTPC" 1348 8 "2018-08-06 20:15:04.425" "212.227.17.174" "RECEIVED: 220 OK"
"SMTPC" 7288 10 "2018-08-06 20:15:05.157" "212.227.17.184" "RECEIVED: 220 gmx.com (mrgmx003) Nemesis ESMTP Service ready"
"SMTPC" 7288 10 "2018-08-06 20:15:05.158" "212.227.17.184" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 2384 10 "2018-08-06 20:15:05.392" "212.227.17.184" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 2384 10 "2018-08-06 20:15:05.392" "212.227.17.184" "SENT: STARTTLS"
"SMTPC" 1348 10 "2018-08-06 20:15:05.602" "212.227.17.184" "RECEIVED: 220 OK"
"SMTPC" 1348 14 "2018-08-06 20:15:38.027" "212.227.17.174" "RECEIVED: 220 gmx.com (mrgmx101) Nemesis ESMTP Service ready"
"SMTPC" 1348 14 "2018-08-06 20:15:38.027" "212.227.17.174" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 5280 14 "2018-08-06 20:15:38.253" "212.227.17.174" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 5280 14 "2018-08-06 20:15:38.253" "212.227.17.174" "SENT: STARTTLS"
"SMTPC" 7288 14 "2018-08-06 20:15:38.483" "212.227.17.174" "RECEIVED: 220 OK"
"SMTPC" 5280 15 "2018-08-06 20:15:39.177" "212.227.17.184" "RECEIVED: 220 gmx.com (mrgmx002) Nemesis ESMTP Service ready"
"SMTPC" 5280 15 "2018-08-06 20:15:39.177" "212.227.17.184" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 5280 15 "2018-08-06 20:15:39.413" "212.227.17.184" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 5280 15 "2018-08-06 20:15:39.414" "212.227.17.184" "SENT: STARTTLS"
"SMTPC" 7288 15 "2018-08-06 20:15:39.631" "212.227.17.184" "RECEIVED: 220 OK"
"SMTPC" 1348 16 "2018-08-06 20:15:43.701" "212.227.17.174" "RECEIVED: 220 gmx.com (mrgmx103) Nemesis ESMTP Service ready"
"SMTPC" 1348 16 "2018-08-06 20:15:43.701" "212.227.17.174" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 1348 16 "2018-08-06 20:15:43.910" "212.227.17.174" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 1348 16 "2018-08-06 20:15:43.910" "212.227.17.174" "SENT: STARTTLS"
"SMTPC" 7288 16 "2018-08-06 20:15:44.126" "212.227.17.174" "RECEIVED: 220 OK"
"SMTPC" 5280 17 "2018-08-06 20:15:44.808" "212.227.17.184" "RECEIVED: 220 gmx.com (mrgmx002) Nemesis ESMTP Service ready"
"SMTPC" 5280 17 "2018-08-06 20:15:44.808" "212.227.17.184" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 5280 17 "2018-08-06 20:15:45.020" "212.227.17.184" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 5280 17 "2018-08-06 20:15:45.021" "212.227.17.184" "SENT: STARTTLS"
"SMTPC" 7288 17 "2018-08-06 20:15:45.236" "212.227.17.184" "RECEIVED: 220 OK"
"SMTPC" 1348 18 "2018-08-06 20:15:48.269" "212.227.17.174" "RECEIVED: 220 gmx.com (mrgmx102) Nemesis ESMTP Service ready"
"SMTPC" 1348 18 "2018-08-06 20:15:48.269" "212.227.17.174" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 1348 18 "2018-08-06 20:15:48.478" "212.227.17.174" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 1348 18 "2018-08-06 20:15:48.478" "212.227.17.174" "SENT: STARTTLS"
"SMTPC" 7288 18 "2018-08-06 20:15:48.704" "212.227.17.174" "RECEIVED: 220 OK"
"SMTPC" 5280 19 "2018-08-06 20:15:49.407" "212.227.17.184" "RECEIVED: 220 gmx.com (mrgmx003) Nemesis ESMTP Service ready"
"SMTPC" 5280 19 "2018-08-06 20:15:49.407" "212.227.17.184" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 1348 19 "2018-08-06 20:15:49.630" "212.227.17.184" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 1348 19 "2018-08-06 20:15:49.631" "212.227.17.184" "SENT: STARTTLS"
"SMTPC" 7288 19 "2018-08-06 20:15:49.877" "212.227.17.184" "RECEIVED: 220 OK"
"SMTPC" 5280 20 "2018-08-06 20:15:54.017" "212.227.17.174" "RECEIVED: 220 gmx.com (mrgmx103) Nemesis ESMTP Service ready"
"SMTPC" 5280 20 "2018-08-06 20:15:54.017" "212.227.17.174" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 1348 20 "2018-08-06 20:15:54.237" "212.227.17.174" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 1348 20 "2018-08-06 20:15:54.238" "212.227.17.174" "SENT: STARTTLS"
"SMTPC" 7288 20 "2018-08-06 20:15:54.452" "212.227.17.174" "RECEIVED: 220 OK"
"SMTPC" 1348 21 "2018-08-06 20:15:55.107" "212.227.17.184" "RECEIVED: 220 gmx.com (mrgmx001) Nemesis ESMTP Service ready"
"SMTPC" 1348 21 "2018-08-06 20:15:55.108" "212.227.17.184" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 5280 21 "2018-08-06 20:15:55.344" "212.227.17.184" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 5280 21 "2018-08-06 20:15:55.344" "212.227.17.184" "SENT: STARTTLS"
"SMTPC" 7288 21 "2018-08-06 20:15:55.566" "212.227.17.184" "RECEIVED: 220 OK"
"SMTPD" 7288 7 "2018-08-06 20:17:24.174" "192.168.1.15" "SENT: 220 jacsolutions.net.pe ESMTP"

What should I do? :roll:
Attachments
Telnet_Test.jpg
hMailServer_SMTP.jpg

User avatar
mattg
Moderator
Moderator
Posts: 20794
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: I can't send externals emails - Remote server closed connection.

Post by mattg » 2018-08-09 00:05

enable debug, application and TCP logging as well, and show new logs please
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

jacruzf
New user
New user
Posts: 9
Joined: 2018-08-08 22:37

Re: I can't send externals emails - Remote server closed connection.

Post by jacruzf » 2018-08-09 00:25

Hello mattg, the new logs:

"DEBUG" 440 "2018-08-08 17:19:33.057" "Creating session 6"
"TCPIP" 440 "2018-08-08 17:19:33.057" "TCP - 181.64.134.229 connected to 192.168.1.15:143."
"DEBUG" 440 "2018-08-08 17:19:33.059" "TCP connection started for session 5"
"DEBUG" 440 "2018-08-08 17:19:46.467" "Creating session 7"
"TCPIP" 440 "2018-08-08 17:19:46.467" "TCP - 127.0.0.1 connected to 127.0.0.1:143."
"DEBUG" 440 "2018-08-08 17:19:46.469" "TCP connection started for session 6"
"DEBUG" 1344 "2018-08-08 17:19:46.483" "Ending session 6"
"DEBUG" 440 "2018-08-08 17:19:48.547" "Creating session 8"
"TCPIP" 440 "2018-08-08 17:19:48.547" "TCP - 127.0.0.1 connected to 127.0.0.1:143."
"DEBUG" 440 "2018-08-08 17:19:48.549" "TCP connection started for session 7"
"DEBUG" 440 "2018-08-08 17:19:48.625" "Ending session 7"
"DEBUG" 4020 "2018-08-08 17:20:22.671" "Creating session 9"
"TCPIP" 4020 "2018-08-08 17:20:22.671" "TCP - 127.0.0.1 connected to 127.0.0.1:25."
"DEBUG" 4020 "2018-08-08 17:20:22.673" "TCP connection started for session 1"
"SMTPD" 4020 1 "2018-08-08 17:20:22.673" "127.0.0.1" "SENT: 220 jacsolutions.net.pe ESMTP"
"SMTPD" 440 1 "2018-08-08 17:20:22.673" "127.0.0.1" "RECEIVED: EHLO webmail.jacsolutions.net.pe"
"SMTPD" 440 1 "2018-08-08 17:20:22.673" "127.0.0.1" "SENT: 250-jacsolutions.net.pe[nl]250-SIZE 20480000[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 4020 1 "2018-08-08 17:20:22.673" "127.0.0.1" "RECEIVED: AUTH LOGIN"
"SMTPD" 4020 1 "2018-08-08 17:20:22.673" "127.0.0.1" "SENT: 334 VXNlcm5hbWU6"
"SMTPD" 440 1 "2018-08-08 17:20:22.674" "127.0.0.1" "RECEIVED: aW5mb3JtZXNAamFjc29sdXRpb25zLm5ldC5wZQ=="
"SMTPD" 440 1 "2018-08-08 17:20:22.674" "127.0.0.1" "SENT: 334 UGFzc3dvcmQ6"
"SMTPD" 4020 1 "2018-08-08 17:20:22.674" "127.0.0.1" "RECEIVED: ***"
"SMTPD" 4020 1 "2018-08-08 17:20:22.677" "127.0.0.1" "SENT: 235 authenticated."
"SMTPD" 1344 1 "2018-08-08 17:20:22.677" "127.0.0.1" "RECEIVED: MAIL FROM:<informes@jacsolutions.net.pe>"
"SMTPD" 1344 1 "2018-08-08 17:20:22.678" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 4020 1 "2018-08-08 17:20:22.679" "127.0.0.1" "RECEIVED: RCPT TO:<tecnologia@dentalfamily.org>"
"SMTPD" 4020 1 "2018-08-08 17:20:22.680" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 1344 1 "2018-08-08 17:20:22.680" "127.0.0.1" "RECEIVED: DATA"
"SMTPD" 1344 1 "2018-08-08 17:20:22.681" "127.0.0.1" "SENT: 354 OK, send."
"DEBUG" 4020 "2018-08-08 17:20:22.682" "Adding task AsynchronousTask to work queue Asynchronous task queue"
"DEBUG" 2540 "2018-08-08 17:20:22.682" "Executing task AsynchronousTask in work queue Asynchronous task queue"
"DEBUG" 2540 "2018-08-08 17:20:22.682" "Saving message: {A883A905-4108-4046-A272-D82230010C54}.eml"
"DEBUG" 2540 "2018-08-08 17:20:22.684" "Requesting SMTPDeliveryManager to start message delivery"
"SMTPD" 2540 1 "2018-08-08 17:20:22.685" "127.0.0.1" "SENT: 250 Queued (0.000 seconds)"
"SMTPD" 4020 1 "2018-08-08 17:20:22.685" "127.0.0.1" "RECEIVED: QUIT"
"SMTPD" 4020 1 "2018-08-08 17:20:22.685" "127.0.0.1" "SENT: 221 goodbye"
"DEBUG" 440 "2018-08-08 17:20:22.685" "Ending session 1"
"DEBUG" 4192 "2018-08-08 17:20:22.686" "Adding task DeliveryTask to work queue SMTP delivery queue"
"DEBUG" 5864 "2018-08-08 17:20:22.686" "Executing task DeliveryTask in work queue SMTP delivery queue"
"DEBUG" 5864 "2018-08-08 17:20:22.686" "Delivering message..."
"APPLICATION" 5864 "2018-08-08 17:20:22.687" "SMTPDeliverer - Message 28: Delivering message from informes@jacsolutions.net.pe to tecnologia@dentalfamily.org. File: D:\Correo\hMailServer\hMailServer\Data\{A883A905-4108-4046-A272-D82230010C54}.eml"
"DEBUG" 5864 "2018-08-08 17:20:22.698" "Applying rules"
"DEBUG" 5864 "2018-08-08 17:20:22.699" "Performing local delivery"
"DEBUG" 5864 "2018-08-08 17:20:22.699" "Local delivery completed"
"DEBUG" 440 "2018-08-08 17:20:23.688" "Creating session 10"
"TCPIP" 440 "2018-08-08 17:20:23.688" "TCP - 127.0.0.1 connected to 127.0.0.1:143."
"DEBUG" 440 "2018-08-08 17:20:23.689" "TCP connection started for session 8"
"DEBUG" 1344 "2018-08-08 17:20:23.692" "Saving message: {D1972697-1880-4E1B-A271-427EC395551E}.eml"
"DEBUG" 4332 "2018-08-08 17:20:23.716" "Ending session 8"
"APPLICATION" 5864 "2018-08-08 17:20:23.814" "SMTPDeliverer - Message 28: Relaying to host mail.gmx.es."
"DEBUG" 5864 "2018-08-08 17:20:23.815" "Starting external delivery process. Server: mail.gmx.es (212.227.17.184), Port: 587, Security: 3, User name: jacruzf@gmx.es"
"DEBUG" 5864 "2018-08-08 17:20:23.815" "Creating session 11"
"TCPIP" 5864 "2018-08-08 17:20:23.815" "Connecting to 212.227.17.184:587..."
"DEBUG" 4332 "2018-08-08 17:20:24.031" "TCP connection started for session 11"
"SMTPC" 4332 11 "2018-08-08 17:20:24.238" "212.227.17.184" "RECEIVED: 220 gmx.com (mrgmx001) Nemesis ESMTP Service ready"
"SMTPC" 4332 11 "2018-08-08 17:20:24.239" "212.227.17.184" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 4020 11 "2018-08-08 17:20:24.449" "212.227.17.184" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 4020 11 "2018-08-08 17:20:24.450" "212.227.17.184" "SENT: STARTTLS"
"SMTPC" 440 11 "2018-08-08 17:20:24.663" "212.227.17.184" "RECEIVED: 220 OK"
"DEBUG" 440 "2018-08-08 17:20:24.664" "Performing SSL/TLS handshake for session 11. Verify certificate: True, Expected remote host name: mail.gmx.es"
"DEBUG" 1344 "2018-08-08 17:20:24.925" "Certificate verification failed for session 11. Expected host: mail.gmx.es, Windows error code: -2146762481, Windows error message: El nombre CN del certificado no coincide con el valor pasado."
"TCPIP" 1344 "2018-08-08 17:20:24.926" "TCPConnection - TLS/SSL handshake failed. Session Id: 11, Remote IP: 212.227.17.184, Error code: 336134278, Message: certificate verify failed"
"DEBUG" 1344 "2018-08-08 17:20:24.926" "Ending session 11"
"DEBUG" 5864 "2018-08-08 17:20:24.926" "External delivery process completed"
"DEBUG" 5864 "2018-08-08 17:20:24.926" "Starting external delivery process. Server: mail.gmx.es (212.227.17.174), Port: 587, Security: 3, User name: jacruzf@gmx.es"
"DEBUG" 5864 "2018-08-08 17:20:24.926" "Creating session 12"
"TCPIP" 5864 "2018-08-08 17:20:24.926" "Connecting to 212.227.17.174:587..."
"DEBUG" 1344 "2018-08-08 17:20:25.146" "TCP connection started for session 12"
"SMTPC" 1344 12 "2018-08-08 17:20:25.402" "212.227.17.174" "RECEIVED: 220 gmx.com (mrgmx101) Nemesis ESMTP Service ready"
"SMTPC" 1344 12 "2018-08-08 17:20:25.402" "212.227.17.174" "SENT: EHLO jacsolutions.net.pe"
"SMTPC" 4020 12 "2018-08-08 17:20:25.642" "212.227.17.174" "RECEIVED: 250-gmx.com Hello jacsolutions.net.pe [181.64.134.229][nl]250-AUTH LOGIN PLAIN[nl]250-SIZE 69920427[nl]250 STARTTLS"
"SMTPC" 4020 12 "2018-08-08 17:20:25.642" "212.227.17.174" "SENT: STARTTLS"
"SMTPC" 440 12 "2018-08-08 17:20:25.863" "212.227.17.174" "RECEIVED: 220 OK"
"DEBUG" 440 "2018-08-08 17:20:25.863" "Performing SSL/TLS handshake for session 12. Verify certificate: True, Expected remote host name: mail.gmx.es"
"DEBUG" 4020 "2018-08-08 17:20:26.121" "Certificate verification failed for session 12. Expected host: mail.gmx.es, Windows error code: -2146762481, Windows error message: El nombre CN del certificado no coincide con el valor pasado."
"TCPIP" 4020 "2018-08-08 17:20:26.122" "TCPConnection - TLS/SSL handshake failed. Session Id: 12, Remote IP: 212.227.17.174, Error code: 336134278, Message: certificate verify failed"
"DEBUG" 4020 "2018-08-08 17:20:26.122" "Ending session 12"
"DEBUG" 5864 "2018-08-08 17:20:26.122" "External delivery process completed"
"DEBUG" 5864 "2018-08-08 17:20:26.122" "Summarizing delivery result"
"DEBUG" 5864 "2018-08-08 17:20:26.122" "Summarized delivery results"
"DEBUG" 5864 "2018-08-08 17:20:26.122" "SD::RescheduleDelivery_"
"DEBUG" 5864 "2018-08-08 17:20:26.122" "Retrieving retry options."
"DEBUG" 5864 "2018-08-08 17:20:26.122" "Starting rescheduling."
"APPLICATION" 5864 "2018-08-08 17:20:26.123" "SMTPDeliverer - Message 28: Message could not be delivered. Scheduling it for later delivery in 60 minutes."
"DEBUG" 5864 "2018-08-08 17:20:26.123" "PersistentMessage::SetNextTryTime()"
"DEBUG" 5864 "2018-08-08 17:20:26.124" "PersistentMessage::~SetNextTryTime()"
"DEBUG" 5864 "2018-08-08 17:20:26.124" "Message rescheduled for later delivery."
"APPLICATION" 5864 "2018-08-08 17:20:26.124" "SMTPDeliverer - Message 28: Message delivery thread completed."
"DEBUG" 440 "2018-08-08 17:20:26.283" "Creating session 13"
"TCPIP" 440 "2018-08-08 17:20:26.283" "TCP - 127.0.0.1 connected to 127.0.0.1:143."
"DEBUG" 440 "2018-08-08 17:20:26.284" "TCP connection started for session 10"
"DEBUG" 1344 "2018-08-08 17:20:26.322" "Ending session 10"
"DEBUG" 440 "2018-08-08 17:20:28.597" "Creating session 14"
"TCPIP" 440 "2018-08-08 17:20:28.597" "TCP - 127.0.0.1 connected to 127.0.0.1:143."
"DEBUG" 440 "2018-08-08 17:20:28.599" "TCP connection started for session 13"
"DEBUG" 1344 "2018-08-08 17:20:28.624" "Ending session 13"
"DEBUG" 440 "2018-08-08 17:20:28.673" "Creating session 15"
"TCPIP" 440 "2018-08-08 17:20:28.673" "TCP - 127.0.0.1 connected to 127.0.0.1:143."
"DEBUG" 440 "2018-08-08 17:20:28.674" "TCP connection started for session 14"
"DEBUG" 7012 "2018-08-08 17:20:28.688" "Ending session 14"
"DEBUG" 440 "2018-08-08 17:21:28.651" "Creating session 16"
"TCPIP" 440 "2018-08-08 17:21:28.651" "TCP - 127.0.0.1 connected to 127.0.0.1:143."
"DEBUG" 440 "2018-08-08 17:21:28.652" "TCP connection started for session 15"
"DEBUG" 7012 "2018-08-08 17:21:28.678" "Ending session 15"

Thanks, I need your help please.
Attachments
Queue.jpg
Last edited by jacruzf on 2018-08-09 00:29, edited 1 time in total.

User avatar
RvdH
Senior user
Senior user
Posts: 1051
Joined: 2008-06-27 14:42
Location: Netherlands

Re: I can't send externals emails - Remote server closed connection.

Post by RvdH » 2018-08-09 00:28

Disable Certificate verification, Settings -> Advanced -> SSL/TLS -> Uncheck Verify remote server SSL/TLS certificates
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

jacruzf
New user
New user
Posts: 9
Joined: 2018-08-08 22:37

Re: I can't send externals emails - Remote server closed connection.

Post by jacruzf » 2018-08-09 00:35

Hello RvdH, I did what you say, return "Message undeliverable" with:

Your message did not reach some or all of the intended recipients.

Sent: Wed, 08 Aug 2018 17:32:06 -0500
Subject: Mensaje de prueba

The following recipient(s) could not be reached:

tecnologia@dentalfamily.org
Error Type: SMTP
Remote server (212.227.17.184) issued an error.
hMailServer sent: <Password removed>
Remote server replied: 550-Requested action not taken: mailbox unavailable
550 Sender address is not allowed.



hMailServer

User avatar
RvdH
Senior user
Senior user
Posts: 1051
Joined: 2008-06-27 14:42
Location: Netherlands

Re: I can't send externals emails - Remote server closed connection.

Post by RvdH » 2018-08-09 00:46

CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

jacruzf
New user
New user
Posts: 9
Joined: 2018-08-08 22:37

Re: I can't send externals emails - Remote server closed connection.

Post by jacruzf » 2018-08-09 01:13

RvdH wrote:
2018-08-09 00:46
Maybe it is blocking you because you have no PTR?
https://mxtoolbox.com/SuperTool.aspx?ac ... tworktools

Or because your IP is on multiple blacklists!!!
https://mxtoolbox.com/SuperTool.aspx?ac ... n=toolpage
https://d-fault.nl/DNSBLLookup?q=181.64.134.229
My IP is dinamic but change every month or more time aprox. My ISP is Telefónica del Perú and I use no-ip to my server DNS. In DNS of my Domain jacsolutions.net.pe have a record CNAME and other MX to my no-ip domain.
Attachments
dns_server.jpg
My server DNS local
dns_provider.jpg
My DNS provider domain name jacsolutions.net.pe
no-ip.jpg
My no-ip domain

User avatar
RvdH
Senior user
Senior user
Posts: 1051
Joined: 2008-06-27 14:42
Location: Netherlands

Re: I can't send externals emails - Remote server closed connection.

Post by RvdH » 2018-08-09 01:27

Well running a mailserver from a dynamic IP never is a good idea...as this will always be marked as a dynamic sender address and sooner or later will be blocked, eg: spamhaus PBL , Spamrats RATS-Dyna (and RATS-NoPtr in this case)
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

jacruzf
New user
New user
Posts: 9
Joined: 2018-08-08 22:37

Re: I can't send externals emails - Remote server closed connection.

Post by jacruzf » 2018-08-09 02:45

RvdH wrote:
2018-08-09 01:27
Well running a mailserver from a dynamic IP never is a good idea...as this will always be marked as a dynamic sender address and sooner or later will be blocked, eg: spamhaus PBL , Spamrats RATS-Dyna (and RATS-NoPtr in this case)
Before I don't have any problems. I will request to my ISP to change mi IP. Maybe that is the solution.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8533
Joined: 2011-09-08 17:48

Re: I can't send externals emails - Remote server closed connection.

Post by jimimaseye » 2018-08-09 08:55

Just looking through your thre\d.

RvdH has identified your problems correctly:

1, First the certificates were not validating. Turning off validation was always the answer (this happens a LOT and is the only real solution).
then
2, The refusal of mail by Dentalfamily.org is because:
a, its likely you are on a dynamic IP AND
b, it changes frequently (because its dynamic) preventing a safe/confident reputation from being establish for Google to accept your email (dentalfamily.org is hosted by Google).

Changing your ip will not really help as Google (who hosts many domains for businesses) will still determine your domain as being on a dynamic address and that it will never have a decent reputation built up. (Google dont just use blacklists (which you will always be on) but they build and maintain their own table of trust and reputation for domains and addresses).

Having DNS records (by no-ip) doesnt help your reputation for sending email - it only helps serve validity of your domain existence and inbound email - it will not help you when sending emails. You will ALWAYS be appearing on here: https://www.spamhaus.org/pbl/.

By the way: RFC says you should not have your MX records as a CNAME - MX records should point to a genuine A or AAAA record (summarised here: https://exchangepedia.com/2006/12/shoul ... iases.html)
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

tunis
Normal user
Normal user
Posts: 246
Joined: 2015-01-05 20:22
Location: Sweden

Re: I can't send externals emails - Remote server closed connection.

Post by tunis » 2018-08-09 11:38

RvdH wrote:
2018-08-09 01:27
Well running a mailserver from a dynamic IP never is a good idea...as this will always be marked as a dynamic sender address and sooner or later will be blocked, eg: spamhaus PBL , Spamrats RATS-Dyna (and RATS-NoPtr in this case)
As the first post image shows SMTP relay are in use.

Have you double checked the SMTP relay settings?
HMS 5.6.8 B2494.25 on Windows Server 2019 Core VM.
HMS 5.6.8 B2494.24 on Windows Server 2016 Core VM.
HMS 5.6.7 B2425.16 on Windows Server 2012 R2 Core VM.

palinka
Senior user
Senior user
Posts: 1923
Joined: 2017-09-12 17:57

Re: I can't send externals emails - Remote server closed connection.

Post by palinka » 2018-08-09 12:33

jacruzf wrote:
2018-08-09 00:35
Hello RvdH, I did what you say, return "Message undeliverable" with:

Your message did not reach some or all of the intended recipients.

Sent: Wed, 08 Aug 2018 17:32:06 -0500
Subject: Mensaje de prueba

The following recipient(s) could not be reached:

tecnologia@dentalfamily.org
Error Type: SMTP
Remote server (212.227.17.184) issued an error.
hMailServer sent: <Password removed>
Remote server replied: 550-Requested action not taken: mailbox unavailable
550 Sender address is not allowed.



hMailServer

DEBUG" 5864 "2018-08-08 17:20:23.815" "Starting external delivery process. Server: mail.gmx.es (212.227.17.184), Port: 587, Security: 3, User name: jacruzf@gmx.es"

The remote server sending the error message is your relay. You're using one of those free email hosts to relay mail using the account: jacruzf@gmx.es but the sender is: informes@jacsolutions.net.pe.

Most (all?) free email hosts will not relay mail under any circumstance. Try sending a message from: jacruzf@gmx.es and if it works, then you know the relay is blocking all mail from any other sender.

You need a different relay. Or get a static IP that doesn't block outgoing port 25.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8533
Joined: 2011-09-08 17:48

Re: I can't send externals emails - Remote server closed connection.

Post by jimimaseye » 2018-08-09 13:39

tunis wrote:
2018-08-09 11:38
RvdH wrote:
2018-08-09 01:27
Well running a mailserver from a dynamic IP never is a good idea...as this will always be marked as a dynamic sender address and sooner or later will be blocked, eg: spamhaus PBL , Spamrats RATS-Dyna (and RATS-NoPtr in this case)
As the first post image shows SMTP relay are in use.
oops. I didnt see that. :oops:
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

jacruzf
New user
New user
Posts: 9
Joined: 2018-08-08 22:37

Re: I can't send externals emails - Remote server closed connection.

Post by jacruzf » 2018-08-09 17:42

palinka wrote:
2018-08-09 12:33
DEBUG" 5864 "2018-08-08 17:20:23.815" "Starting external delivery process. Server: mail.gmx.es (212.227.17.184), Port: 587, Security: 3, User name: jacruzf@gmx.es"

The remote server sending the error message is your relay. You're using one of those free email hosts to relay mail using the account: jacruzf@gmx.es but the sender is: informes@jacsolutions.net.pe.

Most (all?) free email hosts will not relay mail under any circumstance. Try sending a message from: jacruzf@gmx.es and if it works, then you know the relay is blocking all mail from any other sender.

You need a different relay. Or get a static IP that doesn't block outgoing port 25.
Hello palinka, I can send emails from jacruzf@gmx.es without problems, to any domain.

jacruzf
New user
New user
Posts: 9
Joined: 2018-08-08 22:37

Re: I can't send externals emails - Remote server closed connection.

Post by jacruzf » 2018-08-09 17:45

tunis wrote:
2018-08-09 11:38
Have you double checked the SMTP relay settings?
Hello tunis, Where do I see this?

User avatar
jimimaseye
Moderator
Moderator
Posts: 8533
Joined: 2011-09-08 17:48

Re: I can't send externals emails - Remote server closed connection.

Post by jimimaseye » 2018-08-09 18:37

jacruzf wrote:
2018-08-09 17:45
tunis wrote:
2018-08-09 11:38
Have you double checked the SMTP relay settings?
Hello tunis, Where do I see this?
PROTOCOLS- SMTP - DELIVERY OF EMAIL
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

jacruzf
New user
New user
Posts: 9
Joined: 2018-08-08 22:37

Re: I can't send externals emails - Remote server closed connection.

Post by jacruzf » 2018-08-11 15:43

Hello friends, finally I can to send emails, the problem was my dynamic IP was in blacklist Spamhaus. I requested that they delist and it is already ok.
I have also placed in the DNS of my domain the IP instead of the no-ip domain since gmail does not allow without PTR and in my hMailserver configuration removed SMTP Relayer

Thanks for the recommendation jimimaseye, tunis, RvdH, mattg and palinka; you have helped me a lot. Thank you so much!!!!!
Attachments
hMailserver.jpg
domain.jpg
correo.jpg

jacruzf
New user
New user
Posts: 9
Joined: 2018-08-08 22:37

Re: I can't send externals emails - Remote server closed connection.

Post by jacruzf » 2018-08-11 15:50

I forgot to show the no blackist.
Thank you so much!!!
Attachments
no_blacklist.jpg

Post Reply