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:
awb99 2016-04-12 15:00:44 +02:00
parent 7ad0ed0bed
commit 884e7ab105
1 changed files with 40 additions and 0 deletions

40
docs/content/pop3.md Normal file
View 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
```