

Put readPreferencesToXMLTree() into tTree The tree is represented as a number, the actual tree structure and data is managed by LiveCode and so we don't need to worry about it. This function reads the XML file, and returns the tree. The second part is to process the tree and extract the data from it. The first part is reading the file into memory and creating an XML "tree". There are two parts to loading the preferences file. When the button is clicked, load up the preferences and put them into the field on mouseUp For this example we are going to load an XML file that contains preferences for our application.īegin the script with the following code:ġ. More info can currently be found at : TechSneeze.Edit the script of the button by selecting it, then clicking on the "Script" button in the main menu bar. Clicking on the HTML icon will hide the raw XML report. Raw Report XMLĬlicking on the XML icon will display the raw XML of the currently displayed report. The Report Detail table displays the details of the selected DMARC report, initially sorted by IP Address ascending.Ĭlicking on a column heading will toggle the sort direction of the Report Detail table by that column. Clicking on any line of the Report List will display the detailed DMARC information of the selected report below the Report List table.

The Report List table displays all the parsed DMARC reports, initially sorted by Start Date (whether initially ascending or descending is determined by the $default_hostlookup option in dmarcts-report-viewer-config.php) and initially filtered to show only those reports from the latest month available.Ĭlicking on a column heading will toggle the sort direction of the Report List table by that column. Reset: This will reset the filter to show all reports in the Report List and then refresh the data.Refresh: This will refresh the data in the Report List while maintaining the currently set filter.In this case, you can change the filter settings or click on the Reset button to clear the filter. If the filter returns no reports, an error message will inform you that no reports meet the criteria you have set. Reporter(s): Filter by any reporting organization.DMARC Result: Filter by the combined result of DKIM/SPF: pass/pass, fail/fail, pass or fail, other condition.If this is the case, you can turn off hostname resolution. Hostname resolution is fine until an IP address no longer has a reverse DNS entry (as when a mail server is de-commissioned) and it takes an excessive amount of time before the DNS resolution times out. Hostname on/off: This determines whether or not the IP address of the mailserver is resolved into a hostname in the Report Detail. DKIM or SPF result are missing, "softfail", "temperror", etc.)Īt the top of the page you will find the option bar where you can set: Yellow : Some other condition, and should be investigated (e.g.Orange : Either DKIM or SPF (but not both) = fail.You should be presented with the basic Report List view, allowing you to navigate through the reports that have been parsed. Navigate in your browser to the location of the dmarcts-report-viewer.php file. browser window height (without the % mark) Var default_reportlist_height = 60 // Main Report List height as a percentage of Larger version Installation and Configuration RequirementsĪ MySQL database populated with data from 's script or John Levine's rddmarc script.Ī working webserver (apache, nginx. Larger version Screenshot: Report Detail with Raw XML Screenshots Screenshot: Initial Report Listing Uses AJAX calls to the MySQL database no external Javascript libraries are needed.View the raw XML of the report beside the report detail table.View DKIM/SPF details for each report in a table, with the same red/orange/yellow/green colour-coding.Filter report list by DMARC result, month, domain and reporting organization.Easily identify potential DMARC related issues through red, orange, yellow and green icons.A PHP viewer for DMARC records that have been parsed by John Levine's rddmarc script or the into a MySQL database.
