forked from trusteddomainproject/OpenDMARC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Packaging and README files for the "db" directory
- Loading branch information
Murray S. Kucherawy
committed
May 23, 2012
1 parent
acd10cc
commit 35a0bcf
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Copyright (c) 2012, The Trusted Domain Project. All rights reserved. | ||
|
||
AUTOMAKE_OPTIONS = foreign | ||
|
||
dist_doc_DATA = README.schema schema.mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
This directory contains the OpenDMARC schema plus any related files. | ||
|
||
The tables in this schema are populated by the opendmarc filter as it processes | ||
messages and downloads policies. The rows are then consumed by the scripts | ||
in the "reports" directory to generate regular aggregate reports. | ||
|
||
The tables are summarized here: | ||
|
||
domains A table that maps domain names to unique integer IDs. | ||
Automatically tracks a "first seen" timestamp, and includes | ||
a column to record when the last report was sent. | ||
|
||
reporters A table mapping reporting hosts to unique integer IDs. | ||
Intended for use by multi-MX systems so it's possible to tell | ||
where an inbound message landed. | ||
|
||
ipaddr A table mapping IP addresses (as strings) to unique IDs. | ||
Also tracks the "first seen" timestamp for each. | ||
|
||
messages A table tracking salient properties of all messages received. | ||
A messages is uniquely identified by a {date, jobid, reporter} | ||
tuple. Includes references to the "domains" table to track | ||
the RFC5321.MailFrom domain, the RFC5322.From domain. | ||
Also records the count of DKIM signatures, the SPF result, | ||
and whether or not the SPF result was aligned with the | ||
RFC5322.From domain. | ||
|
||
signatures A table tracking DKIM signatures, each of which refers to | ||
a rown in the "messages" table. Tracks the signing domain, | ||
whether the signature passed, whether there was a verification | ||
error other than a broken signature, and whether or not the | ||
signing domain aligned with the RFC5322.From domain. | ||
|
||
requests A table containing a cache of DMARC reporting requests. | ||
For each domain, the destination reporting URI for aggregate | ||
reports is recorded along with a "last report sent" timestamp. | ||
|
||
-- | ||
Copyright (c) 2012, The Trusted Domain Project. All rights reserved. |