Initial commit.

This commit is contained in:
yohan 2019-07-15 11:57:04 +02:00
commit 69f56bbb7e
4 changed files with 13 additions and 0 deletions

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM debian:wheezy
MAINTAINER yohan <783b8c87@scimetis.net>
ENV DEBIAN_FRONTEND noninteractive
RUN echo "deb http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list
RUN apt-get update && apt-get -y install fetchmail
COPY fetchmailrc /etc/
ENTRYPOINT ["/usr/bin/fetchmail", "-N", "-f", "/etc/fetchmailrc", "-d", "300"]

1
build Normal file
View File

@ -0,0 +1 @@
docker build -t fetchmail .

2
fetchmailrc-example Normal file
View File

@ -0,0 +1,2 @@
poll ssl0.ovh.net with protocol IMAP
username "mail@scimetis.net" with password "XXXXXXXXXXXXXXXXX" is admin here fetchall ssl idle smtphost dovecot/24 lmtp

3
launch.sh Normal file
View File

@ -0,0 +1,3 @@
docker network create mailnet
docker run -d --network=mailnet --name fetchmail fetchmail