https://github.com/takeyamajp/docker-mail-server
Email server (Postfix, Dovecot, OpenDkim, OpenDmarc)
https://github.com/takeyamajp/docker-mail-server
dkim dmarc docker email-server spf
Last synced: 6 months ago
JSON representation
Email server (Postfix, Dovecot, OpenDkim, OpenDmarc)
- Host: GitHub
- URL: https://github.com/takeyamajp/docker-mail-server
- Owner: takeyamajp
- License: gpl-3.0
- Created: 2019-02-23T04:26:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-15T03:58:07.000Z (about 2 years ago)
- Last Synced: 2025-03-24T00:38:00.581Z (7 months ago)
- Topics: dkim, dmarc, docker, email-server, spf
- Language: Dockerfile
- Homepage:
- Size: 167 KB
- Stars: 5
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mail-server
Star this repository if it is useful for you.
[](https://hub.docker.com/r/takeyamajp/mail-server/)
[](https://hub.docker.com/r/takeyamajp/mail-server/)
[](https://github.com/takeyamajp/docker-mail-server/blob/master/LICENSE)### Supported tags and respective Dockerfile links
- [`latest`, `rocky8`](https://github.com/takeyamajp/docker-mail-server/blob/master/rocky8/Dockerfile) (Rocky Linux) [`alma8`](https://github.com/takeyamajp/docker-mail-server/blob/master/alma8/Dockerfile) (AlmaLinux)
- [`centos8`](https://github.com/takeyamajp/docker-mail-server/blob/master/centos8/Dockerfile) (We have finished support for CentOS 8.)
- [`centos7`](https://github.com/takeyamajp/docker-mail-server/blob/master/centos7/Dockerfile)### Image summary
FROM rockylinux:8
MAINTAINER "Hiroki Takeyama"
ENV TIMEZONE Asia/Tokyo
ENV HOSTNAME mail.example.com
ENV DOMAIN_NAME example.com
ENV MAILBOX_SIZE_LIMIT 0
ENV MESSAGE_SIZE_LIMIT 10240000
ENV AUTH_USER user1,user2
ENV AUTH_PASSWORD password1,password2
ENV DISABLE_SMTP_AUTH_ON_PORT_25 true
ENV BOUNCE_MESSAGE true
ENV NOTICE_RECIPIENT user1
ENV ANVIL_RATE_TIME_UNIT 60s
ENV SMTPD_CLIENT_CONNECTION_RATE_LIMIT 0
ENV ENABLE_DKIM true
ENV DKIM_KEY_LENGTH 1024
ENV DKIM_SELECTOR default
ENV ENABLE_DMARC true
# MailBox
VOLUME /mailbox
# SSL Certificates
VOLUME /ssl_certs
# DKIM Keys
VOLUME /dkim_keys
# SMTP
EXPOSE 25
# Submission
EXPOSE 587
# SMTPS
EXPOSE 465
# POP3
EXPOSE 110
# IMAP
EXPOSE 143
# POP3S
EXPOSE 995
# IMAPS
EXPOSE 993