Skip to content

Extension points

phil/bounce-parser

The library is plain PHP and declares no service. What an application chooses goes through one port and arguments.

Contract\ReportAuthenticator

MethodContract
isAuthentic(Mime\Part $message, FeedbackReport $report): boolSays whether an abuse report comes from a feedback loop the application subscribed to; keeps no state between calls

Auth\AuthenticationResults reads the Authentication-Results of the application's server; Auth\TrustEveryReport trusts all. An adapter of the application may verify the DKIM signature itself, or check the sending IP against the published ranges of its feedback loops — see Feedback reports.

Arguments

PointHow
What no standard describesRule\Rules and its rules, ordered by name — see Rules
Finding the message sentA Verp for the return paths, a field of the application's own read with OriginalMessage::header() — see Finding the message
The bounds of the workLimits — see MIME
What each kind leads toThe BounceAction of the report, mapped by the application to its counters, suppression list and review queue
Catching the library's errorsEvery exception implements Exception\BounceParserException; parsing a message throws none