Display fetchmail errors to the user, fixes #23

This commit is contained in:
Pierre Jaury
2016-09-10 13:05:55 +02:00
parent 709869d4ba
commit 2cb4a44b5a
5 changed files with 53 additions and 18 deletions

View File

@@ -7,8 +7,4 @@ RUN apk add --update \
COPY fetchmail.py /fetchmail.py
RUN mkdir /var/spool/mail \
&& chown mail: /var/spool/mail
USER mail
CMD ["/fetchmail.py"]