-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmailserver.env.example
More file actions
29 lines (23 loc) · 893 Bytes
/
Copy pathmailserver.env.example
File metadata and controls
29 lines (23 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# docker-mailserver configuration (production). Copy to `mailserver.env` and edit.
# Full reference: https://docker-mailserver.github.io/docker-mailserver/latest/
# Allow the backend container (on the compose network) to submit mail.
PERMIT_DOCKER=connected-networks
# Storage layout / general
ONE_DIR=1
POSTMASTER_ADDRESS=postmaster@example.com
# TLS — for a real domain use Let's Encrypt (mount certs) or set to self-signed
# for internal-only use. The app connects with STARTTLS on 587.
SSL_TYPE=letsencrypt
TLS_LEVEL=intermediate
# DKIM / DMARC / SPF — generate DKIM keys after first boot:
# docker exec -it uploader-mailserver setup config dkim
ENABLE_OPENDKIM=1
ENABLE_OPENDMARC=1
ENABLE_POLICYD_SPF=1
# Anti-spam/virus are heavy; enable if the host has the RAM.
ENABLE_SPAMASSASSIN=0
ENABLE_CLAMAV=0
ENABLE_FAIL2BAN=1
# Submission/auth
ENABLE_SASLAUTHD=0
SPOOF_PROTECTION=1