logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dmarc_receive - receive aggregate reports via IMAP, mbox, or message file(s)

Description

       This script processes incoming DMARC reports from IMAP, files, or a mbox formatted file.

   IMAP
       To process reports with IMAP, you must configure the [imap] settings in mail-dmarc.ini. This program
       will:

        * log into the IMAP account
        * select the specified folder (INBOX, dmarc, etc)
        * for every unread (Unseen) message, search for DMARC reports

       IMAPAggregatereport

       IMAP aggregate reports are detected by the presence of zip or gzip attachments. 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)

       IMAPForensicreport

       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.

   Fileasmessage
       Accepts the filename of a file containing a mail message. The message is parsed and stored.

   Mbox
       Accepts the filename of a mbox format file containing mail messages. The messages are parsed and stored.

perl v5.38.2                                       2024-08-21                                  DMARC_RECEIVE(1p)

Name

       dmarc_receive - receive aggregate reports via IMAP, mbox, or message file(s)

Usage

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

See Also