Castris Posted June 25, 2021 Share Posted June 25, 2021 (edited) Servidor software: exim. Puerto: 465 Seguridad TLS user y contraseña Servidor: el hostname con certificado Prueba de concepto de operatividad TLS en el puerto indicado root@tiendas:/home/admin/domains# h=tiendas.midominio.tld root@tiendas:/home/admin/domains# p=465 root@tiendas:/home/admin/domains# openssl s_client -connect $h:$p -tls1_2 CONNECTED(00000003) depth=2 C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority verify return:1 depth=1 C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA verify return:1 depth=0 CN = *.midominio.tld verify return:1 --- Certificate chain 0 s:CN = *.midominio.tld i:C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA 1 s:C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA i:C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority 2 s:C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority i:C = GB, ST = Greater Manchester, L = Salford, O = Comodo CA Limited, CN = AAA Certificate Services 3 s:C = GB, ST = Greater Manchester, L = Salford, O = Comodo CA Limited, CN = AAA Certificate Services i:C = GB, ST = Greater Manchester, L = Salford, O = Comodo CA Limited, CN = AAA Certificate Services --- Server certificate -----BEGIN CERTIFICATE----- MIIGMzCCBRugAwIBAgIQBD0YRSjZNjtUR8JjJlLGNjANBgkqhkiG9w0BAQsFADCB jzELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G ... oWupn06TJM9t2smn35+gAq176aHqi/PibQoI+jDasc0cD3BDgGKQqQtxNL2iwUAQ bzfStxJHbJpMJyGDu4FOgaFER/GdUBO5DoyoxwuEDrqTG5P2jHTQRA4eM8n2iuVP WWi1pzQLx9WdA+70kghYXyrX2MU37u7jQwq0KNefOd09QLWnJKyJ9/GWv1a9S/sK wOnA7HY8RuriWpXp+8MGVklJF/iZ2f0VBpcZk9AdepwZGC4QuOkru8OeQQSWMaYh eQuBYFtPqg== -----END CERTIFICATE----- subject=CN = *.midominio.tld issuer=C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA --- No client certificate CA names sent Peer signing digest: SHA256 Peer signature type: RSA-PSS Server Temp Key: X25519, 253 bits --- SSL handshake has read 6132 bytes and written 310 bytes Verification: OK --- New, TLSv1.2, Cipher is ECDHE-RSA-AES128-GCM-SHA256 Server public key is 2048 bit Secure Renegotiation IS supported Compression: NONE Expansion: NONE No ALPN negotiated SSL-Session: Protocol : TLSv1.2 Cipher : ECDHE-RSA-AES128-GCM-SHA256 Session-ID: F1258D3539056F4F6DA8D3A85DCB2CFFECD18E29961A313D66A02EC01A466576 Session-ID-ctx: Master-Key: 39FBC4AF1159F0718D486F7649B2BE1A5D9265AAADD454FB52929773AE47265BB34420DA2C32D27562A6BFCD27BB9B8E PSK identity: None PSK identity hint: None SRP username: None Start Time: 1624604185 Timeout : 7200 (sec) Verify return code: 0 (ok) Extended master secret: yes --- 220 tiendas.midominio.tld ESMTP Exim 4.94.2 Fri, 25 Jun 2021 06:56:25 +0000 Log servidor 2021-06-25 07:00:12 TLS error on connection from tiendas.midominio.tld [178.32.236.129] SSL_accept: TCP connection closed by per Mensaje en el dashboard Error. Por favor comprueba tu configuracion Connection to tpc://tiendas.granadacf.es:465 Timeout Sin SSL puerto 25 Error: Por favor, comprueba tu configuración Expected response code 354 but got code "503", with message "503-All RCPT commands were rejected with this error: 503-No such recipient here 503 Valid RCPT command must precede DATA " Alguna idea ? Edited July 5, 2021 by Castris Solucionado (see edit history) Link to comment Share on other sites More sharing options...
aixos Posted June 25, 2021 Share Posted June 25, 2021 Pon la pantalla de configuración del correo SMTP para verla Link to comment Share on other sites More sharing options...
Castris Posted June 25, 2021 Author Share Posted June 25, 2021 Aqui esta. Link to comment Share on other sites More sharing options...
aixos Posted June 25, 2021 Share Posted June 25, 2021 (edited) Hola ya lo he mirado y está en un Subdirectorio, debes poner la configuración de la cuenta que creaste en tu servidor , los datos que ellos te dan Debes configurar por SMTP con los datos de la cuenta pues estas en un subdirectorio debes poner tus datos de tu cuenta, te pongo un Ejemplo, tú pon los tuyos que te da tú server Edited June 25, 2021 by aixos (see edit history) Link to comment Share on other sites More sharing options...
Castris Posted June 25, 2021 Author Share Posted June 25, 2021 @Axios por favor. elimina los textos con el nombre del servidor. Lo puse en una imagen pero no en texto, po rfavor, no son datos para poner. Por lo demas, a día de hoy el servidor es el servidor sea el dominio de la tienda el que sea. El servidor es una cosa y la tienda es otra. Adema,s el error ni trata de estas cuestiones sino de un problema de comunición de una app con un servidor En el post inicial hay una prueba de concepto desde el propio shell, para eliminar problemas del analisis. Gracias de todas formas por tu respuesta,. Link to comment Share on other sites More sharing options...
aixos Posted June 25, 2021 Share Posted June 25, 2021 (edited) Hola ya se lo que es un servidor y ya pase los problemas para configurarlo y lo solucioné. ya te di la respuesta, pero puedes dar vueltas y vueltas como quieras. Edita y pon que es una app que te da problemas. saludos Edited June 25, 2021 by aixos (see edit history) Link to comment Share on other sites More sharing options...
w3bsolutions Posted June 25, 2021 Share Posted June 25, 2021 8 hours ago, Castris said: 503-All RCPT commands were rejected with this error: 503-No such recipient here La cuenta que estás usando en la configuración existe en el servidor de correos? El servidor de correos está instalado en el mismo servidor que la web? Link to comment Share on other sites More sharing options...
Castris Posted July 5, 2021 Author Share Posted July 5, 2021 (edited) Hola @w3bsolutions > La cuenta existe. ? Si. Prueba de concepto (los datos de usario y password estan modificados por seguridad) El servidor de correo esta en la misma máquina. ❯ perl -MMIME::Base64 -e 'print encode_base64("user\@domain.tld");' dGllbmRhQGdyYW5hZGFjZi5lcw== ❯ perl -MMIME::Base64 -e 'print encode_base64("olFDHASHSHSHSHASwq");' b2xGRERVAHGSggshYnNRU0FTd3E= ❯ telnet $h $p Trying 178.32.236.129... Connected to servidor.domain.tld. Escape character is '^]'. 220 servidor.domain.tld ESMTP Exim 4.94.2 Mon, 05 Jul 2021 11:57:56 +0000 EHLO test 250-servidor.domain.tld Hello XXX.red-83-35-114.dynamicip.rima-tde.net [83.35.XXX.XXX] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP AUTH LOGIN 334 VXNlcm5hbWU6 dGllbmRhQGdyYW5hZGFjZi5lcw== 334 UGFzc3dvcmQ6 b2xGRERVAHGSggshYnNRU0FTd3E= 235 Authentication succeeded Edited July 5, 2021 by Castris (see edit history) Link to comment Share on other sites More sharing options...
Castris Posted July 5, 2021 Author Share Posted July 5, 2021 Bueno ya esta solventado. Pese a que el dominio mail.domain.tld exista, y funcione a nivel clientes con aplicaciones WMTP, no funciona con prestashop 1.7.7.6, e imagino que debido a una programación (deficitaria) con la libreria Swiftmailer. Yo tengo muchos proyectos realizados con dicha libreria usada por laravel o con Symfony, y puedo usar perfectamente el servidor del cliente, el lugar del servidor de correo. Hay que usar, si o si, el nombre del servidor de correo. Grcais. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now