mirror of
https://github.com/docker-mailserver/docker-mailserver
synced 2024-11-18 00:43:49 +01:00
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.
This commit is contained in:
parent
7ad0ed0bed
commit
884e7ab105
40
docs/content/pop3.md
Normal file
40
docs/content/pop3.md
Normal file
@ -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
|
||||
|
||||
|
||||
```
|
Loading…
Reference in New Issue
Block a user