From 884e7ab10533007a421a83e0ce4eaaa5909e89ea Mon Sep 17 00:00:00 2001 From: awb99 Date: Tue, 12 Apr 2016 15:00:44 +0200 Subject: [PATCH] I think the main reason to have the docker-mailserer image is so that one can really quickly start an email server for a couple of user accounts without being an expert in postfix/etc. And for testing sometimes pop access could be quite important. It took me a few hours to get it running; and with this page it should make it much easier for other novices. --- docs/content/pop3.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 docs/content/pop3.md diff --git a/docs/content/pop3.md b/docs/content/pop3.md new file mode 100644 index 00000000..732b715d --- /dev/null +++ b/docs/content/pop3.md @@ -0,0 +1,40 @@ +# Pop3 Mail access + +**docker-mailserver does not think that it is good idea to use pop.** + +But is you really want to you have to add 3 lines to the docker-compose.yml : +Add the ports 110 and 995 and add environment variable ENABLE_POP : + +``` + +maildata: + image: ubuntu + volumes: + - /var/mail + command: /bin/true + +mail: + image: "tvial/docker-mailserver" + hostname: "mail" + domainname: "domain.com" + volumes_from: + - maildata + ports: + - "25:25" + - "143:143" + - "587:587" + - "993:993" + - "110:110" + - "995:995" + + volumes: + - ./spamassassin:/tmp/spamassassin/ + - ./postfix:/tmp/postfix/ + - ./opendkim/keys:/etc/opendkim/keys + - ./letsencrypt/etc:/etc/letsencrypt + environment: + - DMS_SSL=letsencrypt + - ENABLE_POP3=1 + + +```