mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-24 07:48:38 +00:00
update
This commit is contained in:
parent
844df42b3e
commit
07534d6e9f
@ -22,9 +22,10 @@ ENV MAIL_USER admin
|
||||
ENV MAIL_PASS admin
|
||||
|
||||
VOLUME /var/mail
|
||||
EXPOSE 25
|
||||
EXPOSE 25 110
|
||||
|
||||
CMD twistd -n mail --smtp=tcp:25 \
|
||||
--pop3=tcp:110 \
|
||||
--maildirdbmdomain=$MAIL_NAME=$MAIL_PATH \
|
||||
--user $MAIL_USER=$MAIL_PASS \
|
||||
--bounce-to-postmaster
|
||||
|
20
tmail/README.md
Normal file
20
tmail/README.md
Normal file
@ -0,0 +1,20 @@
|
||||
twistd-mail
|
||||
===========
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```
|
||||
tmail:
|
||||
image: vimagick/tmail
|
||||
ports:
|
||||
- "25:25"
|
||||
- "110:110"
|
||||
volumes:
|
||||
- mail:/var/mail
|
||||
environment:
|
||||
- MAIL_NAME=domain.org
|
||||
- MAIL_PATH=/var/mail
|
||||
- MAIL_USER=user
|
||||
- MAIL_PASS=pass
|
||||
restart: always
|
||||
```
|
Loading…
Reference in New Issue
Block a user