Page MenuHomePhabricator

Parsing SMTP Socket Error 450
Closed, ResolvedPublic

Description

ciao Francesca,

il processo di mailing si blocca a causa di questi indirizzi:

2024-11-07 19:01:43+0100  [info] SMTP Socket Error or failed to set sender error. Message: Failed to add recipient: federico_510@hotmai.it [SMTP: Invalid response code received from SMTP server while sending email.  This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 450, response: 4.1.2 <federico_510@hotmai.it>: Recipient address rejected: Domain not found)], Code: 10005

2024-11-07 19:02:22+0100  [info] SMTP Socket Error or failed to set sender error. Message: Failed to add recipient: john.dekker@onelink.biz [SMTP: Invalid response code received from SMTP server while sending email.  This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 450, response: 4.1.2 <john.dekker@onelink.biz>: Recipient address rejected: Domain not found)], Code: 10005

2024-11-07 19:03:40+0100  [error] Ignoring exception thrown by nullHandler: 10005, Failed to add recipient: michael.moroni@openmailbox.org [SMTP: Invalid response code received from SMTP server while sending email.  This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 450, response: 4.1.2 <michael.moroni@openmailbox.org>: Recipient address rejected: Domain not found)]

2024-11-07 19:03:45+0100  [error] Ignoring exception thrown by nullHandler: 10005, Failed to add recipient: edoardo.croni@fastwenet.it [SMTP: Invalid response code received from SMTP server while sending email.  This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 450, response: 4.1.2 <edoardo.croni@fastwenet.it>: Recipient address rejected: Domain not found)]

Il server SMTP dà un errore transitorio e CiviCRM tenta sempre di inviare l'email e poi il processo si blocca, sostanzialmente va in loop.

Sono tutti domini registrati ma i relativi DNS non rispondono e non danno un record MX.

Il modo del server SMTP (Postfix) di trattare questi casi è restituire un errore transitorio e non c'è al momento modo di fargli considerare il caso come un errore permanente...

$ host -t mx hotmai.it
Host hotmai.it not found: 2(SERVFAIL)

$ host -t mx onelink.biz
Host onelink.biz not found: 2(SERVFAIL)

$ host -4 -t mx openmailbox.org ns1.p01.dynect.net
Using domain server:
Name: ns1.p01.dynect.net
Address: 108.59.161.1#53
Aliases:

Host openmailbox.org not found: 2(SERVFAIL)

$ host -t mx fastwenet.it
Host fastwenet.it not found: 2(SERVFAIL)

Per sbloccarlo dovresti o sistemare le email o metterle in attesa nei rispettivi contatti.

Ho aperto una issue in CiviCRM: https://lab.civicrm.org/dev/core/-/issues/5586

Event Timeline

@Francesca_Lissoni_WMIT la patch che ho fatto è stata inserita nella versione 5.82.0