Vier Punkte aus kontakterreichbarkeit-mx-bounces-2026-09-15.md, ohne Veroeffentlichungssperre: - PlausibleEmailDomain: Domain ohne Endung oder mit Tippfehler-TLD ist ein 422 an der Legacy-API, deterministisch ohne DNS. - email_domain_checks + MailDomainChecker ueber DnsResolver-Schnittstelle (RFC 5321 impliziter MX, RFC 7505 Null MX, Unresolved ist kein Befund), Observer an Company/Contact, Job nach Commit, taeglicher Refresh, mail:check-domains fuer den Bestand. Nie eine Adresssperre aus DNS. - Admin > Reports > Einlieferer-Bericht: tote Adressen aus Sperrliste und Domainbefund, automatisch abgelehnte Meldungen mit Grund, Text zum Kopieren und CSV. Versendet nichts. - EmailBounceKind::Policy: 5.7.x wird protokolliert, zaehlt aber nicht auf den Schwellwert. Statuscode entscheidet vor Diagnosetext. Messung vorab: 6 von 877 API-Domains ohne Zustellweg, eine davon fuer 66 der 151 Ruecklaeufer verantwortlich. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
27 lines
749 B
PHP
27 lines
749 B
PHP
<?php
|
|
|
|
namespace App\Services\Mail;
|
|
|
|
use Illuminate\Support\Carbon;
|
|
|
|
/**
|
|
* Eine Adresse des Einlieferers, die nicht funktioniert.
|
|
*
|
|
* `fromDomain` unterscheidet die beiden Quellen: Ein Domainbefund erklärt,
|
|
* WARUM nichts ankommt (die Domain hat keinen Zustellweg), ein Rückläufer
|
|
* stellt nur fest, DASS nichts ankam. Beides bleibt getrennt, weil ein
|
|
* DNS-Ergebnis nie eine Adresssperre begründet.
|
|
*/
|
|
final readonly class BrokenContact
|
|
{
|
|
public function __construct(
|
|
public string $email,
|
|
public string $company,
|
|
public int $companyId,
|
|
public bool $fromDomain,
|
|
public string $reason,
|
|
public ?string $detail,
|
|
public int $releases,
|
|
public ?Carbon $lastEvent,
|
|
) {}
|
|
}
|