26 Commits

Author SHA1 Message Date
Robert Schumann
36b5748844 fix: more environment vars for parser, fixes #52
* also update source dates
2024-02-04 23:44:22 +01:00
madman-sf
0cc77fd254
pgsql is the wrong identifier (#29)
changed pgsql to Pg identifier in dmarc-report-parser.conf
2023-01-10 22:09:47 +01:00
Robert Schumann
8981d3afbf chore(build): add github action
* update documentation

  * fix report parser option and defaults

  * fixes #28

  * fixes #31
2023-01-07 23:05:36 +01:00
Robert Schumann
aab0d17980 fix paths in entrypoint 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
19f680a865 fix latest changes to viewer and parser
* new dependency postgres and PDO

	* php8 compatible
2022-08-10 00:08:41 +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
Robert Schumann
b5271abc8a update pipeline and remove chmod for entrypoint 2021-12-10 21:46:14 +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
2021-11-21 13:23:06 +01: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)
2021-07-04 13:36:03 +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
Sean Pearce
4f520985d7 Using bashisms [[ ]] and ${:-} 2019-01-04 11:24:22 -08:00
Sean Pearce
7c1aaa97f8 Expose env vars for config to PHP-FPM 2019-01-03 19:09:22 -08: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
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
913420af75 move to other root dir 2018-03-31 22:42:24 +02:00
Robert Schumann
0edee0273f fixes to image 2018-03-31 20:22:07 +02:00
Robert Schumann
7230ee6217 Initial commit of dmarc reports image 2018-03-31 19:35:32 +02:00