mail: Kontakterreichbarkeit - Formpruefung, Domainpruefung, Einlieferer-Bericht
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>
This commit is contained in:
parent
4cefdf7f5c
commit
f581e1eb3a
34 changed files with 1985 additions and 25 deletions
|
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
/**
|
||||
* DNS-Befund je E-Mail-Domain (Kontakterreichbarkeit, Abschnitt 7).
|
||||
*
|
||||
* Getrennt von `email_suppressions`: Die Sperrliste sagt, ob eine konkrete
|
||||
* ADRESSE angeschrieben werden darf; diese Tabelle sagt, ob die DOMAIN
|
||||
* überhaupt einen Zustellweg hat. Ein DNS-Befund wird nie zu einem
|
||||
* synthetischen Hard Bounce und hebt umgekehrt nie eine Sperre auf.
|
||||
*
|
||||
* `expires_at` steuert die Wiederholung: positive Befunde halten lange,
|
||||
* negative kurz, Resolver-Fehler nur Minuten. Ein Befund darf nicht
|
||||
* unbegrenzt als dauerhafte Domainsperre stehen bleiben.
|
||||
*/
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('email_domain_checks', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('domain', 190)->unique();
|
||||
$table->string('state', 24);
|
||||
$table->string('detail', 255)->nullable();
|
||||
$table->unsignedSmallInteger('attempts')->default(0);
|
||||
$table->timestamp('checked_at')->nullable();
|
||||
$table->timestamp('expires_at')->nullable();
|
||||
$table->timestamp('first_broken_at')->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
$table->index(['state', 'expires_at'], 'email_domain_checks_state_idx');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('email_domain_checks');
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue