gutmensch / docker-dmarc-report

244 stars 27 forks source link

Get and parse dmarc reports once at startup #22

Closed kimdre closed 2 years ago

kimdre commented 2 years ago

Run the dmarc report parser script once at startup instead of waiting for the cron schedule 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

kimdre commented 2 years ago

I just checked my changes and I made a mistake in my commit yesterday that makes my code block in entrypoint.sh unreachable because supervisord is running in foreground mode.

It should be right before the line to start supervisord. Sorry for that.