mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update
This commit is contained in:
@@ -22,9 +22,10 @@ ENV MAIL_USER admin
|
|||||||
ENV MAIL_PASS admin
|
ENV MAIL_PASS admin
|
||||||
|
|
||||||
VOLUME /var/mail
|
VOLUME /var/mail
|
||||||
EXPOSE 25
|
EXPOSE 25 110
|
||||||
|
|
||||||
CMD twistd -n mail --smtp=tcp:25 \
|
CMD twistd -n mail --smtp=tcp:25 \
|
||||||
|
--pop3=tcp:110 \
|
||||||
--maildirdbmdomain=$MAIL_NAME=$MAIL_PATH \
|
--maildirdbmdomain=$MAIL_NAME=$MAIL_PATH \
|
||||||
--user $MAIL_USER=$MAIL_PASS \
|
--user $MAIL_USER=$MAIL_PASS \
|
||||||
--bounce-to-postmaster
|
--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