exp:mailsuppression
Die Sperrliste des E-Mail-Gates: Einträge auflisten, prüfen, hinzufügen und aufheben (es werden nur Hashes gespeichert).
Skript bin/php/mailsuppression.php, Code in kernel/private/classes/commands/mailsuppression.php. Führen Sie es im Wurzelverzeichnis der Installation aus, als der Benutzer, unter dem der Webserver läuft:
./console exp:mailsuppression --help
./console exp:mail:suppression --help
php bin/php/mailsuppression.php --helpHilfetext
Was --help ausgibt, so wie der Befehl es schreibt:
E-mail suppression list
No optional mail goes to a suppressed address. The table holds a salted sha256 hash of each
address, never the address: an entry is found by entering the address.
list the entries: hash (start), reason, date, note
check is --email suppressed, and why
add suppress --email with --reason (bounce, complaint, unsubscribe_all, legal, admin, bridge)
lift lift the entry of --email or --hash
./console exp:mail:suppression list --reason=bounce
./console exp:mail:suppression add [email protected] --reason=legal --note="Request of 2026-10-04"
./console exp:mail:suppression lift --hash=3f2a...Optionen
| Option | Wert | Hilfe |
|---|---|---|
--email | erforderlich | die Adresse (check, add, lift) |
--hash | erforderlich | lift: der Hash eines Eintrags (list zeigt seinen Anfang; der ganze Hash steht in --json) |
--reason | erforderlich | add: der Grund; list: nur dieser Grund |
--note | erforderlich | add: eine Notiz für die Administratoren (die Adresse wird daraus entfernt) |
--limit | erforderlich | list: wie viele (Standard 50) |
--offset | erforderlich | list: so viele überspringen |
--json | list: JSON |
Aus den Optionsdefinitionen im Code gelesen (startup(), getOptions(), options() oder ezcConsoleOption). Jedes Skript nimmt außerdem die Standardoptionen des Skript-Frameworks (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Siehe auch
Erzeugt von ./console exp:help:examples --language=ger-de aus bin/php/mailsuppression.php, kernel/private/classes/commands/mailsuppression.php. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.