Palier 3: Postfix + Dovecot working! Mail test successful with swaks
This commit is contained in:
parent
a6d7c44c4a
commit
4a989bad17
7 changed files with 82 additions and 55 deletions
38
docker-compose.yml
Normal file
38
docker-compose.yml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
version: '3.9'
|
||||
|
||||
services:
|
||||
dovecot:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: dovecot/Dockerfile
|
||||
container_name: mailstack-dovecot
|
||||
ports:
|
||||
- "1143:143" # IMAP
|
||||
- "1993:993" # IMAPS
|
||||
volumes:
|
||||
- vmail:/var/mail/vhosts
|
||||
networks:
|
||||
- mailstack
|
||||
|
||||
postfix:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: postfix/Dockerfile
|
||||
container_name: mailstack-postfix
|
||||
ports:
|
||||
- "1025:25" # SMTP
|
||||
- "1587:587" # SMTP + AUTH
|
||||
- "1465:465" # SMTPS
|
||||
volumes:
|
||||
- vmail:/var/mail/vhosts
|
||||
networks:
|
||||
- mailstack
|
||||
depends_on:
|
||||
- dovecot
|
||||
|
||||
volumes:
|
||||
vmail:
|
||||
|
||||
networks:
|
||||
mailstack:
|
||||
driver: bridge
|
||||
Loading…
Add table
Add a link
Reference in a new issue