commit 69f56bbb7e5b104b294c346ee1005ddcf3f4ff15 Author: yohan <783b8c87@scimetis.net> Date: Mon Jul 15 11:57:04 2019 +0200 Initial commit. diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6f8f29a --- /dev/null +++ b/Dockerfile @@ -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"] diff --git a/build b/build new file mode 100644 index 0000000..6651bac --- /dev/null +++ b/build @@ -0,0 +1 @@ +docker build -t fetchmail . diff --git a/fetchmailrc-example b/fetchmailrc-example new file mode 100644 index 0000000..e027846 --- /dev/null +++ b/fetchmailrc-example @@ -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 diff --git a/launch.sh b/launch.sh new file mode 100644 index 0000000..099fed4 --- /dev/null +++ b/launch.sh @@ -0,0 +1,3 @@ +docker network create mailnet +docker run -d --network=mailnet --name fetchmail fetchmail +