You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-11-29 22:38:35 +02:00
update
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user