Updated POP3 (markdown)

This commit is contained in:
Thomas VIAL 2016-04-24 17:15:04 +02:00
parent e8df790cfe
commit d49c4e4ab5
2 changed files with 18 additions and 40 deletions

View file

@ -0,0 +1,18 @@
**We do not recommend using pop. Use IMAP instead.**
If you really want to you have POP3 running, add 3 lines to the docker-compose.yml :
Add the ports 110 and 995, and add environment variable ENABLE_POP :
```
mail:
[...]
ports:
- "25:25"
- "143:143"
- "587:587"
- "993:993"
- "110:110"
- "995:995"
environment:
- ENABLE_POP3=1
```

View file

@ -1,40 +0,0 @@
# 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
```