Send emails by port 587
-
Hello everyone.
I tell you my topic. I'm getting bounces from servers telling me that they don't receive mail on port 25, which is the SMTP I currently use on my MDaemon. I registered a certificate and enabled the SSL and STATLTLS options within MDaemon's security settings.
In the port configuration in the outbound SMTP I have port 25, if I put 587 there I can send to the servers that bounced me but not to the others (eg: GMAIL) so I put 25 again and again I can't reach the domains that bounced me at first.If I put port 27 in the SMTP, when sending emails to GMAIL, for example, the following happens: (I attach the SMPT log out)
Mon 2023-09-04 10:48:04.383: [23833808] REMOTE message: pd3501001229761.msg
Mon 2023-09-04 10:48:04.383: [23833808] * Session 23833808; child 0001
Mon 2023-09-04 10:48:04.384: [23833808] * From: soporte@lazar.com.ar
Mon 2023-09-04 10:48:04.384: [23833808] * To: schjonatan2@gmail.com
Mon 2023-09-04 10:48:04.384: [23833808] * Subject: Prueba 2 10.48
Mon 2023-09-04 10:48:04.384: [23833808] * Message-ID: <000d01d9df36$7bc36010$734a2030$@lazar.com.ar>
Mon 2023-09-04 10:48:04.384: [23833808] * Size: 4656; <c:\mdaemon\queues\remote\pd3501001229761.msg>
Mon 2023-09-04 10:48:04.385: [23833808] MTA-STS policy for gmail.com found in cache
Mon 2023-09-04 10:48:04.386: [23833808] * version: STSv1
Mon 2023-09-04 10:48:04.386: [23833808] * mode: enforce
Mon 2023-09-04 10:48:04.386: [23833808] * mx: gmail-smtp-in.l.google.com
Mon 2023-09-04 10:48:04.386: [23833808] * mx: *.gmail-smtp-in.l.google.com
Mon 2023-09-04 10:48:04.386: [23833808] * max_age: 86400
Mon 2023-09-04 10:48:04.408: [23833808] Resolving MX record for gmail.com (DNS Server: 200.32.10.115)...
Mon 2023-09-04 10:48:04.420: [23833808] * P=005 S=003 D=gmail.com TTL=(45) MX=[gmail-smtp-in.l.google.com]
Mon 2023-09-04 10:48:04.420: [23833808] * P=010 S=001 D=gmail.com TTL=(45) MX=[alt1.gmail-smtp-in.l.google.com]
Mon 2023-09-04 10:48:04.420: [23833808] * P=020 S=004 D=gmail.com TTL=(45) MX=[alt2.gmail-smtp-in.l.google.com]
Mon 2023-09-04 10:48:04.420: [23833808] * P=030 S=000 D=gmail.com TTL=(45) MX=[alt3.gmail-smtp-in.l.google.com]
Mon 2023-09-04 10:48:04.420: [23833808] * P=040 S=002 D=gmail.com TTL=(45) MX=[alt4.gmail-smtp-in.l.google.com]
Mon 2023-09-04 10:48:04.420: [23833808] Attempting SMTP connection to gmail-smtp-in.l.google.com
Mon 2023-09-04 10:48:04.422: [23833808] Resolving A record for gmail-smtp-in.l.google.com (DNS Server: 200.32.10.115)...
Mon 2023-09-04 10:48:04.428: [23833808] * D=gmail-smtp-in.l.google.com TTL=(3) A=[64.233.186.27]
Mon 2023-09-04 10:48:04.428: [23833808] Attempting SMTP connection to 64.233.186.27:587
Mon 2023-09-04 10:48:04.428: [23833808] * 64.233.186.27 in connection failure cache for up to 5 minutes due to previous connection failure(s)
Mon 2023-09-04 10:48:04.429: [23833808] Attempting SMTP connection to alt1.gmail-smtp-in.l.google.com
Mon 2023-09-04 10:48:04.430: [23833808] Resolving A record for alt1.gmail-smtp-in.l.google.com (DNS Server: 200.32.10.115)...
Mon 2023-09-04 10:48:04.437: [23833808] * D=alt1.gmail-smtp-in.l.google.com TTL=(3) A=[64.233.184.26]
Mon 2023-09-04 10:48:04.437: [23833808] Attempting SMTP connection to 64.233.184.26:587
Mon 2023-09-04 10:48:04.437: [23833808] * 64.233.184.26 in connection failure cache for up to 5 minutes due to previous connection failure(s)
Mon 2023-09-04 10:48:04.438: [23833808] Attempting SMTP connection to alt2.gmail-smtp-in.l.google.com
Mon 2023-09-04 10:48:04.439: [23833808] Resolving A record for alt2.gmail-smtp-in.l.google.com (DNS Server: 200.32.10.115)...
Mon 2023-09-04 10:48:04.445: [23833808] * D=alt2.gmail-smtp-in.l.google.com TTL=(3) A=[142.250.27.27]
Mon 2023-09-04 10:48:04.445: [23833808] Attempting SMTP connection to 142.250.27.27:587
Mon 2023-09-04 10:48:04.446: [23833808] Waiting for socket connection...
Mon 2023-09-04 10:48:25.446: [23833808] * Socket error 10060 - The connection timed out.
Mon 2023-09-04 10:48:25.446: [23833808] * 142.250.27.27 added to connection failure cache for 5 minutes
Mon 2023-09-04 10:48:25.446: [23833808] Attempting SMTP connection to alt3.gmail-smtp-in.l.google.com
Mon 2023-09-04 10:48:25.446: [23833808] Resolving A record for alt3.gmail-smtp-in.l.google.com (DNS Server: 200.32.10.115)...
Mon 2023-09-04 10:48:25.451: [23833808] * D=alt3.gmail-smtp-in.l.google.com TTL=(0) A=[142.250.153.26]
Mon 2023-09-04 10:48:25.451: [23833808] Attempting SMTP connection to 142.250.153.26:587
Mon 2023-09-04 10:48:25.451: [23833808] * 142.250.153.26 in connection failure cache for up to 5 minutes due to previous connection failure(s)
Mon 2023-09-04 10:48:25.451: [23833808] Attempting SMTP connection to alt4.gmail-smtp-in.l.google.com
Mon 2023-09-04 10:48:25.453: [23833808] Resolving A record for alt4.gmail-smtp-in.l.google.com (DNS Server: 200.32.10.115)...
Mon 2023-09-04 10:48:25.457: [23833808] * D=alt4.gmail-smtp-in.l.google.com TTL=(3) A=[142.251.9.26]
Mon 2023-09-04 10:48:25.457: [23833808] Attempting SMTP connection to 142.251.9.26:587
Mon 2023-09-04 10:48:25.459: [23833808] Waiting for socket connection...
Mon 2023-09-04 10:48:46.462: [23833808] * Socket error 10060 - The connection timed out.
Mon 2023-09-04 10:48:46.462: [23833808] * 142.251.9.26 added to connection failure cache for 5 minutes
Mon 2023-09-04 10:48:46.463: [23833808] * This message is 2 minutes old; it has 28 minutes left in this queue
Mon 2023-09-04 10:48:46.463: [23833808] SMTP session terminated (Bytes in/out: 0/0)I attach a log placing the outbound SMTP at 587 and you can see how the mail arrives at the domain where 25 is blocked
SMTP=587
Wed 2023-09-06 23:09:24.501: [23913287] REMOTE message: pd3501001231761.msg
Wed 2023-09-06 23:09:24.501: [23913287] * Session 23913287; child 0001
Wed 2023-09-06 23:09:24.502: [23913287] * From: soporte@lazar.com.ar
Wed 2023-09-06 23:09:24.502: [23913287] * To: ventas1@instrulab.com.ar
Wed 2023-09-06 23:09:24.502: [23913287] * Subject: Prueba de Correo Lab. Dr. Lazar
Wed 2023-09-06 23:09:24.502: [23913287] * Message-ID: <019e01d9e130$9b7e5d50$d27b17f0$@lazar.com.ar>
Wed 2023-09-06 23:09:24.502: [23913287] * Size: 7527; <c:\mdaemon\queues\remote\pd3501001231761.msg>
Wed 2023-09-06 23:09:24.524: [23913287] Resolving MX record for instrulab.com.ar (DNS Server: 200.32.10.115)...
Wed 2023-09-06 23:09:24.542: [23913287] * P=000 S=000 D=instrulab.com.ar TTL=(141) MX=[instrulab.com.ar]
Wed 2023-09-06 23:09:24.542: [23913287] * P=020 S=001 D=instrulab.com.ar TTL=(141) MX=[mx1.instrulab.com.ar]
Wed 2023-09-06 23:09:24.542: [23913287] Attempting SMTP connection to instrulab.com.ar
Wed 2023-09-06 23:09:24.544: [23913287] Resolving A record for instrulab.com.ar (DNS Server: 200.32.10.115)...
Wed 2023-09-06 23:09:24.548: [23913287] * D=instrulab.com.ar TTL=(141) A=[200.58.110.143]
Wed 2023-09-06 23:09:24.548: [23913287] Attempting SMTP connection to 200.58.110.143:587
Wed 2023-09-06 23:09:24.551: [23913287] Waiting for socket connection...
Wed 2023-09-06 23:09:24.558: [23913287] * Connection established 192.168.1.20:62397 --> 200.58.110.143:587
Wed 2023-09-06 23:09:24.558: [23913287] Waiting for protocol to start...
Wed 2023-09-06 23:09:24.837: [23913287] <-- 220-c184.dattaweb.com ESMTP Exim 4.93 #5 Wed, 06 Sep 2023 23:11:48 -0300
Wed 2023-09-06 23:09:24.837: [23913287] <-- 220- We do not authorize the use of this system to transport unsolicited,
Wed 2023-09-06 23:09:24.837: [23913287] <-- 220 and/or bulk e-mail.
Wed 2023-09-06 23:09:24.839: [23913287] --> EHLO mail.lazar.com.ar
Wed 2023-09-06 23:09:24.845: [23913287] <-- 250-c184.dattaweb.com Hello mail.lazar.com.ar [200.73.158.98]
Wed 2023-09-06 23:09:24.845: [23913287] <-- 250-SIZE 73400320
Wed 2023-09-06 23:09:24.845: [23913287] <-- 250-8BITMIME
Wed 2023-09-06 23:09:24.845: [23913287] <-- 250-PIPELINING
Wed 2023-09-06 23:09:24.845: [23913287] <-- 250-AUTH LOGIN
Wed 2023-09-06 23:09:24.845: [23913287] <-- 250-CHUNKING
Wed 2023-09-06 23:09:24.845: [23913287] <-- 250-STARTTLS
Wed 2023-09-06 23:09:24.845: [23913287] <-- 250 HELP
Wed 2023-09-06 23:09:24.846: [23913287] --> STARTTLS
Wed 2023-09-06 23:09:24.853: [23913287] <-- 220 TLS go ahead
Wed 2023-09-06 23:09:24.937: [23913287] SSL negotiation successful (TLS 1.2, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P521)
Wed 2023-09-06 23:09:24.958: [23913287] SSL certificate is not valid (does not match instrulab.com.ar)
Wed 2023-09-06 23:09:24.958: [23913287] --> EHLO mail.lazar.com.ar
Wed 2023-09-06 23:09:24.964: [23913287] <-- 250-c184.dattaweb.com Hello mail.lazar.com.ar [200.73.158.98]
Wed 2023-09-06 23:09:24.965: [23913287] <-- 250-SIZE 73400320
Wed 2023-09-06 23:09:24.965: [23913287] <-- 250-8BITMIME
Wed 2023-09-06 23:09:24.965: [23913287] <-- 250-PIPELINING
Wed 2023-09-06 23:09:24.965: [23913287] <-- 250-AUTH LOGIN
Wed 2023-09-06 23:09:24.965: [23913287] <-- 250-CHUNKING
Wed 2023-09-06 23:09:24.965: [23913287] <-- 250 HELP
Wed 2023-09-06 23:09:24.965: [23913287] --> MAIL From:<soporte@lazar.com.ar> SIZE=7527
Wed 2023-09-06 23:09:24.965: [23913287] --> RCPT To:<ventas1@instrulab.com.ar>
Wed 2023-09-06 23:09:24.965: [23913287] --> DATA
Wed 2023-09-06 23:09:24.972: [23913287] <-- 250 OK
Wed 2023-09-06 23:09:24.998: [23913287] <-- 250 Accepted
Wed 2023-09-06 23:09:24.998: [23913287] <-- 354 Enter message, ending with "." on a line by itself
Wed 2023-09-06 23:09:24.998: [23913287] Sending <c:\mdaemon\queues\remote\pd3501001231761.msg> to [200.58.110.143]
Wed 2023-09-06 23:09:24.999: [23913287] Transfer Complete
Wed 2023-09-06 23:09:27.631: [23913287] <-- 250 OK id=1qe4Um-0006ZZ-Bc
Wed 2023-09-06 23:09:27.632: [23913287] --> QUIT
Wed 2023-09-06 23:09:27.647: [23913287] <-- 221 c184.dattaweb.com closing connection
Wed 2023-09-06 23:09:27.647: [23913287] SMTP session successful (Bytes in/out: 4978/8487)
Wed 2023-09-06 23:09:27.647: ----------SMTP=25
[23913656] REMOTE message: pd3501001231766.msg
[23913656] * Session 23913656; child 0001
[23913656] * From: soporte@lazar.com.ar
[23913656] * To: ventas1@instrulab.com.ar
[23913656] * Subject: Prueba de Correo Lab. Dr. Lazar
[23913656] * Message-ID: <01c501d9e134$c88552f0$598ff8d0$@lazar.com.ar>
[23913656] * Size: 7877; <xxxxxxxxxxxxxxxxxxxxxxxx\pd3501001231766.msg>
[23913656] Resolving MX record for instrulab.com.ar (DNS Server: 200.32.10.115)...
[23913656] * P=000 S=001 D=instrulab.com.ar TTL=(111) MX=[instrulab.com.ar]
[23913656] * P=020 S=000 D=instrulab.com.ar TTL=(111) MX=[mx1.instrulab.com.ar]
[23913656] Attempting SMTP connection to instrulab.com.ar
[23913656] Resolving A record for instrulab.com.ar (DNS Server: 200.32.10.115)...
[23913656] * D=instrulab.com.ar TTL=(111) A=[200.58.110.143]
[23913656] Attempting SMTP connection to 200.58.110.143:25
[23913656] Waiting for socket connection...
[23913656] * Connection established 192.168.1.20:63083 --> 200.58.110.143:25
[23913656] Waiting for protocol to start...
[23913656] <-- 550-No se aceptan conexiones al puerto 25, cambiar este por 587 o 465.
[23913656] <-- 550-https://ayuda-correo-electronico.donweb.com/crear-correos/usar-mi-correo-desde/usar-desde-outlook#outlook-de-escritorio
[23913656] <-- 550 Listed in DYN - Dynamic IPs - see https://www.nszones.com/bl?ip=200.73.158.98
[23913656] --> QUIT========================
= End Transcript =
========================
How should I configure so that my emails go out in their entirety through port 587? Do I have to change the outbound SMTP to 587 or should I leave it at 25?Thank you so much!!
Greetings!!
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-