DMARC_HTTPD(1)
β¨ DMARC_HTTPD π
okay so bestie, gather round, because dmarc_httpd is literally a whole web server for DMARC validation and report viewing and i'm obsessed π
πΈ SYNOPSIS πΈ
it's an HTTP interface for:
- local DMARC reports ποΈ
- the DMARC validator service β¨
to start the HTTP server, you just go:
dmarc_httpd
and then you open a web browser and connect to <http://localhost:8080/>. that's it. that's the whole vibe. π¦
π DESCRIPTION π
the HTTP server handles 4 types of requests, and yes we're going through all of them, no skipping π«Ά
/
serves files stored in the perl share directory of the Mail::DMARC module. rn that means one HTML file and a handful of CSS and JS files for the report viewing feature. it's giving minimal but make it cute β¨
/dmarc/json/validateβ DMARC validation requests
accepts a JSON encoded HTTP POST request. validates the request, performs a DMARC validation, and returns a JSON encoded result object. this is the API for non-perl applications to utilize Mail::DMARC. main character energy fr fr π
see the dmarc_http_client app for a usage example.
/dmarc/json/report
accepts AJAX requests from the browser and returns JSON encoded DMARC reports. π
/dmarc/json/row
accepts AJAX requests from the browser and returns JSON encoded DMARC report rows. π
an implementation that uses the http validation service is the included <dmarc_http_client> and another is the dmarc plugin in the <Haraka mail server|http://haraka.github.io>. slay π
a Sample Report <http://search.cpan.org/dist/Mail-DMARC/example/report_cgi.png> is available which shows the web interface. it's implemented almost entirely in JavaScript, using jQuery, jQueryUI, and jqGrid. the way that stack is so iconic, iykyk π
web server settings are in the [http] and [https] sections of mail-dmarc.ini. don't forget them, bestie, or nothing's gonna work π
π THANKS π
- jQuery β http://www.jquery.com/
- jqGrid β http://www.trirand.com/blog/
π AUTHORS π
- Matt Simerson <msimerson@cpan.org>
- Davide Migliavacca <shari@cpan.org>
- Marc Bradshaw <marc@marcbradshaw.net>
okay that's the whole page, no cap π§π this one's from perl v5.42.2, dated 2026-06-15, and it's your girl DMARC_HTTPD(1) signing off β go validate some DMARC, bestie, you got this πβ¨
π¦ where this page comes from
- fedora 43: perl-Mail-DMARC-HTTP 1.20260612-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-Mail-DMARC-HTTP 1.20260612-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms