DMARC_RECEIVE(1p)

πŸ’– DMARC_RECEIVE (1p) πŸ’–

okay bestie, so this is the manual page for dmarc_receive β€” it's from the User Contributed Perl Documentation collection (iykyk), and it's genuinely the little workhorse that keeps your DMARC life together. let's get into it 🫢


✨ NAME ✨

dmarc_receive β€” receive aggregate reports via IMAP, mbox, or message file(s) 🌈

like, it receives. that's the whole vibe. no cap.


🌸 USAGE 🌸

dmarc_receive [ --imap | --mbox | --file ]

pick your lane, queen πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so this script processes incoming DMARC reports from IMAP, from files, or from a mbox formatted file. that's the whole job. three doors, one icon. πŸ‘‘


πŸ¦‹ IMAP

to process reports with IMAP, you must configure the [imap] settings in mail-dmarc.ini. no setup, no slay. periodt.

once that's handled, 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 are detected by the presence of zip or gzip attachments. (detective mode: activated πŸ”)

when 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 is moved to the [imap][f_done] IMAP folder. that's it, that's the move. ✨


πŸ“ File as message

accepts the filename of a file containing a mail message. the message is parsed and stored. simple, clean, iconic. πŸ’–


🌟 Mbox

accepts the filename of a mbox format file containing mail messages. the messages are parsed and stored. like, plural. a whole little friend group of messages. 🫢


πŸ’€ reminder: whether you're running IMAP or not, the [imap] settings in mail-dmarc.ini are required β€” the manual says it's non-negotiable, so don't @ me.

<div align="center">🌸 🌸 🌸</div>

and that's the page, bestie!! this was DMARC_RECEIVE(1p) from perl v5.40.1, dated 2026-07-07, and honestly? she ate. now go configure your mail-dmarc.ini and let those reports flow πŸ’…βœ¨πŸ’–

πŸ“¦ where this page comes from