mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Updated POP3 (markdown)
This commit is contained in:
parent
e8df790cfe
commit
d49c4e4ab5
18
docs/content/config/pop3.md
Normal file
18
docs/content/config/pop3.md
Normal 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
|
||||
```
|
|
@ -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
|
||||
|
||||
|
||||
```
|
Loading…
Reference in a new issue