sudo-bot / docker-dmarc-srg

A docker image for dmarc-srg
https://hub.docker.com/r/botsudo/docker-dmarc-srg
Mozilla Public License 2.0
2 stars 0 forks source link

Does not seem to be fetching mail #3

Closed jesseas closed 1 week ago

jesseas commented 5 months ago

It doesn't seem like this is automatically fetching mail. Looking around it looks like the solution is to add the command php utils/fetch_reports.php to a cron job, but it doesn't appear that is set up in the container.

If I run that command by hand within the container and refresh I see new messages so, as best I can tell, I have everything set up properly.

Am I missing something here? Thanks.

riemaeker commented 4 months ago

Same here. Setting up the cron job is trivial, but it seems like a no-brainer to add it to the Dockerfile (maybe with an environment var to specify the fetch interval).

williamdes commented 1 week ago

Indeed, this is a documentation mistake on my end Until now I have this crontab line: @hourly docker exec dmarc-src php -f utils/fetch_reports.php