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
|
|
@ -7,6 +7,7 @@ use App\Enums\Portal;
|
|||
use App\Http\Controllers\Api\Concerns\ResolvesRequestedPortal;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\Company;
|
||||
use App\Rules\PlausibleEmailDomain;
|
||||
use App\Services\Company\ApiNewsroomAssignment;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
|
|
@ -35,7 +36,7 @@ class LegacyCompanyController extends Controller
|
|||
'company.country_id' => ['nullable', 'integer'],
|
||||
'company.phone' => ['nullable', 'string', 'max:100'],
|
||||
'company.fax' => ['nullable', 'string', 'max:100'],
|
||||
'company.email' => ['nullable', 'email', 'max:255'],
|
||||
'company.email' => ['nullable', 'email', 'max:255', new PlausibleEmailDomain],
|
||||
'company.website' => ['nullable', 'string', 'max:255'],
|
||||
])['company'];
|
||||
} catch (ValidationException $exception) {
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ namespace App\Http\Controllers\Api\Legacy;
|
|||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\Company;
|
||||
use App\Rules\PlausibleEmailDomain;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
|
|
@ -40,7 +41,7 @@ class LegacyContactController extends Controller
|
|||
'contact.responsibility' => ['nullable', 'string', 'max:255'],
|
||||
'contact.phone' => ['nullable', 'string', 'max:100'],
|
||||
'contact.fax' => ['nullable', 'string', 'max:100'],
|
||||
'contact.email' => ['nullable', 'email', 'max:255'],
|
||||
'contact.email' => ['nullable', 'email', 'max:255', new PlausibleEmailDomain],
|
||||
])['contact'];
|
||||
} catch (ValidationException $exception) {
|
||||
return $this->legacyValidationError($exception);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue