liuch / dmarc-srg

A php parser, viewer and summary report generator for incoming DMARC reports.
GNU General Public License v3.0
229 stars 34 forks source link

Overall summary when generating reports for multiple domains #141

Open ShawnPConroy opened 2 weeks ago

ShawnPConroy commented 2 weeks ago

When the summary report tool is used to generate reports for more than one domain, it would be nice to have an overall summary table at the top of the email, as well as a custom subject title. This way, it's easy to skim the top summary of all domains to see if something needs attention in the rest of the email.

The summary for all domains would be a table that lists each domain in its own row. For each domain, it would list the total number of reports for the that domain summed together. That is, volume (emails, reports, reporting orgs), Partial aligned, Not aligned(SPF only, DKIM only), Disposition(quar+rej, fail rate), effectively summarizing the reporting organization table for that domain.


Also, rather than the subject title simply listing the number of domains, being able to have a custom label could be useful for those of us with a large volume of domains. Such as "Client X" or "Low Maintenance Domains" or whatever you wish. "DMARC Monthly digest for Low Maintenance Domains"

If no custom subject is given, but a username is given with domain=all, use the username.

Though, I'd also like a period of lastndays:1 to generate the subject line 'daily', similar to the weekly and monthly options. Or, a lastday which uses 'daily', if that's easier.


Excellent set of scripts. They have been very useful. My requests here get more complicated as it goes on, but also less functional and turn more pleasant user experience focused, if that's a priority.

liuch commented 2 weeks ago

That's a good idea! I will implement it in the near future. Thank you!

liuch commented 4 days ago

If no custom subject is given, but a username is given with domain=all, use the username.

Could you give me an example of a subject line for a user, say Sam?

liuch commented 4 days ago

Though, I'd also like a period of lastndays:1 to generate the subject line 'daily', similar to the weekly and monthly options. Or, a lastday which uses 'daily', if that's easier.

Do I understand correctly that if it will be possible to specify the subject line of the report, this request loses its relevance? I just don't see any other reason to add lastday report period if you can set lastndays:1.

liuch commented 1 day ago
ShawnPConroy commented 16 hours ago

If no custom subject is given, but a username is given with domain=all, use the username.

Could you give me an example of a subject line for a user, say Sam?

Rather than "DMARC weekly digest for 4 domains" be "DMARC weekly digest for Sam" because it's ALL of Sam's (or clientABC's) domains. Not critical but you know.

Though, I'd also like a period of lastndays:1 to generate the subject line 'daily', similar to the weekly and monthly options. Or, a lastday which uses 'daily', if that's easier.

Do I understand correctly that if it will be possible to specify the subject line of the report, this request loses its relevance? I just don't see any other reason to add lastday report period if you can set lastndays:1.

I suppose. For example, I could add the subject parameter "DMARC daily digest for 7 domains". But for people who are doing it quick and dirt for lastndays:1 I just think it would be nice for the subject line to default to daily as the default. But not required, since I'd probably have a different name than daily digest for 7 domains anyway.