1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-26 09:09:23 +02:00

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
```