Enable user definable fetchmail poll times (#731)

* Enable user definable fetchmail poll times
* create new ENV variable FETCHMAIL_POLL in target/start-mailserver.sh
* change --daemon setting in supervisor-app.conf to use ENV var
* Put FETCHMAIL_POLL env variable in Dockerfile to handle case where
  user does not specify it in their docker-compose.yml
This commit is contained in:
Darren McGrandle 2017-10-04 13:10:18 -07:00 committed by Johan Smits
parent a2efdab5dd
commit 5961b31e91
3 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,7 @@ ENV DEBIAN_FRONTEND noninteractive
ENV VIRUSMAILS_DELETE_DELAY=7
ENV ONE_DIR=0
ENV ENABLE_POSTGREY=0
ENV FETCHMAIL_POLL=300
ENV POSTGREY_DELAY=300
ENV POSTGREY_MAX_AGE=35
ENV POSTGREY_TEXT="Delayed by postgrey"