98 Commits

Author SHA1 Message Date
Robert Schumann
73baf6f923 chore(docs): update build status icon 2023-01-07 23:48:36 +01:00
Robert Schumann
8981d3afbf chore(build): add github action
* update documentation

  * fix report parser option and defaults

  * fixes #28

  * fixes #31
v1.4.0
2023-01-07 23:05:36 +01:00
Robert Schumann
aab0d17980 fix paths in entrypoint v1.3 2022-08-10 09:31:56 +02:00
Kim Oliver Drechsel
07b5a195b4
Fix execution order in entrypoint.sh (#23)
I just checked my changes in PR #22 and I made a mistake in my commit yesterday that makes my code changes in the `entrypoint.sh` unreachable because supervisord is running in foreground mode.
It should be right before the line to start supervisord like in this PR.
Sorry for that.
2022-08-10 00:41:26 +02:00
Robert Schumann
da49afba3d update README 2022-08-10 00:38:04 +02:00
Robert Schumann
19f680a865 fix latest changes to viewer and parser
* new dependency postgres and PDO

	* php8 compatible
v1.2
2022-08-10 00:08:41 +02:00
Robert Schumann
87e271d084 fix: disable concurrent builds 2022-08-09 21:16:39 +02:00
Kim Oliver Drechsel
87ee0534df
Get and parse dmarc reports once at startup (#22)
Run the dmarc report parser script once at startup to avoid PHP errors with a new database.
Also show additional information in the container logs if something failed there.
This should also fix issues #17 and #19
2022-08-09 20:48:04 +02:00
Kim Oliver Drechsel
b895501242
Add tzdata package to fix wrong system time (#21)
Without the tzdata package, the TZ env var won't have effect on the system time within the container, what will lead to wrong timestamps in any logs.
2022-08-09 20:45:07 +02:00
Gene Wood
6a21e9efab
Remove note about upstream parser needing to merge a PR (#20)
The upstream PR was merged
2022-07-28 23:36:53 +02:00
Robert Schumann
bf2f61f236 update readme and pipeline 2021-12-12 12:03:39 +01:00
Robert Schumann
9637263016 update build status 2021-12-11 00:04:47 +01:00
Robert Schumann
b7a924ea5a test1 2021-12-10 22:48:00 +01:00
Robert Schumann
aadc22d760 test1 2021-12-10 22:45:19 +01:00
Robert Schumann
3ff0de46cd test1 2021-12-10 22:38:42 +01:00
Robert Schumann
3da8a5ff63 echo repo url 2021-12-10 22:08:06 +01:00
Robert Schumann
28e21af0f5 fix space 2021-12-10 21:51:08 +01:00
Robert Schumann
a5ff675bc9 fix upstream image 2021-12-10 21:49:25 +01:00
Robert Schumann
b5271abc8a update pipeline and remove chmod for entrypoint 2021-12-10 21:46:14 +01:00
Robert Schumann
a1358b9187
Update README.md 2021-12-08 01:00:52 +01:00
saltzimania
71d487cb9d
Environment Variable for PARSER_IMAP_IGNORE_ERROR (#14)
* Update dmarcts-report-parser.conf

Was getting the example error so added env variable so we can use docker-compose.yml to ignore errors.  This was experienced with Exchange Online in Microsoft 365.  This appears to have resolved the issue and dmarc reports were successfully retrieved and moved into the processed folder.

* Update README.md

* Update README.md

Fixed tab character
v1.1
2021-11-21 13:23:06 +01:00
Robert Schumann
526e230616 fixes #13
* explicitly disable ro for compressed tables on mariadb example image
2021-07-24 13:59:01 +02:00
Robert Schumann
c74bc90d20 Bump version and image, fixes #10
* alpine 3.5 to 3.13

	* openssl upgrade, remove MimeInfo and SSL perl pkg hacks

	* mysql client library upgrades (compatibility with 8)

	* image size reduction 703 to 322 MB

	* bump upstream sources for viewer and parser

	* introduce tags (current and latest docker image 1.0, old image
          still available as 0.5)
v1.0
2021-07-04 13:36:03 +02:00
Robert Schumann
96a344f70a fix archive copy v0.5 2021-07-04 12:44:42 +02:00
Robert Schumann
aa39ace246 add screenshot to readme 2020-11-22 16:50:37 +01:00
Robert Schumann
8cdbe1bf17 fix missing MimeInfo package 2020-09-06 18:26:11 +02:00
Robert Schumann
4d5411c9bd downgrade IO::Socket::SSL due to failing tests 2020-09-06 17:41:38 +02:00
Robert Schumann
716b081f6d fix variable name in viewer 2020-09-06 14:06:43 +02:00
Robert Schumann
38804c05f6 support new imap variables from parser
* keeps compat with existing env vars

	* fixes #8
2020-09-06 13:55:09 +02:00
Merlin Beutlberger
b7d0e22eb5
Readme: Improve docker-compose sample and describe cron job schedule (#7)
* Readme: Improve docker-compose sample

- Add attributes "version" and "services" to make it a docker-compose.yml
- Add mariadb service with preconfigured user and database

Resolves https://github.com/gutmensch/docker-dmarc-report/issues/1

* Readme: Describe cron job schedule

It took me a while to figure out why nothing happened after starting the
container. This should help new users to understand that they only have
to wait for the cron job to start.
2020-04-13 16:50:30 +02:00
Robert Schumann
c120e4d3e4 bump parser and viewer master 2019-11-13 10:38:01 +01:00
Robert Schumann
fae9ae5a08
Merge pull request #6 from smpita/master
Cleanup
2019-01-04 22:05:09 +01:00
Sean Pearce
0081cc4bce Extended config, deprecated TEMPLATE_ 2019-01-04 11:40:31 -08:00
Sean Pearce
4f520985d7 Using bashisms [[ ]] and ${:-} 2019-01-04 11:24:22 -08:00
Robert Schumann
1b0c400f7a update README 2019-01-04 17:19:57 +01:00
Robert Schumann
9dad45e6c4
Merge pull request #5 from smpita/master
Expose env vars for config to PHP-FPM
2019-01-04 13:29:32 +01:00
Sean Pearce
7c1aaa97f8 Expose env vars for config to PHP-FPM 2019-01-03 19:09:22 -08:00
Robert Schumann
d6a1125678
Merge pull request #4 from smpita/master
Fixes issue #3
2019-01-03 21:34:03 +01:00
Sean Pearce
57351ad5b5 Remove in favor of directly reading env vars 2019-01-03 10:59:03 -08:00
Sean Pearce
00621c10e3 Use perl to read env vars
Extended $imapssl, $imaptls, $tlsverify to read env, with default values
2019-01-03 10:58:15 -08:00
Sean Pearce
7c6f81671b Use php to read env vars 2019-01-03 10:55:33 -08:00
Robert Schumann
19a88e14e2 update source image, fixes #2
* thanks to @smpita
2018-12-08 18:46:16 +01:00
Robert Schumann
a0fc9240ba fix process interval - busybox missing feature 2018-04-05 13:08:31 +02:00
Robert Schumann
74520b5719 fix linefeed 2018-04-04 22:16:34 +02:00
Robert Schumann
64b23ad6aa fix cron command replacement 2018-04-04 18:13:39 +02:00
Robert Schumann
647bcf4b42 enable logging to file for parsing. 2018-04-02 11:46:03 +02:00
Robert Schumann
21802d4889 fixes to cron logfile, order descending. 2018-04-01 14:51:51 +02:00
Robert Schumann
2278f45e21 fix path for templating 2018-03-31 23:16:22 +02:00
Robert Schumann
8eab31e48a Fix Dockerfile 2018-03-31 22:51:53 +02:00
Robert Schumann
913420af75 move to other root dir 2018-03-31 22:42:24 +02:00