DMARC_RECEIVE(1)
π NAME π
dmarc_receive β bestie, this is the little script that receives your aggregate reports for you, pulling them in via IMAP, mbox, or plain old message file(s). π
β¨ USAGE β¨
dmarc_receive [ --imap | --mbox | --file ]
okay so you literally just pick one of those three modes and go π«Ά
π¦ DESCRIPTION π¦
So this script's whole job is processing incoming DMARC reports β from IMAP, from files, or from a mbox formatted file. That's the vibe. That's the assignment. π
πΈ IMAP πΈ
To process reports with IMAP, you must configure the [imap] settings in mail-dmarc.ini. no skipping this step bestie, it's not optional π
Once that's set up, this program will:
- log into the IMAP account π
- select the specified folder (
INBOX,dmarc, etc) π - for every unread (
Unseen) message, search for DMARC reports π
π IMAP Aggregate report π
IMAP aggregate reports get detected by the presence of zip or gzip attachments. The moment an aggregate report is detected:
- the attachment is decompressed ποΈ
- the XML is parsed π§
- the report is saved to the report store πΎ
- the message is marked as read/seen π
- move message to
[imap][a_done]folder (if defined) π¬
π IMAP Forensic report π
IMAP forensic reports are detected by the presence of the content-types message/feedback-report and text/rfc822-headers. When a forensic report is detected, it gets moved to the [imap][f_done] IMAP folder. slay, handled. π
π File as message π
Accepts the filename of a file containing a mail message. The message is parsed and stored. simple as that. β¨
π Mbox π
Accepts the filename of an mbox format file containing mail messages. The messages are parsed and stored. π«Ά
ngl this page came straight from the User Contributed Perl Documentation corner of the internet, running perl v5.42.2, dated 2026-06-15 β iconic behavior, no cap. bye bestie, go receive some reports ππ¦β¨
π¦ where this page comes from
- fedora 43: perl-Mail-DMARC 1.20260612-1.fc43 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND MPL-2.0
- fedora 44: perl-Mail-DMARC 1.20260612-1.fc44 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND MPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms